remove old powerUp Commands and place a template if I ever go back to baremetal
This commit is contained in:
@@ -224,30 +224,39 @@
|
||||
|
||||
swapDevices = [{device = "/swap/swapfile";}];
|
||||
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
networks = {
|
||||
"10-lan" = {
|
||||
matchConfig.Name = "ens18";
|
||||
ntp = ["192.168.2.1"];
|
||||
domains = ["home.opel-online.de"];
|
||||
networkConfig = {
|
||||
DHCP = "yes";
|
||||
IPv6AcceptRA = true;
|
||||
IPv6PrivacyExtensions = false;
|
||||
};
|
||||
ipv6AcceptRAConfig = {
|
||||
DHCPv6Client = "always";
|
||||
UseDNS = true;
|
||||
};
|
||||
dhcpV4Config = {
|
||||
UseDNS = true;
|
||||
};
|
||||
dhcpV6Config = {
|
||||
UseDNS = true;
|
||||
systemd = {
|
||||
network = {
|
||||
enable = true;
|
||||
networks = {
|
||||
"10-lan" = {
|
||||
matchConfig.Name = "ens18";
|
||||
ntp = ["192.168.2.1"];
|
||||
domains = ["home.opel-online.de"];
|
||||
networkConfig = {
|
||||
DHCP = "yes";
|
||||
IPv6AcceptRA = true;
|
||||
IPv6PrivacyExtensions = false;
|
||||
};
|
||||
ipv6AcceptRAConfig = {
|
||||
DHCPv6Client = "always";
|
||||
UseDNS = true;
|
||||
};
|
||||
dhcpV4Config = {
|
||||
UseDNS = true;
|
||||
};
|
||||
dhcpV6Config = {
|
||||
UseDNS = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
#services.setspindown = {
|
||||
# serviceConfig.Type = "oneshot";
|
||||
# description = "Sets the spind down time for HDD to 12min+30sec";
|
||||
# enable = true;
|
||||
# wantedBy = [ "multi-user.target" ];
|
||||
# script = "${pkgs.hdparm}/sbin/hdparm -S 150 /dev/disk/by-uuid/57e6446d-faca-4b67-9063-e8d9afb80088";
|
||||
#};
|
||||
};
|
||||
networking = {
|
||||
hostName = "jupiter";
|
||||
@@ -264,9 +273,6 @@
|
||||
powerManagement = {
|
||||
cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
powertop.enable = true;
|
||||
#scsiLinkPolicy = "med_power_with_dipm";
|
||||
#powerUpCommands = ''
|
||||
# ${pkgs.hdparm}/sbin/hdparm -S 150 /dev/disk/by-uuid/57e6446d-faca-4b67-9063-e8d9afb80088
|
||||
#'';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user