From 357fbda2bb2400a52f8dec61b66342b92fa945ae Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 17 Nov 2024 11:16:44 -0800 Subject: move machine configurations under darwin and nixos Don't manage fonts on Darwin with homebrew. --- nix/hosts/common/macos.nix | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 nix/hosts/common/macos.nix (limited to 'nix/hosts/common/macos.nix') diff --git a/nix/hosts/common/macos.nix b/nix/hosts/common/macos.nix deleted file mode 100644 index e764129..0000000 --- a/nix/hosts/common/macos.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ ... }: { - system.defaults.dock.autohide = true; - system.defaults.dock.orientation = "left"; - system.defaults.dock.showhidden = false; - system.defaults.dock.show-recents = false; - # don’t rearrange spaces based on the most recent use - system.defaults.dock.mru-spaces = false; - system.defaults.finder.AppleShowAllExtensions = true; - system.defaults.screencapture.location = "~/Documents/screenshots"; - system.defaults.SoftwareUpdate.AutomaticallyInstallMacOSUpdates = true; - - system.keyboard = { - enableKeyMapping = true; - remapCapsLockToControl = true; - }; - - # Touch ID for sudo auth - security.pam.enableSudoTouchIdAuth = true; - - services.nix-daemon.enable = true; - - system.defaults.CustomUserPreferences = { - "com.apple.desktopservices" = { - # Avoid creating .DS_Store files on network or USB volumes - DSDontWriteNetworkStores = true; - DSDontWriteUSBStores = true; - }; - }; -} -- cgit v1.2.3