summaryrefslogtreecommitdiff
path: root/hosts/desktop/hardware-configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/desktop/hardware-configuration.nix')
-rw-r--r--hosts/desktop/hardware-configuration.nix69
1 files changed, 44 insertions, 25 deletions
diff --git a/hosts/desktop/hardware-configuration.nix b/hosts/desktop/hardware-configuration.nix
index be7bbdc..6685e8e 100644
--- a/hosts/desktop/hardware-configuration.nix
+++ b/hosts/desktop/hardware-configuration.nix
@@ -1,41 +1,60 @@
# Do not modify this file! It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
-{ config, lib, pkgs, modulesPath, ... }:
+{
+ config,
+ lib,
+ pkgs,
+ modulesPath,
+ ...
+}:
{
- imports =
- [ (modulesPath + "/installer/scan/not-detected.nix")
- ];
+ imports = [
+ (modulesPath + "/installer/scan/not-detected.nix")
+ ];
- boot.initrd.availableKernelModules = [ "nvme" "ahci" "xhci_pci" "usbhid" "usb_storage" "sd_mod" ];
+ boot.initrd.availableKernelModules = [
+ "nvme"
+ "ahci"
+ "xhci_pci"
+ "usbhid"
+ "usb_storage"
+ "sd_mod"
+ ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
- fileSystems."/" =
- { device = "/dev/disk/by-uuid/aa9c6208-2cc3-413c-a52a-5e0fdf93e748";
- fsType = "btrfs";
- options = [ "noatime" ];
- };
+ fileSystems."/" = {
+ device = "/dev/disk/by-uuid/aa9c6208-2cc3-413c-a52a-5e0fdf93e748";
+ fsType = "btrfs";
+ options = [ "noatime" ];
+ };
- fileSystems."/boot" =
- { device = "/dev/disk/by-uuid/A687-03D4";
- fsType = "vfat";
- options = [ "fmask=0022" "dmask=0022" ];
- };
+ fileSystems."/boot" = {
+ device = "/dev/disk/by-uuid/A687-03D4";
+ fsType = "vfat";
+ options = [
+ "fmask=0022"
+ "dmask=0022"
+ ];
+ };
- fileSystems."/home" =
- { device = "/dev/disk/by-uuid/694036da-fc6e-4c7c-8765-7b90fb9a04c8";
- fsType = "btrfs";
- options = [ "noatime" ];
- };
+ fileSystems."/home" = {
+ device = "/dev/disk/by-uuid/694036da-fc6e-4c7c-8765-7b90fb9a04c8";
+ fsType = "btrfs";
+ options = [ "noatime" ];
+ };
- fileSystems."/storage" =
- { device = "/dev/disk/by-uuid/c0dc7c4d-1800-4c84-a04c-5ea7f5e86c4b";
- fsType = "ext4";
- options = [ "nofail" "noatime" ];
- };
+ fileSystems."/storage" = {
+ device = "/dev/disk/by-uuid/c0dc7c4d-1800-4c84-a04c-5ea7f5e86c4b";
+ fsType = "ext4";
+ options = [
+ "nofail"
+ "noatime"
+ ];
+ };
swapDevices = [ ];