gg
This commit is contained in:
@@ -44,7 +44,7 @@ in
|
||||
'';
|
||||
# nameservers = [ ... ]; # Commented out to use DHCP-provided ones
|
||||
search = [
|
||||
"home.arpa"
|
||||
"localdomain"
|
||||
"local"
|
||||
];
|
||||
|
||||
|
||||
@@ -84,10 +84,10 @@
|
||||
};
|
||||
|
||||
# Laptop-specific lid and sleep behavior
|
||||
services.logind = lib.mkIf (systemName == "laptop") {
|
||||
lidSwitch = "suspend-then-hibernate";
|
||||
lidSwitchExternalPower = "suspend-then-hibernate";
|
||||
lidSwitchDocked = "suspend-then-hibernate";
|
||||
services.logind.settings.Login = lib.mkIf (systemName == "laptop") {
|
||||
HandleLidSwitch = "suspend-then-hibernate";
|
||||
HandleLidSwitchExternalPower = "suspend-then-hibernate";
|
||||
HandleLidSwitchDocked = "suspend-then-hibernate";
|
||||
};
|
||||
|
||||
systemd.sleep.extraConfig = lib.mkIf (systemName == "laptop") ''
|
||||
|
||||
Reference in New Issue
Block a user