1
1
Fork 1
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:
oddlama 2025-09-05 20:48:22 +02:00
parent 20477ecdc5
commit 3c322bbdbf
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
13 changed files with 228 additions and 156 deletions

View file

@ -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";
};
}