move nh.nix to module
This commit is contained in:
parent
7173c22a62
commit
7deeaa409b
4 changed files with 11 additions and 12 deletions
|
|
@ -9,7 +9,6 @@
|
|||
./gui.nix
|
||||
./users
|
||||
./kvm.nix
|
||||
./nh.nix
|
||||
./steam.nix
|
||||
|
||||
# Include the hardware related config
|
||||
|
|
|
|||
|
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
...
|
||||
}:
|
||||
{
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
clean.enable = true;
|
||||
clean.extraArgs = "--keep-since 4d --keep 3";
|
||||
flake = ./..;
|
||||
};
|
||||
}
|
||||
|
|
@ -19,6 +19,7 @@
|
|||
./sops.nix
|
||||
./dae
|
||||
./openssh.nix
|
||||
./nh.nix
|
||||
];
|
||||
|
||||
config = {
|
||||
|
|
|
|||
10
nixos/modules/nh.nix
Normal file
10
nixos/modules/nh.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ ... }:
|
||||
{
|
||||
config = {
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
clean.enable = true;
|
||||
clean.extraArgs = "--keep-since 4d --keep 3";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue