Refactor the whole configuration #1

Merged
caem merged 354 commits from refactor into master 2025-02-01 14:05:16 +01:00
3 changed files with 17 additions and 1 deletions
Showing only changes of commit 854844e039 - Show all commits

View file

@ -0,0 +1,8 @@
{ config, ... }:
{
programs.gpg = {
enable = true;
homedir = "${config.xdg.dataHome}";
};
}

View file

@ -1,4 +1,4 @@
{ ... }:
{ username, config, ... }:
{
programs.gnupg.agent = {
@ -31,4 +31,11 @@
};
sops.age.keyFile = "/nix/config/keys.txt";
environment.persistence."/nix/persist" = {
users."${username}".directories = [
".ssh"
"${config.xdg.dataHome}/gnupg"
];
};
}

View file

@ -16,6 +16,7 @@
"videos"
"programming"
".ssh"
".local/gnupg"
];
};
};