config-manager: Move installation of nh to module

And add `system` option that is required to pick the correct package
from `nh`
This commit is contained in:
Alexander Heldt committed 2023-10-23 21:56:31 +02:00
1 parent c2b051ad31
commit 11cb33039b
5 files changed
+38 -12

No files matched your search

+4 -2
View File
@@ -66,13 +66,15 @@
environment.systemPackages = with pkgs; [
inputs.agenix.packages."${system}".default
inputs.nh.packages."${system}".default
coreutils
gnumake
bash
];
config-manager.flakePath = "/home/alex/config";
config-manager = {
flakePath = "/home/alex/config";
system=system;
};
mod = {
nix-index.enable = true;