From fd36e1ffb48a7bb1ee83df85afa1baa6500dcdf0 Mon Sep 17 00:00:00 2001 From: jolheiser Date: Sun, 17 Mar 2024 13:58:57 -0500 Subject: [PATCH] chore: clean up deadnix Signed-off-by: jolheiser --- machines/genmaicha/hardware.nix | 43 ++++++++++++++++++--------------- machines/sencha/hardware.nix | 43 ++++++++++++++++++--------------- 2 files changed, 46 insertions(+), 40 deletions(-) diff --git a/machines/genmaicha/hardware.nix b/machines/genmaicha/hardware.nix index 8820810..63f30c0 100644 --- a/machines/genmaicha/hardware.nix +++ b/machines/genmaicha/hardware.nix @@ -1,31 +1,34 @@ # 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, ... }: - { - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; + config, + lib, + modulesPath, + ... +}: { + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; - boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; + boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod"]; + boot.initrd.kernelModules = []; + boot.kernelModules = ["kvm-amd"]; + boot.extraModulePackages = []; - fileSystems."/" = - { device = "/dev/disk/by-uuid/90652083-df9c-42df-8c8a-8d979a3e1e0c"; - fsType = "ext4"; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/90652083-df9c-42df-8c8a-8d979a3e1e0c"; + fsType = "ext4"; + }; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/B03F-3B27"; - fsType = "vfat"; - }; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/B03F-3B27"; + fsType = "vfat"; + }; - swapDevices = - [ { device = "/dev/disk/by-uuid/2034b9e4-011b-4715-a7a2-5f5445dc2849"; } - ]; + swapDevices = [ + {device = "/dev/disk/by-uuid/2034b9e4-011b-4715-a7a2-5f5445dc2849";} + ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's diff --git a/machines/sencha/hardware.nix b/machines/sencha/hardware.nix index 096e4e1..fcd7fc4 100644 --- a/machines/sencha/hardware.nix +++ b/machines/sencha/hardware.nix @@ -1,33 +1,36 @@ # 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, ... }: - { - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; + config, + lib, + modulesPath, + ... +}: { + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "sr_mod" "rtsx_usb_sdmmc" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ ]; - boot.extraModulePackages = [ ]; + boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "sr_mod" "rtsx_usb_sdmmc"]; + boot.initrd.kernelModules = []; + boot.kernelModules = []; + boot.extraModulePackages = []; - fileSystems."/" = - { device = "/dev/disk/by-uuid/d1f561b1-bc50-4e34-9ca6-e973d2d9437a"; - fsType = "ext4"; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/d1f561b1-bc50-4e34-9ca6-e973d2d9437a"; + fsType = "ext4"; + }; boot.initrd.luks.devices."luks-75db2e03-a875-43ee-8ca8-70507b421641".device = "/dev/disk/by-uuid/75db2e03-a875-43ee-8ca8-70507b421641"; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/A8A8-1D01"; - fsType = "vfat"; - }; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/A8A8-1D01"; + fsType = "vfat"; + }; - swapDevices = - [ { device = "/dev/disk/by-uuid/5c3eb124-674b-4315-890d-137275aab504"; } - ]; + swapDevices = [ + {device = "/dev/disk/by-uuid/5c3eb124-674b-4315-890d-137275aab504";} + ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's