mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-10 04:59:42 +00:00
Compare commits
No commits in common. "f12f74f77a6c5d8ff6a59353de530638affdc985" and "953589075efd900105daa89c9910d45a963d0303" have entirely different histories.
f12f74f77a
...
953589075e
|
@ -12,7 +12,7 @@ in {
|
|||
# it's about power management
|
||||
services.logind = {
|
||||
lidSwitch = "suspend-then-hibernate";
|
||||
lidSwitchExternalPower = "suspend";
|
||||
lidSwitchExternalPower = "lock";
|
||||
extraConfig = ''
|
||||
HandlePowerKey=suspend-then-hibernate
|
||||
HibernateDelaySec=3600
|
||||
|
|
|
@ -36,10 +36,7 @@ in {
|
|||
myOptions.system.impermanence.home.extraDirectories = optional cfg.hplip.enable ".hplip";
|
||||
|
||||
# Support for SANE (Scanner Access Now Easy) scanners
|
||||
hardware.sane = {
|
||||
enable = true;
|
||||
extraBackends = optional cfg.hplip.enable pkgs.hplipWithPlugin;
|
||||
};
|
||||
hardware.sane.enable = true;
|
||||
|
||||
users.extraGroups.scanner.members = ["${cfgUser}"];
|
||||
users.extraGroups.lp.members = ["${cfgUser}"];
|
||||
|
|
Loading…
Reference in a new issue