mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2024-11-22 11:17:56 +01:00
Enable nh from nixpkgs
This commit is contained in:
parent
fbbd7dd021
commit
3b6dd1f5f8
3 changed files with 12 additions and 6 deletions
|
@ -22,10 +22,6 @@
|
||||||
url = "github:nix-community/home-manager/master";
|
url = "github:nix-community/home-manager/master";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
nh = {
|
|
||||||
url = "github:viperML/nh";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
sops-nix = {
|
sops-nix = {
|
||||||
url = "github:Mic92/sops-nix";
|
url = "github:Mic92/sops-nix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
@ -99,7 +95,7 @@
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
# nur.nixosModules.nur
|
# nur.nixosModules.nur
|
||||||
inputs.nh.nixosModules.default
|
# inputs.nh.nixosModules.default
|
||||||
./hosts/laptop/configuration.nix
|
./hosts/laptop/configuration.nix
|
||||||
./hosts/laptop/hardware-configuration.nix
|
./hosts/laptop/hardware-configuration.nix
|
||||||
./hosts/laptop/mounts.nix
|
./hosts/laptop/mounts.nix
|
||||||
|
@ -128,7 +124,7 @@
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
({ config, pkgs, ... }: { nixpkgs.overlays = my-overlays; })
|
({ config, pkgs, ... }: { nixpkgs.overlays = my-overlays; })
|
||||||
inputs.nh.nixosModules.default
|
# inputs.nh.nixosModules.default
|
||||||
./hosts/vps1/configuration.nix
|
./hosts/vps1/configuration.nix
|
||||||
./hosts/vps1/hardware-configuration.nix
|
./hosts/vps1/hardware-configuration.nix
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
|
|
|
@ -229,6 +229,12 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.nh = {
|
||||||
|
enable = true;
|
||||||
|
clean.enable = true;
|
||||||
|
clean.extraArgs = "--keep-since 7d --keep 2";
|
||||||
|
};
|
||||||
|
|
||||||
# KDE Programs
|
# KDE Programs
|
||||||
|
|
||||||
# Currently installs plasma5 variant, disabled as module, enabled manually instead
|
# Currently installs plasma5 variant, disabled as module, enabled manually instead
|
||||||
|
|
|
@ -126,6 +126,10 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.nh = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
programs.mosh.enable = true;
|
programs.mosh.enable = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue