diff options
Diffstat (limited to 'system/prefect.nix')
-rw-r--r-- | system/prefect.nix | 35 |
1 files changed, 23 insertions, 12 deletions
diff --git a/system/prefect.nix b/system/prefect.nix index b4eb6f34..8c80ff6f 100644 --- a/system/prefect.nix +++ b/system/prefect.nix @@ -1,6 +1,12 @@ -{ config, pkgs, nixpkgs, nixpkgs-unstable, nixos-hardware, ... }: - -{ imports = [ +{ + config, + pkgs, + nixpkgs, + nixpkgs-unstable, + nixos-hardware, + ... +}: { + imports = [ (nixos-hardware + "/common/pc/ssd") (nixos-hardware + "/common/cpu/amd") @@ -56,15 +62,15 @@ zenpower ]; - boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; + boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "sd_mod"]; + boot.initrd.kernelModules = []; + boot.kernelModules = ["kvm-amd"]; fileSystems = { "/" = { device = "/dev/disk/by-partlabel/nixos-root"; fsType = "f2fs"; - options = [ "atgc" "gc_merge" "lazytime" "nodiscard" ]; + options = ["atgc" "gc_merge" "lazytime" "nodiscard"]; }; "/boot" = { @@ -75,29 +81,34 @@ "/home" = { device = "/dev/disk/by-partlabel/home"; fsType = "ext4"; - options = [ "lazytime" "nodiscard" ]; + options = ["lazytime" "nodiscard"]; }; "/mnt/data" = { device = "/dev/disk/by-partlabel/data"; fsType = "ntfs3"; - options = [ "uid=1000" "gid=100" "x-systemd-automount" "nofail" ]; + options = ["uid=1000" "gid=100" "x-systemd-automount" "nofail"]; }; "/mnt/games" = { device = "/dev/disk/by-partlabel/games"; fsType = "ntfs3"; - options = [ "uid=1000" "gid=100" "x-systemd-automount" "nofail" ]; + options = ["uid=1000" "gid=100" "x-systemd-automount" "nofail"]; }; "/mnt/windows" = { device = "/dev/disk/by-partlabel/windows"; fsType = "ntfs3"; - options = [ "x-systemd-automount" "nofail" ]; + options = ["x-systemd-automount" "nofail"]; }; }; - swapDevices = [ { label = "swap"; discardPolicy = "once"; } ]; + swapDevices = [ + { + label = "swap"; + discardPolicy = "once"; + } + ]; services.xserver = { xautolock.enable = pkgs.lib.mkForce false; |