add mpro
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
parent
dd3dd53e11
commit
5e2d3a6ce4
25 changed files with 665 additions and 20 deletions
29
modules/darwin/system/interface/default.nix
Normal file
29
modules/darwin/system/interface/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ options, config, pkgs, lib, ... }:
|
||||
|
||||
with lib;
|
||||
with lib.plusultra;
|
||||
let cfg = config.plusultra.system.interface;
|
||||
in
|
||||
{
|
||||
options.plusultra.system.interface = with types; {
|
||||
enable = mkEnableOption "macOS interface";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
system.defaults = {
|
||||
dock.autohide = true;
|
||||
|
||||
finder = {
|
||||
AppleShowAllExtensions = true;
|
||||
FXEnableExtensionChangeWarning = false;
|
||||
};
|
||||
|
||||
NSGlobalDomain = {
|
||||
_HIHideMenuBar = true;
|
||||
AppleShowScrollBars = "Always";
|
||||
};
|
||||
};
|
||||
|
||||
plusultra.home.file.".hushlogin".text = "";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue