diff options
| author | Kyren223 <contact@kyren.codes> | 2026-06-07 17:24:27 +0300 |
|---|---|---|
| committer | Kyren223 <contact@kyren.codes> | 2026-06-07 17:24:27 +0300 |
| commit | 58945ff4149d622bed35e912126a0afc3be09c9f (patch) | |
| tree | f0569a0b34f1ca2cecefa12038f66c3929b0e4c1 /hosts/hardware-configuration-desktop.nix | |
| parent | 72fd922f0a4b94151492b5138cd7e1bf808b1086 (diff) | |
continue removing unncessary nix stuff
Diffstat (limited to 'hosts/hardware-configuration-desktop.nix')
| -rw-r--r-- | hosts/hardware-configuration-desktop.nix | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/hosts/hardware-configuration-desktop.nix b/hosts/hardware-configuration-desktop.nix deleted file mode 100644 index d7cb3b4..0000000 --- a/hosts/hardware-configuration-desktop.nix +++ /dev/null @@ -1,45 +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" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ "amdgpu" ]; - boot.kernelModules = [ "kvm-amd" "iptables" "iptable_nat" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/70e9dc2b-0e5d-494e-b82f-fab6c44917be"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/E641-FDDD"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; - }; - - 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.eno1.useDHCP = lib.mkDefault true; - # networking.interfaces.wlp9s0.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; - - hardware.opengl = { enable = true; }; - services.xserver.videoDrivers = [ "amdgpu" ]; - # environment.variables = { - # AMD_VULKAN_ICD = "RADV"; # Force Mesa RADV over AMDVLK for better perf - # }; -} |
