From 0803ac1277e8b0af5bb311fa3f239467e3e2859f Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Mon, 5 Feb 2024 14:25:07 -0600 Subject: [PATCH] Thinker updates --- nixos/foxtrot.nix | 4 ++-- nixos/thinker.nix | 16 +++++++++++++++- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/nixos/foxtrot.nix b/nixos/foxtrot.nix index 244acf6..c84a217 100644 --- a/nixos/foxtrot.nix +++ b/nixos/foxtrot.nix @@ -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; diff --git a/nixos/thinker.nix b/nixos/thinker.nix index de10d72..15f6064 100644 --- a/nixos/thinker.nix +++ b/nixos/thinker.nix @@ -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";