diff options
| author | Kyren223 <Kyren223@proton.me> | 2024-11-19 10:11:05 +0200 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2024-11-19 10:11:05 +0200 |
| commit | 57ecf9524bef6c01ac009c545baf66e5da9b0916 (patch) | |
| tree | ac264a409b5bd0ffe4e17bdf5200f966096e0e1c /nixos/hosts/default/hardware-configuration.nix | |
| parent | 4b0452609b6066a3d3cb225503f83529a7c3e9e4 (diff) | |
Renamed host to laptop-nixos
Diffstat (limited to 'nixos/hosts/default/hardware-configuration.nix')
| -rw-r--r-- | nixos/hosts/default/hardware-configuration.nix | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/nixos/hosts/default/hardware-configuration.nix b/nixos/hosts/default/hardware-configuration.nix deleted file mode 100644 index f8cb10a..0000000 --- a/nixos/hosts/default/hardware-configuration.nix +++ /dev/null @@ -1,38 +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" "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/6051-DAFB"; - 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.wlo1.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -} |
