fix: NixOS | misc cleanup
This commit is contained in:
@@ -209,7 +209,6 @@ in {
|
|||||||
"/var/lib/nixos"
|
"/var/lib/nixos"
|
||||||
"/var/lib/sbctl"
|
"/var/lib/sbctl"
|
||||||
"/var/lib/systemd/coredump"
|
"/var/lib/systemd/coredump"
|
||||||
"/var/lib/sbctl"
|
|
||||||
"/etc/NetworkManager/system-connections"
|
"/etc/NetworkManager/system-connections"
|
||||||
];
|
];
|
||||||
files = [
|
files = [
|
||||||
@@ -221,12 +220,10 @@ in {
|
|||||||
"nix-config"
|
"nix-config"
|
||||||
"nix-secrets"
|
"nix-secrets"
|
||||||
".config"
|
".config"
|
||||||
|
".local/share"
|
||||||
|
".1Password"
|
||||||
|
".steam"
|
||||||
{ directory = ".ssh"; mode = "0700"; }
|
{ 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"
|
"noatime"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
"/persistant" = {
|
"/persistent" = {
|
||||||
mountpoint = "/persistant";
|
mountpoint = "/persistent";
|
||||||
mountOptions = [
|
mountOptions = [
|
||||||
"subvol=persistant"
|
"subvol=persistent"
|
||||||
"compress=zstd"
|
"compress=zstd"
|
||||||
"noatime"
|
"noatime"
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
}: {
|
}: {
|
||||||
imports = [(modulesPath + "/installer/scan/not-detected.nix")];
|
imports = [(modulesPath + "/installer/scan/not-detected.nix")];
|
||||||
|
|
||||||
fileSystems."/persistant".neededForBoot = true;
|
fileSystems."/persistent".neededForBoot = true;
|
||||||
boot = {
|
boot = {
|
||||||
initrd = {
|
initrd = {
|
||||||
availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "thunderbolt" "usb_storage" "sd_mod"];
|
availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "thunderbolt" "usb_storage" "sd_mod"];
|
||||||
|
|||||||
Reference in New Issue
Block a user