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