From 58945ff4149d622bed35e912126a0afc3be09c9f Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sun, 7 Jun 2026 17:24:27 +0300 Subject: continue removing unncessary nix stuff --- hosts/hardware-configuration-laptop.nix | 41 --------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 hosts/hardware-configuration-laptop.nix (limited to 'hosts/hardware-configuration-laptop.nix') diff --git a/hosts/hardware-configuration-laptop.nix b/hosts/hardware-configuration-laptop.nix deleted file mode 100644 index 327f8c8..0000000 --- a/hosts/hardware-configuration-laptop.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, modulesPath, ... }: - -{ - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; - - boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/07da3892-5b26-43d5-9e41-dbab9f4a8067"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/4E6C-E7AD"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; - }; - - swapDevices = [ { - device = "/var/lib/swapfile"; - size = 16*1024; - } ]; - - # 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.wlo1.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -} -- cgit v1.3.1