summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix22
1 files changed, 14 insertions, 8 deletions
diff --git a/flake.nix b/flake.nix
index c4bb3b4..e9d620d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -13,8 +13,13 @@
hm-isolation.url = "/home/ale/hm-isolation";
nixvirt = {
- url = "/home/ale/NixVirt";
- inputs.nixpkgs.follows = "nixpkgs";
+ url = "github:AshleyYakeley/NixVirt";
+ inputs = {
+ nixpkgs.follows = "nixpkgs";
+
+ #FIXME: Por qué existe esto?
+ nixpkgs-ovmf.follows = "nixpkgs";
+ };
};
};
@@ -57,7 +62,6 @@
inherit pkgs system;
modules = modules ++ [
nixpkgs.nixosModules.notDetected
- impermanence.nixosModule
];
specialArgs = {
@@ -78,16 +82,18 @@
dmz = nixosSystem {
modules = [ ./dmz ];
};
+
+ hv = nixosSystem {
+ modules = [ ./hv ];
+ };
};
homeConfigurations =
let
registry = { ... }: {
- config.nix.registry = {
- "nixpkgs".flake = nixpkgs;
- "unstable".flake = unstable;
- "nur".flake = nur;
- };
+ config.nix.registry = mapAttrs (_: value: {
+ flake = value;
+ }) flakes;
};
home = platform: home-manager.lib.homeManagerConfiguration {