v0.1.1
This commit is contained in:
parent
8b9d3c114d
commit
bcbd699c4c
11 changed files with 786 additions and 124 deletions
50
modules/darwin/system.nix
Normal file
50
modules/darwin/system.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{ config, pkgs, lib, ... }: {
|
||||
imports = [ ./homebrew.nix ./devtools.nix ];
|
||||
|
||||
services.nix-daemon.enable = true;
|
||||
|
||||
nix = {
|
||||
package = pkgs.nix;
|
||||
extraOptions = ''
|
||||
keep-derivations = true
|
||||
keep-outputs = true
|
||||
'';
|
||||
settings = {
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
auto-optimise-store = true;
|
||||
warn-dirty = false;
|
||||
};
|
||||
gc = {
|
||||
automatic = true;
|
||||
interval = {
|
||||
Weekday = 0;
|
||||
Hour = 3;
|
||||
Minute = 30;
|
||||
};
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
};
|
||||
|
||||
system = {
|
||||
stateVersion = "24.05";
|
||||
|
||||
defaults = {
|
||||
NSGlobalDomain = {
|
||||
ApplePressAndHoldEnabled = false;
|
||||
KeyRepeat = 2;
|
||||
InitialKeyRepeat = 15;
|
||||
};
|
||||
dock = {
|
||||
autohide = true;
|
||||
show-recents = false;
|
||||
tilesize = 48;
|
||||
};
|
||||
finder = {
|
||||
AppleShowAllExtensions = true;
|
||||
AppleShowAllFiles = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
security.pam.enableSudoTouchIdAuth = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue