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" ];
};
"/persist/.snapshots" = { };
"/persist/home/${config.sysusers.main}" = { };
"/persist/home/${config.sysusers.main}/.snapshots" = { };
"/persist/home" = { };
"/persist/home/.snapshots" = { };
};
};
};

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" = { };
};
};
};

View file

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

View file

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

View file

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

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" = { };
};
};
};

View file

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

View file

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