Global nixfmt
This commit is contained in:
parent
8306da0f09
commit
2bcc955f07
3 changed files with 12 additions and 17 deletions
|
@ -25,10 +25,7 @@
|
|||
-----END CERTIFICATE-----
|
||||
'';
|
||||
};
|
||||
dhcpIps = [
|
||||
"185.88.236.100"
|
||||
"212.103.68.20"
|
||||
];
|
||||
dhcpIps = [ "185.88.236.100" "212.103.68.20" ];
|
||||
dhcpOptions = with builtins;
|
||||
concatStringsSep "\n" (map (ip: "dhcp-option DNS ${ip}") dhcpIps);
|
||||
in {
|
||||
|
|
|
@ -16,14 +16,14 @@
|
|||
boot.extraModulePackages = [ ];
|
||||
boot.kernelParams = [ "acpi_enforce_resources=lax" ];
|
||||
|
||||
|
||||
hardware.firmware = [ pkgs.wireless-regdb ];
|
||||
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
nix.maxJobs = lib.mkDefault 24;
|
||||
|
||||
powerManagement.powerUpCommands = let
|
||||
forceThunderboltOnScript = pkgs.writeScriptBin "force-thunderbolt-power-on" ''
|
||||
forceThunderboltOnScript =
|
||||
pkgs.writeScriptBin "force-thunderbolt-power-on" ''
|
||||
#!${pkgs.stdenv.shell}
|
||||
|
||||
#echo 'on' > '/sys/bus/pci/devices/0000:03:00.0/power/control'; #TODO: Is the main controller required?
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }: {
|
||||
hardware.rasdaemon = {
|
||||
enable = true;
|
||||
};
|
||||
hardware.rasdaemon = { enable = true; };
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue