Thinker updates

This commit is contained in:
Daniel Flanagan 2024-02-05 14:25:07 -06:00
parent e9a25dad20
commit 0803ac1277
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
2 changed files with 17 additions and 3 deletions

View file

@ -145,11 +145,11 @@ in {
extraConfig = ''
HandlePowerKey=suspend-then-hibernate
HandleLidSwitchDocked=ignore
IdleAction=suspend-then-hibernate
IdleActionSec=10m
IdleAction=suspend-then-hibernate
'';
};
systemd.sleep.extraConfig = "HibernateDelaySec=90m";
systemd.sleep.extraConfig = "HibernateDelaySec=30m";
services.fwupd.enable = true;

View file

@ -4,7 +4,7 @@
outputs,
lib,
# config,
# pkgs,
pkgs,
...
}: {
networking.hostName = "thinker";
@ -20,6 +20,17 @@
wifi
];
environment = {
systemPackages = with pkgs; [
spotify
discord
obs-studio
variety # wallpaper switcher that I use with GNOME
sops
slack
];
};
boot = {
loader = {
efi.canTouchEfiVariables = true;
@ -40,6 +51,8 @@
imports = with outputs.homeManagerModules; [
sway
pass
firefox-no-tabs
wallpaper-manager
# sway-laptop
# hyprland
];
@ -66,6 +79,7 @@
HandlePowerKey=suspend-then-hibernate
IdleAction=suspend-then-hibernate
IdleActionSec=10m
HandleLidSwitchDocked=ignore
'';
};
systemd.sleep.extraConfig = "HibernateDelaySec=30m";