summaryrefslogtreecommitdiff
path: root/modules/tarrel/hardware-configuration.nix
diff options
context:
space:
mode:
authorJasper Ras <jaspert.ras@gmail.com>2025-03-29 12:54:20 +0100
committerJasper Ras <jaspert.ras@gmail.com>2025-03-29 12:54:20 +0100
commit5bf105b94f3c63bc738b788b2b651985eed96c11 (patch)
treec8b98b552fede2854fdc9ebf59f8a030ebd7e3cd /modules/tarrel/hardware-configuration.nix
parent5b41ca762c6a44fa7a77e5f5324bcecf8a47f4c7 (diff)
dynamic nodes
Diffstat (limited to 'modules/tarrel/hardware-configuration.nix')
-rw-r--r--modules/tarrel/hardware-configuration.nix40
1 files changed, 0 insertions, 40 deletions
diff --git a/modules/tarrel/hardware-configuration.nix b/modules/tarrel/hardware-configuration.nix
deleted file mode 100644
index 4604fcd..0000000
--- a/modules/tarrel/hardware-configuration.nix
+++ /dev/null
@@ -1,40 +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" "ahci" "nvme" "usbhid" "uas" "sd_mod" ];
- boot.initrd.kernelModules = [ ];
- boot.kernelModules = [ "kvm-intel" ];
- boot.extraModulePackages = [ ];
-
- fileSystems."/" =
- { device = "/dev/disk/by-uuid/b73c41ec-fe01-4fa5-b50a-fd871e8c2710";
- fsType = "ext4";
- };
-
- fileSystems."/boot" =
- { device = "/dev/disk/by-uuid/BBB8-1AF8";
- fsType = "vfat";
- options = [ "fmask=0022" "dmask=0022" ];
- };
-
- swapDevices = [ ];
-
- # 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.enp4s0.useDHCP = lib.mkDefault true;
- # networking.interfaces.wlp0s20f0u9.useDHCP = lib.mkDefault true;
- # networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true;
-
- nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
- hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
-}