summaryrefslogtreecommitdiff
path: root/hosts/microwave/hardware-configuration.nix
diff options
context:
space:
mode:
authorGrigory Shipunov2023-07-11 21:55:21 +0200
committerGrigory Shipunov2023-07-11 21:55:21 +0200
commit33b86e8594f4a4fe01b9739bea87c829953a420e (patch)
treea58a98d929c4ac824ed91403177d9d2589fa6052 /hosts/microwave/hardware-configuration.nix
parent94f000695216bfa3e9891bd7bd12c24fcb603a47 (diff)
dishwasher's hw is in valhalla, microwave's new dishwasher
Diffstat (limited to 'hosts/microwave/hardware-configuration.nix')
-rw-r--r--hosts/microwave/hardware-configuration.nix62
1 files changed, 0 insertions, 62 deletions
diff --git a/hosts/microwave/hardware-configuration.nix b/hosts/microwave/hardware-configuration.nix
deleted file mode 100644
index 1652b60..0000000
--- a/hosts/microwave/hardware-configuration.nix
+++ /dev/null
@@ -1,62 +0,0 @@
-# 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")
- ];
-
- boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
- boot.initrd.kernelModules = [ ];
- boot.kernelModules = [ "kvm-intel" ];
- boot.extraModulePackages = [ ];
-
- fileSystems."/" =
- {
- device = "rpool/nixos";
- fsType = "zfs";
- options = [ "zfsutil" ];
- };
-
- fileSystems."/nix" =
- {
- device = "rpool/nixos/nix";
- fsType = "zfs";
- options = [ "zfsutil" ];
- };
-
- fileSystems."/home" =
- {
- device = "rpool/userdata/home";
- fsType = "zfs";
- options = [ "zfsutil" ];
- };
-
- fileSystems."/boot" =
- {
- device = "/dev/disk/by-uuid/A8AA-1CC4";
- fsType = "vfat";
- options = [ "X-mount.mkdir" ];
- };
-
- swapDevices =
- [{
- device = "/dev/disk/by-partuuid/f9712640-96a5-46e1-b07d-53b0cba19057";
- randomEncryption = true;
- }];
-
- # 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
- # still possible to use this option, but it's recommended to use it in conjunction
- # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
- networking.useDHCP = lib.mkDefault true;
- networking.interfaces.enp53s0.useDHCP = lib.mkDefault true;
- networking.interfaces.wlan0.useDHCP = lib.mkDefault true;
-
- nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
- powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
- hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
-}