From 78907aa98c1af8624a62ca123d088c6c16424f41 Mon Sep 17 00:00:00 2001 From: polwex Date: Sun, 21 Jul 2024 01:09:48 +0700 Subject: init --- hosts/headless/hardware-configuration.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 hosts/headless/hardware-configuration.nix (limited to 'hosts/headless/hardware-configuration.nix') 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"; +} -- cgit v1.2.3