Move more things over, modify Kitty

This commit is contained in:
Bun 2025-03-21 19:47:53 -04:00
parent 7bf6ea4acd
commit 5a56c5ac60
8 changed files with 19 additions and 26 deletions

View file

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

View file

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

View file

@ -23,7 +23,6 @@
system = { system = {
desktop.enable = true; desktop.enable = true;
lanzaboote.enable = true;
stateVersion = "24.11"; stateVersion = "24.11";
}; };
} }

View file

@ -21,13 +21,8 @@
mountOptions = [ "umask=0077" ]; mountOptions = [ "umask=0077" ];
}; };
}; };
luks = { main = {
size = "100%"; size = "100%";
content = {
type = "luks";
name = "${config.networking.hostName}-disk";
settings.allowDiscards = true;
passwordFile = "/tmp/secret.key";
content = { content = {
type = "lvm_pv"; type = "lvm_pv";
vg = "${config.networking.hostName}"; vg = "${config.networking.hostName}";
@ -37,7 +32,6 @@
}; };
}; };
}; };
};
lvm_vg = { lvm_vg = {
"${config.networking.hostName}" = { "${config.networking.hostName}" = {
@ -68,8 +62,8 @@
mountOptions = [ "compress=zstd" "noatime" "ssd" ]; mountOptions = [ "compress=zstd" "noatime" "ssd" ];
}; };
"/persist/.snapshots" = { }; "/persist/.snapshots" = { };
"/persist/home/${config.sysusers.main}" = { }; "/persist/home" = { };
"/persist/home/${config.sysusers.main}/.snapshots" = { }; "/persist/home/.snapshots" = { };
}; };
}; };
}; };

View file

@ -1,4 +1,4 @@
{ ... }: { pkgs, ... }:
{ {
users.users."corn" = { users.users."corn" = {
isNormalUser = true; isNormalUser = true;

View file

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

View file

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

View file

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