This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / darwin / barnacle / config.nix
2.8 kB 83 lines
1{ pkgs, ... }: 2 3{ 4 imports = [ 5 # ./rosetta.nix 6 ]; 7 8 nixpkgs.hostPlatform = "aarch64-darwin"; 9 environment.systemPackages = [ 10 pkgs.neovim 11 pkgs.lazygit 12 pkgs.sshuttle 13 ]; 14 15 # Use a custom configuration.nix location. 16 # $ darwin-rebuild switch -I darwin-config=$HOME/.config/nixpkgs/darwin/configuration.nix 17 # environment.darwinConfig = "$HOME/.config/nixpkgs/darwin/configuration.nix"; 18 19 # Auto upgrade nix package and the daemon service. 20 services.nix-daemon.enable = true; 21 nix = { 22 package = pkgs.nix; 23 settings = { 24 extra-experimental-features = [ "nix-command" "flakes" ]; 25 }; 26 }; 27 28 homebrew = { 29 enable = true; 30 casks = [ 31 "firefox" 32 "element" 33 "gpg-suite" 34 "tunnelblick" 35 "microsoft-remote-desktop" 36 ]; 37 }; 38 39 system.defaults = { 40 # minimal dock 41 dock = { 42 autohide = true; 43 orientation = "left"; 44 show-process-indicators = false; 45 show-recents = false; 46 static-only = true; 47 }; 48 # a finder that tells me what I want to know and lets me work 49 finder = { 50 AppleShowAllExtensions = true; 51 ShowPathbar = true; 52 FXEnableExtensionChangeWarning = false; 53 }; 54 # Tab between form controls and F-row that behaves as F1-F12 55 NSGlobalDomain = { 56 AppleKeyboardUIMode = 3; 57 "com.apple.keyboard.fnState" = true; 58 }; 59 }; 60 61 # nix.linux-builder.enable = true; 62 63 # Create /etc/zshrc that loads the nix-darwin environment. 64 programs.zsh.enable = true; # default shell on catalina 65 # programs.fish.enable = true; 66 67 programs.direnv.enable = true; 68 programs.nix-index.enable = true; 69 programs.gnupg.agent = { 70 enable = true; 71 enableSSHSupport = true; 72 }; 73 74 # Used for backwards compatibility, please read the changelog before changing. 75 # $ darwin-rebuild changelog 76 system.stateVersion = 4; 77 78 # enable ssh in the macos system settings: 79 # apple -> system settings -> general -> sharing -> remote login 80 users.users.lassulus.openssh.authorizedKeys.keys = [ 81 "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDIb3uuMqE/xSJ7WL/XpJ6QOj4aSmh0Ga+GtmJl3CDvljGuIeGCKh7YAoqZAi051k5j6ZWowDrcWYHIOU+h0eZCesgCf+CvunlXeUz6XShVMjyZo87f2JPs2Hpb+u/ieLx4wGQvo/Zw89pOly/vqpaX9ZwyIR+U81IAVrHIhqmrTitp+2FwggtaY4FtD6WIyf1hPtrrDecX8iDhnHHuGhATr8etMLwdwQ2kIBx5BBgCoiuW7wXnLUBBVYeO3II957XP/yU82c+DjSVJtejODmRAM/3rk+B7pdF5ShRVVFyB6JJR+Qd1g8iSH+2QXLUy3NM2LN5u5p2oTjUOzoEPWZo7lykZzmIWd/5hjTW9YiHC+A8xsCxQqs87D9HK9hLA6udZ6CGkq4hG/6wFwNjSMnv30IcHZzx6IBihNGbrisrJhLxEiKWpMKYgeemhIirefXA6UxVfiwHg3gJ8BlEBsj0tl/HVARifR2y336YINEn8AsHGhwrPTBFOnBTmfA/VnP1NlWHzXCfVimP6YVvdoGCCnAwvFuJ+ZuxmZ3UzBb2TenZZOzwzV0sUzZk0D1CaSBFJUU3oZNOkDIM6z5lIZgzsyKwb38S8Vs3HYE+Dqpkfsl4yeU5ldc6DwrlVwuSIa4vVus4eWD3gDGFrx98yaqOx17pc4CC9KXk/2TjtJY5xmQ== lass@yubikey" 82 ]; 83}