summaryrefslogtreecommitdiff
path: root/hosts/headless/hardware-configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/headless/hardware-configuration.nix')
-rw-r--r--hosts/headless/hardware-configuration.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/hosts/headless/hardware-configuration.nix b/hosts/headless/hardware-configuration.nix
new file mode 100644
index 0000000..51f1a8f
--- /dev/null
+++ b/hosts/headless/hardware-configuration.nix
@@ -0,0 +1,20 @@
+# 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")
+ ];
+
+
+ fileSystems."/" =
+ { device = "/dev/disk/by-label/NIXOS_SD";
+ fsType = "ext4";
+ };
+
+ swapDevices = [ ];
+
+ powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
+}