summaryrefslogtreecommitdiff
path: root/hosts/omar/hardware-configuration.nix
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2025-03-25 12:06:52 +0100
committerLinnnus <[email protected]>2025-03-25 12:06:52 +0100
commite89fa203c3f11a93fe8805e911744b3b8a049973 (patch)
tree1c2d2b145c69bc9be9214ffb21d403a44cc79931 /hosts/omar/hardware-configuration.nix
parent7f8c32c8295610ec7e5b8e387ea52cfa88250496 (diff)
Remove omar
Diffstat (limited to 'hosts/omar/hardware-configuration.nix')
-rw-r--r--hosts/omar/hardware-configuration.nix54
1 files changed, 0 insertions, 54 deletions
diff --git a/hosts/omar/hardware-configuration.nix b/hosts/omar/hardware-configuration.nix
deleted file mode 100644
index 611bfa3..0000000
--- a/hosts/omar/hardware-configuration.nix
+++ /dev/null
@@ -1,54 +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 = ["uhci_hcd" "ehci_pci" "ahci" "usb_storage" "sd_mod"];
- boot.initrd.kernelModules = [];
- boot.kernelModules = [];
- boot.extraModulePackages = [];
-
- fileSystems."/" = {
- device = "rpool/local/root";
- fsType = "zfs";
- };
-
- fileSystems."/nix" = {
- device = "rpool/local/nix";
- fsType = "zfs";
- };
-
- fileSystems."/persist" = {
- device = "rpool/safe/persist";
- fsType = "zfs";
- };
-
- fileSystems."/home" = {
- device = "rpool/safe/home";
- fsType = "zfs";
- };
-
- swapDevices = [
- {device = "/dev/disk/by-uuid/a719dc89-0c69-4384-b9f7-b82b2a0f5cf1";}
- ];
-
- # 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.enp9s0.useDHCP = lib.mkDefault true;
- # networking.interfaces.wlp5s0.useDHCP = lib.mkDefault true;
-
- nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
- hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
-}