mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 14:50:40 +02:00
chore: update flake and make necessary changes, disable immich for now
This commit is contained in:
parent
20477ecdc5
commit
3c322bbdbf
13 changed files with 228 additions and 156 deletions
|
@ -1,21 +1,17 @@
|
|||
{
|
||||
systemd.network.wait-online.anyInterface = true;
|
||||
|
||||
services = {
|
||||
# tlp.enable = true;
|
||||
physlock.enable = true;
|
||||
logind = {
|
||||
lidSwitch = "ignore";
|
||||
lidSwitchDocked = "ignore";
|
||||
lidSwitchExternalPower = "ignore";
|
||||
extraConfig = ''
|
||||
HandlePowerKey=suspend
|
||||
HandleSuspendKey=suspend
|
||||
HandleHibernateKey=suspend
|
||||
PowerKeyIgnoreInhibited=yes
|
||||
SuspendKeyIgnoreInhibited=yes
|
||||
HibernateKeyIgnoreInhibited=yes
|
||||
'';
|
||||
};
|
||||
# services.tlp.enable = true;
|
||||
services.physlock.enable = true;
|
||||
services.logind.settings.Login = {
|
||||
LidSwitch = "ignore";
|
||||
LidSwitchDocked = "ignore";
|
||||
LidSwitchExternalPower = "ignore";
|
||||
HandlePowerKey = "suspend";
|
||||
HandleSuspendKey = "suspend";
|
||||
HandleHibernateKey = "suspend";
|
||||
PowerKeyIgnoreInhibited = "yes";
|
||||
SuspendKeyIgnoreInhibited = "yes";
|
||||
HibernateKeyIgnoreInhibited = "yes";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue