This commit is contained in:
2025-12-31 14:23:50 +01:00
parent ca00fb7d27
commit 846dcdc0e7
3 changed files with 6 additions and 3 deletions

View File

@@ -45,7 +45,7 @@
inherit lib;
nixosModules = import ./modules/nixos;
#homeManagerModules = import ./modules/home-manager;
homeManagerModules = import ./modules/home-manager;
overlays = import ./overlays {inherit inputs outputs;};
hydraJobs = import ./hydra.nix {inherit inputs outputs;};

View File

@@ -1,13 +1,13 @@
{
inputs,
outputs,
config,
...
}: let
isEd25519 = k: k.type == "ed25519";
getKeyPath = k: k.path;
keys = builtins.filter isEd25519 config.services.openssh.hostKeys;
in {
imports = [inputs.sop-nix.nixosModules.sops];
imports = [inputs.sops-nix.nixosModules.sops];
sops = {
age.sshKeyPaths = map getKeyPath keys;

View File

@@ -0,0 +1,3 @@
{
}