Add changes made since installation
This commit is contained in:
parent
b26fd20ead
commit
7e8b57b1a9
13 changed files with 142 additions and 25 deletions
|
@ -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"; })
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -55,6 +55,9 @@
|
|||
# of having them set imperatively and simply persisted.
|
||||
".config/forge"
|
||||
];
|
||||
files = [
|
||||
".config/monitors.xml"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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="
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
firefox-esr
|
||||
];
|
||||
|
||||
environment.persistence."/nix/config" = {
|
||||
environment.persistence."/nix/persist" = {
|
||||
users."${username}".directories = [
|
||||
".config/mozilla"
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue