diff options
author | Tim Keller <tjkeller.xyz> | 2025-05-05 13:25:38 -0500 |
---|---|---|
committer | Tim Keller <tjkeller.xyz> | 2025-05-05 13:25:38 -0500 |
commit | 1969493257f4644c3b105b3fc2c82a445a2ae664 (patch) | |
tree | fa14e1d54a47b45895a232cec1ae6641af717a05 /modules/root | |
parent | f59d51611cbe61ff492bd836cea29a7aa33a294c (diff) | |
download | nixos-1969493257f4644c3b105b3fc2c82a445a2ae664.tar.xz nixos-1969493257f4644c3b105b3fc2c82a445a2ae664.zip |
use xdg-userdirs functionality
Diffstat (limited to 'modules/root')
-rw-r--r-- | modules/root/normaluser.nix | 2 | ||||
-rw-r--r-- | modules/root/secrets.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/root/normaluser.nix b/modules/root/normaluser.nix index b4be0cc..88eb338 100644 --- a/modules/root/normaluser.nix +++ b/modules/root/normaluser.nix @@ -4,7 +4,7 @@ }; users.users.${userDetails.username} = { description = userDetails.fullname; - #home = userDetails.home.root; + #home = userDetails.home; isNormalUser = true; hashedPasswordFile = config.sops.secrets.hashed-root-password.path; extraGroups = [ diff --git a/modules/root/secrets.nix b/modules/root/secrets.nix index 47262fd..045e3f4 100644 --- a/modules/root/secrets.nix +++ b/modules/root/secrets.nix @@ -4,7 +4,7 @@ sops = { defaultSopsFile = ./resources/secrets/secrets.yaml; defaultSopsFormat = "yaml"; - age.keyFile = "${userDetails.home.root}/.config/sops/age/keys.txt"; + age.keyFile = "${userDetails.home}/.config/sops/age/keys.txt"; secrets = { wpa_supplicant-conf = { }; |