refactor and cleanup
This commit is contained in:
parent
0b4382253f
commit
71f5c6dd61
9 changed files with 35 additions and 48 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ den, inputs, lib, ... }: {
|
||||
{ den, inputs, ... }: {
|
||||
den.aspects.notebook-specific.nixos = { pkgs, ... }: {
|
||||
imports = [
|
||||
./_hardware/notebook-hardware.nix
|
||||
|
|
@ -11,24 +11,7 @@
|
|||
enable32Bit = true;
|
||||
};
|
||||
|
||||
security.sudo.wheelNeedsPassword = lib.mkForce true;
|
||||
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [];
|
||||
allowedUDPPorts = [];
|
||||
};
|
||||
|
||||
services.thermald.enable = true;
|
||||
powerManagement.enable = true;
|
||||
|
||||
services.tlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
||||
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
||||
};
|
||||
};
|
||||
|
||||
boot = {
|
||||
initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "sd_mod" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue