feat: automate SSH config ('known_hosts', 'authorized_keys' ...)

This commit is contained in:
2026-01-17 17:37:37 +01:00
parent 33b022c659
commit 8464884fdb
15 changed files with 143 additions and 9 deletions

View File

@@ -50,6 +50,7 @@
nvim,
}@inputs:
let
inherit (self) outputs;
lib = inputs.nixpkgs.lib;
utils = import ./utils { inherit lib; };
hostDirNames = utils.dirNames ./hosts;
@@ -67,14 +68,18 @@
host:
nixpkgs.lib.nixosSystem {
modules = [ ./hosts/${host} ];
specialArgs = { inherit inputs; };
specialArgs = {
inherit inputs outputs;
};
}
);
homeConfigurations = {
work = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [ ./home/hosts/work ];
extraSpecialArgs = { inherit inputs; };
extraSpecialArgs = {
inherit inputs outputs;
};
};
};
};