diff --git a/flake.nix b/flake.nix index b198e6a..110994e 100644 --- a/flake.nix +++ b/flake.nix @@ -22,10 +22,6 @@ url = "github:nix-community/home-manager/master"; inputs.nixpkgs.follows = "nixpkgs"; }; - nh = { - url = "github:viperML/nh"; - inputs.nixpkgs.follows = "nixpkgs"; - }; sops-nix = { url = "github:Mic92/sops-nix"; inputs.nixpkgs.follows = "nixpkgs"; @@ -99,7 +95,7 @@ ]; } # nur.nixosModules.nur - inputs.nh.nixosModules.default + # inputs.nh.nixosModules.default ./hosts/laptop/configuration.nix ./hosts/laptop/hardware-configuration.nix ./hosts/laptop/mounts.nix @@ -128,7 +124,7 @@ }; modules = [ ({ config, pkgs, ... }: { nixpkgs.overlays = my-overlays; }) - inputs.nh.nixosModules.default + # inputs.nh.nixosModules.default ./hosts/vps1/configuration.nix ./hosts/vps1/hardware-configuration.nix sops-nix.nixosModules.sops diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index 3c91875..6fa9818 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -228,6 +228,12 @@ in programs.fish = { enable = true; }; + + programs.nh = { + enable = true; + clean.enable = true; + clean.extraArgs = "--keep-since 7d --keep 2"; + }; # KDE Programs diff --git a/hosts/vps1/configuration.nix b/hosts/vps1/configuration.nix index 571b585..2fc0d9e 100644 --- a/hosts/vps1/configuration.nix +++ b/hosts/vps1/configuration.nix @@ -126,6 +126,10 @@ in }; }; + programs.nh = { + enable = true; + }; + programs.mosh.enable = true;