macOS
This commit is contained in:
parent
add9976272
commit
97540d460a
3 changed files with 21 additions and 1 deletions
19
flake.nix
19
flake.nix
|
@ -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
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
imports = with outputs.homeManagerModules; [
|
||||
common
|
||||
desktop
|
||||
pass
|
||||
];
|
||||
|
||||
# TODO: pinentry curses?
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue