This commit is contained in:
Daniel Flanagan 2024-02-06 09:23:59 -06:00
parent add9976272
commit 97540d460a
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
3 changed files with 21 additions and 1 deletions

View file

@ -118,6 +118,25 @@
linux
];
};
work = forAllSystems (
system:
home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.${system};
extraSpecialArgs = {
inherit inputs outputs system;
inherit (outputs) colors font;
};
modules = with outputs.homeManagerModules; [
common
{
home.homeDirectory = "/Users/daniel.flanagan";
home.username = "daniel.flanagan";
home.stateVersion = "24.05";
}
macos
];
}
);
};
# Disk partition schemes and functions

View file

@ -2,6 +2,7 @@
imports = with outputs.homeManagerModules; [
common
desktop
pass
];
# TODO: pinentry curses?

View file

@ -141,9 +141,9 @@ in {
services.logind = {
lidSwitch = "suspend-then-hibernate";
# HandleLidSwitchDocked=ignore
extraConfig = ''
HandlePowerKey=suspend-then-hibernate
HandleLidSwitchDocked=ignore
IdleAction=suspend-then-hibernate
IdleActionSec=10m
'';