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 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 # Disk partition schemes and functions

View file

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

View file

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