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 # HandleLidSwitchDocked=ignore
extraConfig = '' extraConfig = ''
HandlePowerKey=suspend-then-hibernate HandlePowerKey=suspend-then-hibernate
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";