Init impermanence

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2026-08-13 20:03:07 +02:00
parent b0a3843bcc
commit ac0a706f1c
32 changed files with 254 additions and 481 deletions
+19 -3
View File
@@ -42,14 +42,30 @@
../../home/system/hypridle
./variables.nix # Mostly user-specific configuration
./secrets # CHANGEME: You should probably remove this line, this is where I store my secrets
];
home = {
inherit (config.var) username;
homeDirectory = "/home/" + config.var.username;
file.".face" = {
source = ./profile_picture.png;
persistence."/persist" = {
directories = [
".config/nixos" # this repo itself (nixy manages it here)
".local/share"
".local/state"
".cache"
"Notes"
"Projects"
"Documents"
"Downloads"
"Pictures"
"Videos"
];
files = [
".ssh/known_hosts"
".config/sops-nix/age/keys.txt"
];
};
sessionVariables = {