aboutsummaryrefslogtreecommitdiff
path: root/hosts/nixos/hardware-configuration.nix
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-06-24 01:20:42 +0200
committerschererleander <leander@schererleander.de>2025-06-24 01:20:42 +0200
commit38f45aae3fc574d97784bc9f178e8c385156318f (patch)
treee8b90cea2f6929ff93ca29cbf464f63079f3cabd /hosts/nixos/hardware-configuration.nix
parent32e134b13c0ef1ec3d920b1fb3681d8ca81c8bdf (diff)
reinstall nixos on desktop
Diffstat (limited to 'hosts/nixos/hardware-configuration.nix')
-rw-r--r--hosts/nixos/hardware-configuration.nix41
1 files changed, 0 insertions, 41 deletions
diff --git a/hosts/nixos/hardware-configuration.nix b/hosts/nixos/hardware-configuration.nix
deleted file mode 100644
index 2361abe..0000000
--- a/hosts/nixos/hardware-configuration.nix
+++ /dev/null
@@ -1,41 +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 = [ "nvme" "xhci_pci" "ahci" "usbhid" ];
- boot.initrd.kernelModules = [ ];
- boot.kernelModules = [ "kvm-amd" ];
- boot.extraModulePackages = [ ];
-
- fileSystems."/" =
- { device = "/dev/disk/by-uuid/9723eaab-4969-45e2-8364-b20aa6f4e120";
- fsType = "ext4";
- };
-
- fileSystems."/boot" =
- { device = "/dev/disk/by-uuid/29E6-B167";
- fsType = "vfat";
- options = [ "fmask=0077" "dmask=0077" ];
- };
-
- swapDevices =
- [ { device = "/dev/disk/by-uuid/fb68b9c4-9305-4cf5-8279-3cae83524983"; }
- ];
-
- # 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.eno1.useDHCP = lib.mkDefault true;
- # networking.interfaces.wlp11s0.useDHCP = lib.mkDefault true;
-
- nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
- hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
-} \ No newline at end of file