Move snapshot dir, add corn to Kitty

This commit is contained in:
Bun 2025-03-21 17:30:50 -04:00
parent 90a0363d89
commit 044b240b66
9 changed files with 27 additions and 9 deletions

View file

@ -0,0 +1,15 @@
{ ... }:
{
users.users."corn" = {
isNormalUser = true;
createHome = true;
openssh.authorizedKeys.keys = [
"AAAAC3NzaC1lZDI1NTE5AAAAIKaZsnlyUJDNx2oK4iHsUDb+Ok4vg1jNYEAnoHsjjM2c Chinook"
"AAAAC3NzaC1lZDI1NTE5AAAAICtoHVAmq8Ps7EguBsV3VY4snagzkhH6aXqwbKzuGs2H Radiant"
];
uid = 1001;
shell = pkgs.zsh;
};
environment.persistence."/persist".directories = [ "/home/corn" ];
}

View file

@ -1,4 +1,7 @@
{ ... }:
{
imports = [ ./main ];
imports = [
./main
./corn
];
}

View file

@ -68,8 +68,8 @@
mountOptions = [ "compress=zstd" "noatime" "ssd" ];
};
"/persist/.snapshots" = { };
"/persist/home/${config.sysusers.main}" = { };
"/persist/home/${config.sysusers.main}/.snapshots" = { };
"/persist/home" = { };
"/persist/home/.snapshots" = { };
};
};
};