mirror of
https://git.adityakumar.xyz/nix-conf.git
synced 2024-11-09 23:49:43 +00:00
add virtualisation
This commit is contained in:
parent
5ce764b429
commit
28847f1d2a
3 changed files with 13 additions and 7 deletions
|
@ -122,13 +122,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
virtualisation.libvirtd.enable = true;
|
||||
virtualisation.waydroid.enable = true;
|
||||
virtualisation.docker.enable = true;
|
||||
virtualisation.lxc.enable = true;
|
||||
virtualisation.lxc.lxcfs.enable = true;
|
||||
virtualisation.incus.enable = true;
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config = {
|
||||
allowUnfree = true;
|
||||
|
|
|
@ -10,5 +10,6 @@
|
|||
./locale
|
||||
./networking
|
||||
./sound
|
||||
./virtualisation
|
||||
];
|
||||
}
|
||||
|
|
12
modules/nixos/virtualisation/default.nix
Normal file
12
modules/nixos/virtualisation/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
_: {
|
||||
virtualisation = {
|
||||
docker.enable = true;
|
||||
incus.enable = true;
|
||||
libvirtd.enable = true;
|
||||
lxc = {
|
||||
enable = true;
|
||||
lxcfs.enable = true;
|
||||
};
|
||||
waydroid.enable = true;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue