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 = '' extraConfig = ''
HandlePowerKey=suspend-then-hibernate HandlePowerKey=suspend-then-hibernate
HandleLidSwitchDocked=ignore HandleLidSwitchDocked=ignore
IdleAction=suspend-then-hibernate
IdleActionSec=10m IdleActionSec=10m
IdleAction=suspend-then-hibernate
''; '';
}; };
systemd.sleep.extraConfig = "HibernateDelaySec=90m"; systemd.sleep.extraConfig = "HibernateDelaySec=30m";
services.fwupd.enable = true; services.fwupd.enable = true;

View file

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