Browse Source

fix escret perms

canon
Hazel Levine 2 months ago
parent
commit
6b2a021aa0
  1. 2
      flake.nix
  2. 2
      modules/agenix.nix

2
flake.nix

@ -87,7 +87,7 @@
users.users.lemniscation = {
isNormalUser = true;
uid = 1001;
shell = (import nixpkgs {}).bash;
shell = nixpkgs.legacyPackages.x86_64-linux.bash;
};
home-manager.users.lemniscation = { pkgs, ... }: {

2
modules/agenix.nix

@ -14,7 +14,7 @@ with lib;
secrets =
mapAttrs' (n: _: nameValuePair (removeSuffix ".age" n) {
file = ./. + "${secretsDir}/${n}";
owner = "hazel";
mode = "0444";
}) (import (./. + secretsFile));
sshKeyPaths = options.age.sshKeyPaths.default ++ (filter pathExists [
/home/hazel/.ssh/id_ed25519 # XXX: requires --impure!

Loading…
Cancel
Save