diff options
Diffstat (limited to 'profiles')
| -rw-r--r-- | profiles/darwin/desktop.nix | 30 | ||||
| -rw-r--r-- | profiles/darwin/keyboard.nix | 7 | ||||
| -rw-r--r-- | profiles/darwin/nix.nix | 42 | ||||
| -rw-r--r-- | profiles/darwin/security.nix | 5 | ||||
| -rw-r--r-- | profiles/desktop/fonts.nix | 6 | ||||
| -rw-r--r-- | profiles/programs/fish.nix | 4 | ||||
| -rw-r--r-- | profiles/programs/ssh.nix | 7 |
7 files changed, 0 insertions, 101 deletions
diff --git a/profiles/darwin/desktop.nix b/profiles/darwin/desktop.nix deleted file mode 100644 index a5ca970..0000000 --- a/profiles/darwin/desktop.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ ... }: -{ - system.defaults = { - dock = { - autohide = true; - dashboard-in-overlay = false; - launchanim = false; # Don't animate opening applications. - mru-spaces = false; # don’t rearrange spaces based on the most recent use - orientation = "bottom"; - show-recents = false; - showhidden = false; - tilesize = 30; # Default is 64. - wvous-br-corner = 1; # Disable Notes hot corner. - }; - finder.AppleShowAllExtensions = true; - - CustomUserPreferences = { - "com.apple.desktopservices" = { - # Avoid creating .DS_Store files on network or USB volumes - DSDontWriteNetworkStores = true; - DSDontWriteUSBStores = true; - }; - }; - - # Requires the directory to already exist. - # See system.activationScripts.postUserActivation - screencapture.location = "~/Documents/screenshots"; - SoftwareUpdate.AutomaticallyInstallMacOSUpdates = true; - }; -} diff --git a/profiles/darwin/keyboard.nix b/profiles/darwin/keyboard.nix deleted file mode 100644 index c460bac..0000000 --- a/profiles/darwin/keyboard.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ ... }: -{ - system.keyboard = { - enableKeyMapping = true; - remapCapsLockToControl = true; - }; -} diff --git a/profiles/darwin/nix.nix b/profiles/darwin/nix.nix deleted file mode 100644 index 56d85ca..0000000 --- a/profiles/darwin/nix.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ - lib, - adminUser, - pkgs, - ... -}: -{ - nix = { - extraOptions = '' - tarball-ttl = 900 - ''; - gc = { - automatic = true; - options = "--delete-older-than 7d"; - }; - optimise = { - automatic = true; - }; - package = pkgs.nixVersions.stable; - settings = { - trusted-substituters = [ - "https://cachix.cachix.org" - "https://nixpkgs.cachix.org" - "https://nix-community.cachix.org" - ]; - trusted-public-keys = [ - "cachix.cachix.org-1:eWNHQldwUO7G2VkjpnjDbWwy4KQ/HNxht7H4SSoMckM=" - "nixpkgs.cachix.org-1:q91R6hxbwFvDqTSDKwDAV4T5PxqXGxswD8vhONFMeOE=" - "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" - "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" - ]; - trusted-users = [ - "@admin" - adminUser.name - ]; - experimental-features = lib.mkDefault [ - "nix-command" - "flakes" - ]; - }; - }; -} diff --git a/profiles/darwin/security.nix b/profiles/darwin/security.nix deleted file mode 100644 index 178fca1..0000000 --- a/profiles/darwin/security.nix +++ /dev/null @@ -1,5 +0,0 @@ -{ ... }: -{ - # Touch ID for sudo auth - security.pam.services.sudo_local.touchIdAuth = true; -} diff --git a/profiles/desktop/fonts.nix b/profiles/desktop/fonts.nix deleted file mode 100644 index 5767d3a..0000000 --- a/profiles/desktop/fonts.nix +++ /dev/null @@ -1,6 +0,0 @@ -{ pkgs, ... }: -{ - fonts.packages = with pkgs; [ - source-code-pro - ]; -} diff --git a/profiles/programs/fish.nix b/profiles/programs/fish.nix deleted file mode 100644 index 21fdf98..0000000 --- a/profiles/programs/fish.nix +++ /dev/null @@ -1,4 +0,0 @@ -{ ... }: -{ - programs.fish.enable = true; -} diff --git a/profiles/programs/ssh.nix b/profiles/programs/ssh.nix deleted file mode 100644 index 3e975ee..0000000 --- a/profiles/programs/ssh.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ ... }: -{ - programs.ssh.knownHosts = { - "github.com".publicKey = - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl"; - }; -} |
