refact(config) : separate in modules
This commit is contained in:
parent
fa08ab4c82
commit
f2a88c1b06
11 changed files with 382 additions and 230 deletions
22
modules/local-dev.nix
Normal file
22
modules/local-dev.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Local developpement
|
||||
{ lib, pkgs, ... }:
|
||||
{
|
||||
virtualisation = {
|
||||
docker.enable = true;
|
||||
docker.rootless = {
|
||||
enable = true;
|
||||
setSocketVariable = true;
|
||||
};
|
||||
libvirtd.enable = true;
|
||||
lxd.enable = true;
|
||||
};
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
(import (fetchTarball https://github.com/cachix/devenv/archive/v0.6.2.tar.gz)).default
|
||||
direnv
|
||||
virt-manager
|
||||
zola
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue