This repository has no description
0

Configure Feed

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

machines.barnacle: more setup

+25 -4
+1
flake.nix
··· 175 175 }; 176 176 }; 177 177 flake.darwinConfigurations.barnacle = inputs.nix-darwin.lib.darwinSystem { 178 + specialArgs.self = self; 178 179 modules = [ ./darwin/barnacle/config.nix ]; 179 180 }; 180 181 flake.keys = {
+24 -4
darwin/barnacle/config.nix
··· 1 - { pkgs, ... }: 1 + { pkgs, self, ... }: 2 2 3 3 { 4 4 imports = [ 5 5 # ./rosetta.nix 6 + self.inputs.nix-index-database.darwinModules.nix-index 6 7 ]; 8 + programs.nix-index-database.comma.enable = true; 7 9 8 10 nixpkgs.hostPlatform = "aarch64-darwin"; 9 11 environment.systemPackages = [ 10 - pkgs.neovim 12 + self.packages.${pkgs.system}.nvim 13 + self.packages.${pkgs.system}.pass 14 + self.packages.${pkgs.system}.passmenu 15 + 16 + # zsh dependencies 17 + pkgs.fzf 18 + pkgs.atuin 19 + 20 + pkgs.gnupg 11 21 pkgs.lazygit 12 22 pkgs.sshuttle 13 23 pkgs.git 24 + pkgs.element-desktop 25 + pkgs.iterm2 26 + pkgs.firefox-devedition-bin 27 + pkgs.ripgrep 28 + pkgs.alt-tab-macos 14 29 ]; 15 30 16 31 # Use a custom configuration.nix location. ··· 56 71 }; 57 72 }; 58 73 59 - # nix.linux-builder.enable = true; 74 + nix.linux-builder.enable = true; 60 75 61 76 # Create /etc/zshrc that loads the nix-darwin environment. 62 77 programs.zsh.enable = true; # default shell on catalina 63 - # programs.fish.enable = true; 78 + programs.zsh.shellInit = self.packages.${pkgs.system}.zsh.zshrc; 64 79 80 + # enable sudo touch 81 + security.pam.services.sudo_local.touchIdAuth = true; 82 + 83 + # disable natural scrolling 84 + system.defaults.NSGlobalDomain."com.apple.swipescrolldirection" = false; 65 85 programs.direnv.enable = true; 66 86 programs.nix-index.enable = true; 67 87 programs.gnupg.agent = {