mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
big great refactor
This commit is contained in:
1 parent
596bcb4a94
commit
5a7501eec0
73 files changed
+537
-644
No files matched your search
Executable
+71
@@ -0,0 +1,71 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (lib) mkAfter;
|
||||
in
|
||||
|
||||
{
|
||||
nix.enable = false;
|
||||
|
||||
time.timeZone = "Europe/Istanbul";
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-cjk-serif
|
||||
noto-fonts-color-emoji
|
||||
nerd-fonts.jetbrains-mono
|
||||
];
|
||||
|
||||
system.defaults = {
|
||||
NSGlobalDomain = {
|
||||
AppleInterfaceStyle = "Dark";
|
||||
InitialKeyRepeat = 15;
|
||||
KeyRepeat = 2;
|
||||
ApplePressAndHoldEnabled = false;
|
||||
AppleShowAllFiles = true;
|
||||
AppleShowAllExtensions = true;
|
||||
"com.apple.springing.enabled" = true;
|
||||
"com.apple.springing.delay" = 0.0;
|
||||
};
|
||||
CustomSystemPreferences = {
|
||||
"com.apple.desktopservices" = {
|
||||
DSDontWriteNetworkStores = true;
|
||||
DSDontWriteUSBStores = true;
|
||||
};
|
||||
"com.apple.AdLib" = {
|
||||
allowApplePersonalizedAdvertising = false;
|
||||
allowIdentifierForAdvertising = false;
|
||||
forceLimitAdTracking = true;
|
||||
personalizedAdsMigrated = false;
|
||||
};
|
||||
};
|
||||
dock = {
|
||||
autohide = true;
|
||||
orientation = "bottom";
|
||||
tilesize = 48;
|
||||
};
|
||||
finder = {
|
||||
AppleShowAllExtensions = true;
|
||||
ShowPathbar = true;
|
||||
FXEnableExtensionChangeWarning = false;
|
||||
NewWindowTarget = "Home";
|
||||
FXPreferredViewStyle = "Nlsv";
|
||||
};
|
||||
loginwindow = {
|
||||
DisableConsoleAccess = true;
|
||||
GuestEnabled = false;
|
||||
};
|
||||
LaunchServices.LSQuarantine = false;
|
||||
};
|
||||
|
||||
system.activationScripts.postActivation.text = mkAfter ''
|
||||
echo "unhiding ${config.users.users.${config.system.primaryUser}.home}/Library..."
|
||||
/usr/bin/chflags nohidden ${config.users.users.${config.system.primaryUser}.home}/Library
|
||||
'';
|
||||
}
|
||||
Reference in new issue
Block a user