Add a systems module
This commit is contained in:
parent
2ec4b32561
commit
22e4e8b611
3 changed files with 36 additions and 20 deletions
|
|
@ -21,26 +21,6 @@
|
|||
})
|
||||
];
|
||||
|
||||
system.defaults = {
|
||||
dock.autohide = true;
|
||||
dock.autohide-time-modifier = 0.1;
|
||||
dock.expose-animation-duration = 0.0;
|
||||
dock.mru-spaces = false;
|
||||
dock.orientation = "right";
|
||||
NSGlobalDomain.InitialKeyRepeat = 14;
|
||||
NSGlobalDomain.KeyRepeat = 1;
|
||||
NSGlobalDomain.AppleShowAllExtensions = true;
|
||||
NSGlobalDomain.AppleShowAllFiles = true;
|
||||
NSGlobalDomain."com.apple.mouse.tapBehavior" = 1;
|
||||
finder.AppleShowAllExtensions = true;
|
||||
finder.AppleShowAllFiles = true;
|
||||
finder.CreateDesktop = false;
|
||||
finder.FXPreferredViewStyle = "Nlsv";
|
||||
finder.QuitMenuItem = true;
|
||||
finder._FXShowPosixPathInTitle = true;
|
||||
menuExtraClock.ShowDate = 0;
|
||||
menuExtraClock.ShowDayOfWeek = false;
|
||||
};
|
||||
users.users.tobi.description = "Tobias Ostner";
|
||||
users.users.tobi.home = "/Users/tobi";
|
||||
users.users.tobi.shell = pkgs.zshInteractive;
|
||||
|
|
|
|||
35
.config/nix/modules/system.nix
Normal file
35
.config/nix/modules/system.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ pkgs, ...}:
|
||||
{
|
||||
system = {
|
||||
activationScripts.postUserActivation.text = ''
|
||||
/System/Library/PrivateFrameworks/SystemAdministration.framework/Resources/activateSettings -u
|
||||
'';
|
||||
|
||||
defaults = {
|
||||
NSGlobalDomain."com.apple.mouse.tapBehavior" = 1;
|
||||
NSGlobalDomain.AppleShowAllExtensions = true;
|
||||
NSGlobalDomain.AppleShowAllFiles = true;
|
||||
NSGlobalDomain.InitialKeyRepeat = 14;
|
||||
NSGlobalDomain.KeyRepeat = 1;
|
||||
dock.autohide = true;
|
||||
dock.autohide-time-modifier = 0.1;
|
||||
dock.expose-animation-duration = 0.0;
|
||||
dock.mru-spaces = false;
|
||||
dock.orientation = "right";
|
||||
finder.AppleShowAllExtensions = true;
|
||||
finder.AppleShowAllFiles = true;
|
||||
finder.CreateDesktop = false;
|
||||
finder.FXPreferredViewStyle = "Nlsv";
|
||||
finder.QuitMenuItem = true;
|
||||
finder._FXShowPosixPathInTitle = true;
|
||||
menuExtraClock.Show24Hour = true;
|
||||
menuExtraClock.ShowDate = 0;
|
||||
menuExtraClock.ShowDayOfWeek = false;
|
||||
};
|
||||
};
|
||||
|
||||
security.pam.enableSudoTouchIdAuth = true;
|
||||
|
||||
programs.zsh.enable = true;
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue