New beginning
This commit is contained in:
parent
432c85e800
commit
8e64cc68b3
30 changed files with 404 additions and 507 deletions
91
nix/module/configuration.nix
Normal file
91
nix/module/configuration.nix
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
{ hostname }:
|
||||
{
|
||||
nix = {
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
builders-use-substitutes = true;
|
||||
experimental-features = ["flakes" "nix-command"];
|
||||
substituters = ["https://nix-community.cachix.org"];
|
||||
trusted-public-keys = [
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
];
|
||||
trusted-users = ["@wheel"];
|
||||
warn-dirty = false;
|
||||
};
|
||||
};
|
||||
|
||||
programs.zsh.enable = true;
|
||||
programs.gnupg.agent.enable = true;
|
||||
|
||||
networking.hostName = hostname;
|
||||
|
||||
homebrew = {
|
||||
enable = true;
|
||||
onActivation.cleanup = "zap";
|
||||
|
||||
casks = [
|
||||
"amethyst"
|
||||
"anki"
|
||||
"arc"
|
||||
"font-iosevka-comfy"
|
||||
"karabiner-elements"
|
||||
"logseq"
|
||||
"nextcloud"
|
||||
"protonvpn"
|
||||
"raycast"
|
||||
];
|
||||
|
||||
taps = [
|
||||
"homebrew/cask-fonts"
|
||||
];
|
||||
};
|
||||
|
||||
system = {
|
||||
activationScripts.postUserActivation.text = ''
|
||||
/System/Library/PrivateFrameworks/SystemAdministration.framework/Resources/activateSettings -u
|
||||
'';
|
||||
|
||||
defaults = {
|
||||
dock= {
|
||||
autohide = true;
|
||||
autohide-time-modifier = 0.1;
|
||||
expose-animation-duration = 0.0;
|
||||
mru-spaces = false;
|
||||
orientation = "right";
|
||||
show-recents = false;
|
||||
};
|
||||
|
||||
finder = {
|
||||
AppleShowAllExtensions = true;
|
||||
AppleShowAllFiles = true;
|
||||
CreateDesktop = false;
|
||||
FXPreferredViewStyle = "Nlsv";
|
||||
QuitMenuItem = true;
|
||||
ShowPathbar = true;
|
||||
ShowStatusBar = true;
|
||||
_FXShowPosixPathInTitle = true;
|
||||
};
|
||||
|
||||
trackpad = {
|
||||
Clicking = true;
|
||||
TrackpadRightClick = true;
|
||||
};
|
||||
|
||||
menuExtraClock = {
|
||||
IsAnalog = false;
|
||||
Show24Hour = true;
|
||||
ShowDate = 0;
|
||||
ShowDayOfWeek = false;
|
||||
};
|
||||
|
||||
NSGlobalDomain = {
|
||||
AppleInterfaceStyle = "Dark";
|
||||
AppleShowAllExtensions = true;
|
||||
AppleShowAllFiles = true;
|
||||
InitialKeyRepeat = 14;
|
||||
KeyRepeat = 1;
|
||||
"com.apple.mouse.tapBehavior" = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue