yahoo
This commit is contained in:
11
nixos/core/system/cnix-nh.nix
Normal file
11
nixos/core/system/cnix-nh.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
environment.variables.FLAKE = "/home/cnst/.nix-config";
|
||||
programs = {
|
||||
nh = {
|
||||
enable = true;
|
||||
clean.enable = true;
|
||||
clean.extraArgs = "--keep-since 4d --keep 3";
|
||||
flake = "/home/cnst/.nix-config";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -6,7 +6,6 @@
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./nh.nix
|
||||
./substituters.nix
|
||||
./nixpkgs.nix
|
||||
];
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
let
|
||||
homeDir = builtins.getEnv "HOME";
|
||||
in {
|
||||
environment.variables.FLAKE = "${homeDir}/.nix-config";
|
||||
programs = {
|
||||
nh = {
|
||||
enable = true;
|
||||
clean.enable = true;
|
||||
clean.extraArgs = "--keep-since 4d --keep 3";
|
||||
flake = "${homeDir}/.nix-config";
|
||||
};
|
||||
};
|
||||
}
|
||||
11
nixos/core/system/toothpc-nh.nix
Normal file
11
nixos/core/system/toothpc-nh.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
environment.variables.FLAKE = "/home/toothpick/.nix-config";
|
||||
programs = {
|
||||
nh = {
|
||||
enable = true;
|
||||
clean.enable = true;
|
||||
clean.extraArgs = "--keep-since 4d --keep 3";
|
||||
flake = "/home/toothpick/.nix-config";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user