Add changes made since installation

This commit is contained in:
caem 2025-01-26 23:54:54 +01:00
parent b26fd20ead
commit 7e8b57b1a9
Signed by: caem
GPG key ID: 69A830D03203405F
13 changed files with 142 additions and 25 deletions

View file

@ -33,9 +33,19 @@
sops.age.keyFile = "/nix/config/keys.txt";
environment.persistence."/nix/persist" = {
users."${username}".directories = [
".ssh"
".local/share/gnupg"
files = [
"/root/.ssh/known_hosts"
];
users."${username}".directories = let
baseAttrs = {
user = "${username}";
group = "users";
mode = "u=rwx,g=,o=";
};
in [
(baseAttrs // { directory = ".ssh"; })
(baseAttrs // { directory = ".local/share/gnupg"; })
(baseAttrs // { directory = ".local/share/keyrings"; })
];
};
}

View file

@ -55,6 +55,9 @@
# of having them set imperatively and simply persisted.
".config/forge"
];
files = [
".config/monitors.xml"
];
};
};
}

View file

@ -32,10 +32,10 @@
nix = {
settings = {
substituters = [
"https://cuda-maintainers.cachix.org"
"https://nix-community.cachix.org"
];
trusted-public-keys = [
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
};

View file

@ -6,7 +6,7 @@
firefox-esr
];
environment.persistence."/nix/config" = {
environment.persistence."/nix/persist" = {
users."${username}".directories = [
".config/mozilla"
];