Convert nix-dev to flake config.

This commit is contained in:
2023-11-26 07:48:58 +00:00
parent 15c8a3fbb0
commit db1f6baaf7
7 changed files with 66 additions and 1 deletions

View File

@@ -29,6 +29,7 @@
c1 = mkNixos [ ./hosts/c1 ];
c2 = mkNixos [ ./hosts/c2 ];
c3 = mkNixos [ ./hosts/c3 ];
nix-dev = mkNixos [ ./hosts/nix-dev ];
};
deploy = {
@@ -54,6 +55,13 @@
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.c3;
};
};
nix-dev = {
hostname = "nix-dev";
profiles.system = {
user = "root";
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.nix-dev;
};
};
};
};