diff options
| -rw-r--r-- | flake.nix | 8 | ||||
| -rw-r--r-- | sys/default.nix | 1 | ||||
| -rw-r--r-- | sys/hv/default.nix | 5 |
3 files changed, 13 insertions, 1 deletions
@@ -11,10 +11,15 @@ nur.url = "github:nix-community/NUR"; impermanence.url = "github:nix-community/impermanence"; hm-isolation.url = "/home/ale/hm-isolation"; + + nixvirt = { + url = "/home/ale/NixVirt"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = - { self, nixpkgs, unstable, home-manager, nur, impermanence, hm-isolation, ... }: + { self, nixpkgs, unstable, home-manager, nur, impermanence, hm-isolation, nixvirt, ... }: let system = "x86_64-linux"; @@ -56,6 +61,7 @@ host nixpkgs.nixosModules.notDetected impermanence.nixosModule + nixvirt.nixosModules.default ]; }; in diff --git a/sys/default.nix b/sys/default.nix index bcba7c3..38a9e06 100644 --- a/sys/default.nix +++ b/sys/default.nix @@ -5,6 +5,7 @@ with lib; { ./auth.nix ./boot.nix ./fs + ./hv ./net.nix ./nspawn.nix ./options.nix diff --git a/sys/hv/default.nix b/sys/hv/default.nix new file mode 100644 index 0000000..9c52f42 --- /dev/null +++ b/sys/hv/default.nix @@ -0,0 +1,5 @@ +{ + virtualisation.libvirt = { + enable = true; + }; +} |
