From 33b86e8594f4a4fe01b9739bea87c829953a420e Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Tue, 11 Jul 2023 21:55:21 +0200 Subject: dishwasher's hw is in valhalla, microwave's new dishwasher --- hosts/microwave/hardware-configuration.nix | 62 ------------------------------ 1 file changed, 62 deletions(-) delete mode 100644 hosts/microwave/hardware-configuration.nix (limited to 'hosts/microwave/hardware-configuration.nix') 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..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; -} -- cgit v1.3.1