diff options
Diffstat (limited to 'hosts/pc')
-rw-r--r-- | hosts/pc/cfg.nix | 62 |
1 files changed, 33 insertions, 29 deletions
diff --git a/hosts/pc/cfg.nix b/hosts/pc/cfg.nix index 10267b5..aaf624c 100644 --- a/hosts/pc/cfg.nix +++ b/hosts/pc/cfg.nix @@ -1,4 +1,9 @@ -{config, lib, pkgs, ...}: { +{ + config, + lib, + pkgs, + ... +}: { imports = [ ../../profiles/core.nix ../../profiles/user.nix @@ -21,13 +26,12 @@ }; networking.hostName = "pc"; - boot = { initrd = { supportedFilesystems = ["btrfs"]; - availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" ]; + availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid"]; }; - kernelModules = [ "kvm-amd" ]; + kernelModules = ["kvm-amd"]; kernelPackages = lib.mkDefault pkgs.linuxPackages_latest; kernelParams = [ "console=ttyS0" @@ -52,33 +56,33 @@ time.timeZone = lib.mkDefault "Israel"; fileSystems = { - "/" = - { device = "/dev/disk/by-uuid/3fe7d38b-bb95-41ca-afce-1b0b89cbcd8b"; - fsType = "btrfs"; - options = [ "subvol=root" ]; - }; + "/" = { + device = "/dev/disk/by-uuid/3fe7d38b-bb95-41ca-afce-1b0b89cbcd8b"; + fsType = "btrfs"; + options = ["subvol=root"]; + }; - "/nix" = - { device = "/dev/disk/by-uuid/3fe7d38b-bb95-41ca-afce-1b0b89cbcd8b"; - fsType = "btrfs"; - options = [ "subvol=nix" ]; - }; + "/nix" = { + device = "/dev/disk/by-uuid/3fe7d38b-bb95-41ca-afce-1b0b89cbcd8b"; + fsType = "btrfs"; + options = ["subvol=nix"]; + }; - "/home" = - { device = "/dev/disk/by-uuid/3fe7d38b-bb95-41ca-afce-1b0b89cbcd8b"; - fsType = "btrfs"; - options = [ "subvol=home" ]; - }; + "/home" = { + device = "/dev/disk/by-uuid/3fe7d38b-bb95-41ca-afce-1b0b89cbcd8b"; + fsType = "btrfs"; + options = ["subvol=home"]; + }; - "/swap" = - { device = "/dev/disk/by-uuid/3fe7d38b-bb95-41ca-afce-1b0b89cbcd8b"; - fsType = "btrfs"; - options = [ "subvol=swap" ]; - }; - "/boot" = - { device = "/dev/disk/by-uuid/D999-2D99"; - fsType = "vfat"; - }; + "/swap" = { + device = "/dev/disk/by-uuid/3fe7d38b-bb95-41ca-afce-1b0b89cbcd8b"; + fsType = "btrfs"; + options = ["subvol=swap"]; + }; + "/boot" = { + device = "/dev/disk/by-uuid/D999-2D99"; + fsType = "vfat"; + }; }; zramSwap = { @@ -90,4 +94,4 @@ hardware.video.hidpi.enable = lib.mkDefault true; # greeter.initialSession = "sh -c hyprland"; }; -} \ No newline at end of file +} |