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
2023-10-22 14:03:02 +02:00
parent c2b051ad31
commit 11cb33039b
5 changed files with 38 additions and 12 deletions

View File

@@ -370,7 +370,10 @@
restic
];
config-manager.flakePath = "/home/alex/config";
config-manager = {
flakePath = "/home/alex/config";
system = "aarch64-linux";
};
# Copy the NixOS configuration file and link it from the resulting system
# (/run/current-system/configuration.nix). This is useful in case you