summaryrefslogtreecommitdiff
path: root/hosts/desktop/hardware-configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/desktop/hardware-configuration.nix')
-rw-r--r--hosts/desktop/hardware-configuration.nix71
1 files changed, 0 insertions, 71 deletions
diff --git a/hosts/desktop/hardware-configuration.nix b/hosts/desktop/hardware-configuration.nix
deleted file mode 100644
index 6685e8e..0000000
--- a/hosts/desktop/hardware-configuration.nix
+++ /dev/null
@@ -1,71 +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"
- "ahci"
- "xhci_pci"
- "usbhid"
- "usb_storage"
- "sd_mod"
- ];
- boot.initrd.kernelModules = [ ];
- boot.kernelModules = [ "kvm-amd" ];
- boot.extraModulePackages = [ ];
-
- fileSystems."/" = {
- device = "/dev/disk/by-uuid/aa9c6208-2cc3-413c-a52a-5e0fdf93e748";
- fsType = "btrfs";
- options = [ "noatime" ];
- };
-
- fileSystems."/boot" = {
- device = "/dev/disk/by-uuid/A687-03D4";
- fsType = "vfat";
- options = [
- "fmask=0022"
- "dmask=0022"
- ];
- };
-
- fileSystems."/home" = {
- device = "/dev/disk/by-uuid/694036da-fc6e-4c7c-8765-7b90fb9a04c8";
- fsType = "btrfs";
- options = [ "noatime" ];
- };
-
- fileSystems."/storage" = {
- device = "/dev/disk/by-uuid/c0dc7c4d-1800-4c84-a04c-5ea7f5e86c4b";
- fsType = "ext4";
- options = [
- "nofail"
- "noatime"
- ];
- };
-
- 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.enp14s0.useDHCP = lib.mkDefault true;
- # networking.interfaces.wlp15s0.useDHCP = lib.mkDefault true;
-
- nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
- hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
-}