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:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user