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 86 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 = [ 25 "nix-command" 26 "flakes" 27 ]; 28 }; 29 }; 30 31 homebrew = { 32 enable = true; 33 casks = [ 34 "firefox" 35 "element" 36 "gpg-suite" 37 "tunnelblick" 38 "microsoft-remote-desktop" 39 ]; 40 }; 41 42 system.defaults = { 43 # minimal dock 44 dock = { 45 autohide = true; 46 orientation = "left"; 47 show-process-indicators = false; 48 show-recents = false; 49 static-only = true; 50 }; 51 # a finder that tells me what I want to know and lets me work 52 finder = { 53 AppleShowAllExtensions = true; 54 ShowPathbar = true; 55 FXEnableExtensionChangeWarning = false; 56 }; 57 # Tab between form controls and F-row that behaves as F1-F12 58 NSGlobalDomain = { 59 AppleKeyboardUIMode = 3; 60 "com.apple.keyboard.fnState" = true; 61 }; 62 }; 63 64 # nix.linux-builder.enable = true; 65 66 # Create /etc/zshrc that loads the nix-darwin environment. 67 programs.zsh.enable = true; # default shell on catalina 68 # programs.fish.enable = true; 69 70 programs.direnv.enable = true; 71 programs.nix-index.enable = true; 72 programs.gnupg.agent = { 73 enable = true; 74 enableSSHSupport = true; 75 }; 76 77 # Used for backwards compatibility, please read the changelog before changing. 78 # $ darwin-rebuild changelog 79 system.stateVersion = 4; 80 81 # enable ssh in the macos system settings: 82 # apple -> system settings -> general -> sharing -> remote login 83 users.users.lassulus.openssh.authorizedKeys.keys = [ 84 "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" 85 ]; 86}