mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-26 00:18:28 +02:00
network updates
This commit is contained in:
parent
9e8ac20c4e
commit
706220f980
3 changed files with 33 additions and 29 deletions
|
@ -6,7 +6,8 @@
|
|||
[
|
||||
./hardware-configuration.nix
|
||||
./modules/networks
|
||||
./modules/greetd ./modules/snapper
|
||||
./modules/greetd
|
||||
./modules/snapper
|
||||
../../shared/vim.nix
|
||||
../../shared/sops.nix
|
||||
../../shared/gpg.nix
|
||||
|
@ -89,7 +90,8 @@
|
|||
printing = {
|
||||
enable = true;
|
||||
};
|
||||
avahi = { # autodiscover printers
|
||||
avahi = {
|
||||
# autodiscover printers
|
||||
enable = true;
|
||||
nssmdns = true;
|
||||
};
|
||||
|
@ -122,6 +124,9 @@
|
|||
};
|
||||
};
|
||||
|
||||
systemd.sleep.extraConfig = ''
|
||||
HibernateDelaySec=2h
|
||||
'';
|
||||
services.logind = {
|
||||
lidSwitch = "suspend-then-hibernate";
|
||||
lidSwitchDocked = "suspend-then-hibernate";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue