Merge remote-tracking branch 'origin/main'

This commit is contained in:
Daniel Flanagan 2024-02-06 09:24:48 -06:00
commit b266417c69
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
2 changed files with 17 additions and 3 deletions

View file

@ -144,11 +144,11 @@ in {
# HandleLidSwitchDocked=ignore
extraConfig = ''
HandlePowerKey=suspend-then-hibernate
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";