summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-03-19 18:01:16 +0100
committerene <ene@sils.li>2023-03-19 18:01:16 +0100
commit0b55d0277cd341eed9532677036e885c0ae038ed (patch)
tree3f6efd09426199ef55cea36346fb0df7a9b1ed09
parentFix(system/hardware): Use actually needed modules and UUID (diff)
downloadnixos-server-0b55d0277cd341eed9532677036e885c0ae038ed.tar.gz
nixos-server-0b55d0277cd341eed9532677036e885c0ae038ed.zip
Refactor(system/hardware): Move hardware to host
The hardware settings are (somewhat) host specific, and putting them in
`system` just builds the wrong expectations.
-rw-r--r--hosts/server1/configuration.nix1
-rw-r--r--hosts/server1/hardware.nix (renamed from system/hardware/default.nix)0
-rw-r--r--system/default.nix1
3 files changed, 1 insertions, 1 deletions
diff --git a/hosts/server1/configuration.nix b/hosts/server1/configuration.nix
index ad3d8a3..891c5dc 100644
--- a/hosts/server1/configuration.nix
+++ b/hosts/server1/configuration.nix
@@ -1,6 +1,7 @@
 {pkgs, ...}: {
   imports = [
     ./networking.nix # network configuration that just works
+    ./hardware.nix
 
     ../../system
   ];
diff --git a/system/hardware/default.nix b/hosts/server1/hardware.nix
index 9fabafe..9fabafe 100644
--- a/system/hardware/default.nix
+++ b/hosts/server1/hardware.nix
diff --git a/system/default.nix b/system/default.nix
index 9aa5d9e..d67ada2 100644
--- a/system/default.nix
+++ b/system/default.nix
@@ -1,7 +1,6 @@
 {config, ...}: {
   imports = [
     ./file_system_layouts
-    ./hardware
     ./packages
     ./services
     ./users