1
Fork 0

last cope

This commit is contained in:
caem 2025-01-20 00:29:00 +01:00
parent 5f982c7047
commit eec8246df8
Signed by: caem
GPG key ID: 69A830D03203405F
2 changed files with 8 additions and 6 deletions

View file

@ -1,4 +1,4 @@
{ inputs, lib, ... }: { ... }:
{ {
programs.gnupg.agent = { programs.gnupg.agent = {
@ -30,8 +30,5 @@
mutableUsers = false; mutableUsers = false;
}; };
sops = { sops.age.keyFile = "/nix/config/keys.txt";
defaultSopsFile = lib.mkFirst inputs.secrets.path;
age.keyFile = "/nix/config/keys.txt";
};
} }

View file

@ -1,6 +1,11 @@
{ config, pkgs, ... }: { config, pkgs, inputs, ... }:
{ {
sops.secrets.upasswd = {
neededForUsers = true;
sopsFile = inputs.secrets.paths.upasswd;
};
users.users.caem = { users.users.caem = {
isNormalUser = true; isNormalUser = true;
shell = pkgs.zsh; shell = pkgs.zsh;