fix: NixOS | misc cleanup

This commit is contained in:
2025-02-08 14:35:45 +05:00
parent ee9fae50c6
commit ed006f8ede
3 changed files with 9 additions and 12 deletions

View File

@@ -209,7 +209,6 @@ in {
"/var/lib/nixos"
"/var/lib/sbctl"
"/var/lib/systemd/coredump"
"/var/lib/sbctl"
"/etc/NetworkManager/system-connections"
];
files = [
@@ -221,12 +220,10 @@ in {
"nix-config"
"nix-secrets"
".config"
".local/share"
".1Password"
".steam"
{ directory = ".ssh"; mode = "0700"; }
{ directory = ".steam"; mode = "0700"; }
{ directory = ".local/share/Steam"; mode = "0700"; }
{ directory = ".local/share/nvim"; mode = "0700"; }
{ directory = ".local/share/direnv"; mode = "0700"; }
{ directory = ".1Password"; mode = "0700"; }
];
};
};

View File

@@ -74,10 +74,10 @@
"noatime"
];
};
"/persistant" = {
mountpoint = "/persistant";
"/persistent" = {
mountpoint = "/persistent";
mountOptions = [
"subvol=persistant"
"subvol=persistent"
"compress=zstd"
"noatime"
];

View File

@@ -9,7 +9,7 @@
}: {
imports = [(modulesPath + "/installer/scan/not-detected.nix")];
fileSystems."/persistant".neededForBoot = true;
fileSystems."/persistent".neededForBoot = true;
boot = {
initrd = {
availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "thunderbolt" "usb_storage" "sd_mod"];