fix: NixOS | misc cleanup
This commit is contained in:
@@ -209,7 +209,6 @@ in {
|
||||
"/var/lib/nixos"
|
||||
"/var/lib/sbctl"
|
||||
"/var/lib/systemd/coredump"
|
||||
"/var/lib/sbctl"
|
||||
"/etc/NetworkManager/system-connections"
|
||||
];
|
||||
files = [
|
||||
@@ -218,15 +217,13 @@ in {
|
||||
users.shahab = {
|
||||
directories = [
|
||||
"Downloads"
|
||||
"nix-config"
|
||||
"nix-secrets"
|
||||
"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"; }
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -74,10 +74,10 @@
|
||||
"noatime"
|
||||
];
|
||||
};
|
||||
"/persistant" = {
|
||||
mountpoint = "/persistant";
|
||||
"/persistent" = {
|
||||
mountpoint = "/persistent";
|
||||
mountOptions = [
|
||||
"subvol=persistant"
|
||||
"subvol=persistent"
|
||||
"compress=zstd"
|
||||
"noatime"
|
||||
];
|
||||
|
||||
@@ -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"];
|
||||
|
||||
Reference in New Issue
Block a user