This repository has no description
0

Configure Feed

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

Merge branch 'barnacle'

+110
+21
flake.lock
··· 106 106 "type": "github" 107 107 } 108 108 }, 109 + "nix-darwin": { 110 + "inputs": { 111 + "nixpkgs": [ 112 + "nixpkgs" 113 + ] 114 + }, 115 + "locked": { 116 + "lastModified": 1718662658, 117 + "narHash": "sha256-AKG7BsqtVWDlefgzyKz7vjaKTLi4+bmTSBhowbQoZtM=", 118 + "owner": "LnL7", 119 + "repo": "nix-darwin", 120 + "rev": "29b3096a6e283d7e6779187244cb2a3942239fdf", 121 + "type": "github" 122 + }, 123 + "original": { 124 + "owner": "LnL7", 125 + "repo": "nix-darwin", 126 + "type": "github" 127 + } 128 + }, 109 129 "nix-writers": { 110 130 "flake": false, 111 131 "locked": { ··· 247 267 "disko": "disko", 248 268 "flake-parts": "flake-parts", 249 269 "nether": "nether", 270 + "nix-darwin": "nix-darwin", 250 271 "nixos-hardware": "nixos-hardware", 251 272 "nixpkgs": "nixpkgs", 252 273 "spora": "spora",
+6
flake.nix
··· 36 36 # spora.url = "git+file:/home/lass/src/spora"; 37 37 spora.url = "github:krebs/spora"; 38 38 spora.inputs.nixpkgs.follows = "nixpkgs"; 39 + 40 + nix-darwin.url = "github:LnL7/nix-darwin"; 41 + nix-darwin.inputs.nixpkgs.follows = "nixpkgs"; 39 42 }; 40 43 41 44 outputs = inputs@{ self, flake-parts, nixpkgs, clan-core, ... }: ··· 83 86 clan-core.packages.${system}.clan-cli 84 87 ]; 85 88 }; 89 + }; 90 + flake.darwinConfigurations.barnacle = inputs.nix-darwin.lib.darwinSystem { 91 + modules = [ ./darwin/barnacle/config.nix ]; 86 92 }; 87 93 }; 88 94 }
+83
darwin/barnacle/config.nix
··· 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 + }