this repo has no description
0
fork

Configure Feed

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

reorganizing stuff

moving flake?

more crap

darwin crud

depr

grr

hopefully fixie

grr

finall

+306 -244
+129
darwin/darwin.nix
··· 1 + { 2 + config, 3 + pkgs, 4 + ... 5 + }: { 6 + # List packages installed in system profile. To search by name, run: 7 + # $ nix-env -qaP | grep wget 8 + environment.systemPackages = [ 9 + pkgs.net-news-wire 10 + pkgs.home-manager 11 + ]; 12 + 13 + homebrew = { 14 + enable = true; 15 + onActivation.cleanup = "uninstall"; 16 + onActivation.autoUpdate = true; 17 + onActivation.upgrade = true; 18 + 19 + taps = []; 20 + brews = [ 21 + "aria2" 22 + "brotli" 23 + "ccache" 24 + "cmake" 25 + "dust" 26 + "docker" 27 + "earthly" 28 + "ffmpeg" 29 + "git-delta" 30 + "git-filter-repo" 31 + "git-lfs" 32 + "git-town" 33 + "gitoxide" 34 + "jpeg" 35 + "jpeg-turbo" 36 + "libjpeg-turbo" 37 + "jq" 38 + "less" 39 + "libmypaint" 40 + "libusb" 41 + "libuv" 42 + "libpng" 43 + "libogg" 44 + "libvorbis" 45 + "hashlink" 46 + "mbedtls@2" 47 + "nano" 48 + "ninja" 49 + "openal-soft" 50 + "opencv" 51 + "openssl" 52 + "oxipng" 53 + "pcre" 54 + "qt@5" 55 + "railway" 56 + "rust" 57 + "sdl2" 58 + "sapling" 59 + "sevenzip" 60 + "spicetify-cli" 61 + "starship" 62 + "sugarjar" 63 + "sqlite" 64 + "wiggle" 65 + "yarn" 66 + "zbar" 67 + "zlib" 68 + "zola" 69 + "zsh-autosuggestions" 70 + "fd" 71 + "git-cliff" 72 + ]; 73 + casks = [ 74 + "ableton-live-intro@11" 75 + "dolphin@dev" 76 + "love" 77 + "obsidian" 78 + "warp" 79 + "bitwarden" 80 + "obs" 81 + "reaper" 82 + "rustdesk" 83 + "wezterm" 84 + "anki" 85 + "netnewswire" 86 + "zed" 87 + ]; 88 + }; 89 + 90 + nixpkgs.hostPlatform = "aarch64-darwin"; 91 + 92 + # Use a custom configuration.nix location. 93 + # $ darwin-rebuild switch -I darwin-config=$HOME/.config/nixpkgs/darwin/configuration.nix 94 + environment.darwinConfig = "$HOME/.config/nix/darwin"; 95 + 96 + # Auto upgrade nix package and the daemon service. 97 + services.nix-daemon.enable = true; 98 + # nix.package = pkgs.nix; 99 + 100 + # Create /etc/zshrc that loads the nix-darwin environment. 101 + programs.zsh.enable = true; # default shell on catalina 102 + programs.fish.enable = true; 103 + 104 + # Used for backwards compatibility, please read the changelog before changing. 105 + # $ darwin-rebuild changelog 106 + system.stateVersion = 4; 107 + 108 + security.pam.enableSudoTouchIdAuth = true; 109 + system.defaults.NSGlobalDomain.AppleKeyboardUIMode = 3; 110 + system.defaults.NSGlobalDomain.ApplePressAndHoldEnabled = false; 111 + system.defaults.NSGlobalDomain.InitialKeyRepeat = 10; 112 + system.defaults.NSGlobalDomain.KeyRepeat = 1; 113 + system.defaults.NSGlobalDomain.NSAutomaticCapitalizationEnabled = false; 114 + system.defaults.NSGlobalDomain.NSAutomaticInlinePredictionEnabled = false; 115 + system.defaults.NSGlobalDomain.NSAutomaticDashSubstitutionEnabled = false; 116 + system.defaults.NSGlobalDomain.NSAutomaticPeriodSubstitutionEnabled = false; 117 + system.defaults.NSGlobalDomain.NSAutomaticQuoteSubstitutionEnabled = false; 118 + system.defaults.NSGlobalDomain.NSAutomaticSpellingCorrectionEnabled = false; 119 + system.defaults.NSGlobalDomain.NSNavPanelExpandedStateForSaveMode = true; 120 + system.defaults.NSGlobalDomain.NSNavPanelExpandedStateForSaveMode2 = true; 121 + 122 + system.defaults.finder.QuitMenuItem = true; 123 + system.defaults.finder.FXEnableExtensionChangeWarning = false; 124 + 125 + users.users.mofin = { 126 + name = "mofin"; 127 + home = "/Users/mofin"; 128 + }; 129 + }
+98
darwin/flake.nix
··· 1 + { 2 + # darwin-rebuild switch --flake ~/.config/nix 3 + description = "Darwin config"; 4 + 5 + inputs = { 6 + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; 7 + 8 + nix-darwin.url = "github:LnL7/nix-darwin"; 9 + nix-darwin.inputs.nixpkgs.follows = "nixpkgs"; 10 + 11 + home-manager.url = "github:nix-community/home-manager"; 12 + home-manager.inputs.nixpkgs.follows = "nixpkgs"; 13 + 14 + alejandra.url = "github:kamadorueda/alejandra/3.0.0"; 15 + alejandra.inputs.nixpkgs.follows = "nixpkgs"; 16 + }; 17 + 18 + outputs = inputs @ { 19 + self, 20 + nix-darwin, 21 + nixpkgs, 22 + home-manager, 23 + alejandra, 24 + ... 25 + }: let 26 + configuration = {pkgs, ...}: { 27 + # List packages installed in system profile. To search by name, run: 28 + # $ nix-env -qaP | grep wget 29 + environment.systemPackages = [ 30 + pkgs.vim 31 + pkgs.home-manager 32 + pkgs.alejandra 33 + pkgs.neovim 34 + pkgs.fzf 35 + pkgs.eza 36 + pkgs.yt-dlp 37 + pkgs.zoxide 38 + pkgs.bottom 39 + pkgs.bat 40 + pkgs.htop 41 + pkgs.difftastic 42 + ]; 43 + 44 + # Auto upgrade nix package and the daemon service. 45 + services.nix-daemon.enable = true; 46 + # nix.package = pkgs.nix; 47 + 48 + # Necessary for using flakes on this system. 49 + nix.settings.experimental-features = "nix-command flakes"; 50 + 51 + # Create /etc/zshrc that loads the nix-darwin environment. 52 + programs.zsh.enable = true; # default shell on catalina 53 + 54 + nixpkgs.config.allowUnfree = true; 55 + 56 + programs.fish = with pkgs.fishPlugins; { 57 + enable = true; 58 + }; 59 + 60 + # Set Git commit hash for darwin-version. 61 + system.configurationRevision = self.rev or self.dirtyRev or null; 62 + 63 + # Used for backwards compatibility, please read the changelog before changing. 64 + # $ darwin-rebuild changelog 65 + system.stateVersion = 4; 66 + 67 + # The platform the configuration will be used on. 68 + nixpkgs.hostPlatform = "aarch64-darwin"; 69 + }; 70 + in { 71 + # Build darwin flake using: 72 + # $ darwin-rebuild build --flake .#Camerons-MacBook-Pro 73 + 74 + darwinConfigurations = { 75 + "Camerons-MacBook-Pro" = nix-darwin.lib.darwinSystem { 76 + system = "aarch64-darwin"; 77 + 78 + modules = [ 79 + ./darwin.nix 80 + configuration 81 + home-manager.darwinModules.home-manager 82 + { 83 + home-manager.useGlobalPkgs = true; 84 + home-manager.useUserPackages = true; 85 + home-manager.users.mofin = import ../home-manager/home.nix; 86 + 87 + # Optionally, use home-manager.extraSpecialArgs to pass 88 + # arguments to home.nix 89 + } 90 + ]; 91 + 92 + }; 93 + }; 94 + 95 + # Expose the package set, including overlays, for convenience. 96 + darwinPackages = self.darwinConfigurations."Camerons-MacBook-Pro".pkgs; 97 + }; 98 + }
+64
dotfiles/.gitconfig
··· 1 + [user] 2 + name = Cameron Taylor 3 + email = cameron.taylor.ninja@gmail.com 4 + [pull] 5 + rebase = merges 6 + [submodule] 7 + recurse = true 8 + [credential "https://github.com"] 9 + helper = 10 + helper = !/opt/homebrew/bin/gh auth git-credential 11 + [credential "https://gist.github.com"] 12 + helper = 13 + helper = !/opt/homebrew/bin/gh auth git-credential 14 + [filter "lfs"] 15 + clean = git-lfs clean -- %f 16 + smudge = git-lfs smudge -- %f 17 + process = git-lfs filter-process 18 + required = true 19 + [init] 20 + defaultBranch = main 21 + [help] 22 + autoCorrect = 10 23 + [merge] 24 + conflictstyle = zdiff3 25 + [diff] 26 + algorithm = histogram 27 + submodule = log 28 + colorMoved = default 29 + [status] 30 + submoduleSummary = true 31 + [fetch] 32 + prune = true 33 + prunetags = true 34 + parallel = 0 35 + [core] 36 + excludesfile = /Users/mofin/.gitignore 37 + pager = delta 38 + [branch] 39 + sort = -committerdate 40 + [interactive] 41 + diffFilter = delta --color-only --features=interactive 42 + [delta] 43 + navigate = true 44 + side-by-side = true 45 + true-color = always 46 + map-styles = bold purple => syntax magenta, bold cyan => syntax blue 47 + features = zebra-dark 48 + hyperlinks = true 49 + 50 + [delta "interactive"] 51 + keep-plus-minus-markers = false 52 + 53 + [rebase] 54 + autoSquash = true 55 + missingCommitsCheck = error 56 + updateRefs = true 57 + [rerere] 58 + enabled = true 59 + [blame] 60 + ignoreRevsFile = 61 + [url "git@github.com:"] 62 + insteadOf = https://github.com/ 63 + [checkout] 64 + workers = 1
hardware-configuration.nix nixos/hardware-configuration.nix
+6 -6
home.nix home-manager/home.nix
··· 6 6 # Home Manager needs a bit of information about you and the paths it should 7 7 # manage. 8 8 9 + home.homeDirectory = "/Users/mofin"; 10 + 9 11 # This value determines the Home Manager release that your configuration is 10 12 # compatible with. This helps avoid breakage when a new Home Manager release 11 13 # introduces backwards incompatible changes. ··· 19 21 # environment. 20 22 home.packages = with pkgs; [ 21 23 hello 24 + neovim 25 + git 22 26 # # It is sometimes useful to fine-tune packages, for example, by applying 23 27 # # overrides. You can do that directly here, just don't forget the 24 28 # # parentheses. Maybe you want to install Nerd Fonts with a limited number of ··· 40 44 # # the Nix store. Activating the configuration will then make '~/.screenrc' a 41 45 # # symlink to the Nix store copy. 42 46 # ".screenrc".source = dotfiles/screenrc; 47 + 48 + ".gitconfig".source = ../dotfiles/.gitconfig; 43 49 44 50 # # You can also set the file content immediately. 45 51 # ".gradle/gradle.properties".text = '' ··· 64 70 65 71 # Let Home Manager install and manage itself. 66 72 programs.home-manager.enable = true; 67 - 68 - programs.zsh = { 69 - enable = true; 70 - enableAutosuggestions = true; 71 - enableCompletion = true; 72 - }; 73 73 }
+9 -9
mac/flake.lock darwin/flake.lock
··· 68 68 ] 69 69 }, 70 70 "locked": { 71 - "lastModified": 1724435763, 72 - "narHash": "sha256-UNky3lJNGQtUEXT2OY8gMxejakSWPTfWKvpFkpFlAfM=", 71 + "lastModified": 1728726232, 72 + "narHash": "sha256-8ZWr1HpciQsrFjvPMvZl0W+b0dilZOqXPoKa2Ux36bc=", 73 73 "owner": "nix-community", 74 74 "repo": "home-manager", 75 - "rev": "c2cd2a52e02f1dfa1c88f95abeb89298d46023be", 75 + "rev": "d57112db877f07387ce7104b5ac346ede556d2d7", 76 76 "type": "github" 77 77 }, 78 78 "original": { ··· 88 88 ] 89 89 }, 90 90 "locked": { 91 - "lastModified": 1724994893, 92 - "narHash": "sha256-yutISDGg6HUaZqCaa54EcsfTwew3vhNtt/FNXBBo44g=", 91 + "lastModified": 1728385805, 92 + "narHash": "sha256-mUd38b0vhB7yzgAjNOaFz7VY9xIVzlbn3P2wjGBcVV0=", 93 93 "owner": "LnL7", 94 94 "repo": "nix-darwin", 95 - "rev": "c8d3157d1f768e382de5526bb38e74d2245cad04", 95 + "rev": "48b50b3b137be5cfb9f4d006835ce7c3fe558ccc", 96 96 "type": "github" 97 97 }, 98 98 "original": { ··· 103 103 }, 104 104 "nixpkgs": { 105 105 "locked": { 106 - "lastModified": 1725099143, 107 - "narHash": "sha256-CHgumPZaC7z+WYx72WgaLt2XF0yUVzJS60rO4GZ7ytY=", 106 + "lastModified": 1728538411, 107 + "narHash": "sha256-f0SBJz1eZ2yOuKUr5CA9BHULGXVSn6miBuUWdTyhUhU=", 108 108 "owner": "NixOS", 109 109 "repo": "nixpkgs", 110 - "rev": "5629520edecb69630a3f4d17d3d33fc96c13f6fe", 110 + "rev": "b69de56fac8c2b6f8fd27f2eca01dcda8e0a4221", 111 111 "type": "github" 112 112 }, 113 113 "original": {
-192
mac/flake.nix
··· 1 - { 2 - # darwin-rebuild switch --flake ~/.config/nix 3 - description = "Darwin config"; 4 - 5 - inputs = { 6 - nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; 7 - nix-darwin.url = "github:LnL7/nix-darwin"; 8 - nix-darwin.inputs.nixpkgs.follows = "nixpkgs"; 9 - 10 - home-manager.url = "github:nix-community/home-manager"; 11 - home-manager.inputs.nixpkgs.follows = "nixpkgs"; 12 - 13 - alejandra.url = "github:kamadorueda/alejandra/3.0.0"; 14 - alejandra.inputs.nixpkgs.follows = "nixpkgs"; 15 - }; 16 - 17 - outputs = inputs @ { 18 - self, 19 - nix-darwin, 20 - nixpkgs, 21 - home-manager, 22 - alejandra, 23 - ... 24 - }: let 25 - configuration = {pkgs, ...}: { 26 - # List packages installed in system profile. To search by name, run: 27 - # $ nix-env -qaP | grep wget 28 - environment.systemPackages = [ 29 - pkgs.vim 30 - pkgs.home-manager 31 - pkgs.alejandra 32 - pkgs.neovim 33 - pkgs.net-news-wire 34 - pkgs.fzf 35 - pkgs.eza 36 - pkgs.yt-dlp 37 - pkgs.zoxide 38 - pkgs.bottom 39 - pkgs.bat 40 - pkgs.htop 41 - ]; 42 - 43 - homebrew = { 44 - enable = true; 45 - onActivation.cleanup = "uninstall"; 46 - onActivation.autoUpdate = true; 47 - onActivation.upgrade = true; 48 - 49 - taps = []; 50 - brews = [ 51 - "ccache" 52 - "cmake" 53 - "dust" 54 - "docker" 55 - "emscripten" 56 - "earthly" 57 - "ffmpeg" 58 - "git" 59 - "git-delta" 60 - "git-filter-repo" 61 - "git-lfs" 62 - "git-town" 63 - "gitoxide" 64 - "jpeg" 65 - "jpeg-turbo" 66 - "libjpeg-turbo" 67 - "jq" 68 - "libmypaint" 69 - "libusb" 70 - "libuv" 71 - "libpng" 72 - "libogg" 73 - "libvorbis" 74 - "hashlink" 75 - "mbedtls@2" 76 - "nano" 77 - "neofetch" 78 - "neovim" 79 - "ninja" 80 - "openal-soft" 81 - "opencv" 82 - "openssl" 83 - "oxipng" 84 - "pcre" 85 - "qt@5" 86 - "railway" 87 - "rust" 88 - "sdl2" 89 - "sapling" 90 - "sevenzip" 91 - "spicetify-cli" 92 - "starship" 93 - "sugarjar" 94 - "sqlite" 95 - "wiggle" 96 - "yarn" 97 - "zbar" 98 - "zlib" 99 - "zola" 100 - "zsh-autosuggestions" 101 - "fd" 102 - ]; 103 - casks = [ 104 - "ableton-live-intro@11" 105 - "dolphin@dev" 106 - "love" 107 - "obsidian" 108 - "warp" 109 - "bitwarden" 110 - "obs" 111 - "reaper" 112 - "rustdesk" 113 - "wezterm" 114 - "anki" 115 - "netnewswire" 116 - ]; 117 - }; 118 - 119 - # Auto upgrade nix package and the daemon service. 120 - services.nix-daemon.enable = true; 121 - # nix.package = pkgs.nix; 122 - 123 - # Necessary for using flakes on this system. 124 - nix.settings.experimental-features = "nix-command flakes"; 125 - 126 - # Create /etc/zshrc that loads the nix-darwin environment. 127 - programs.zsh.enable = true; # default shell on catalina 128 - 129 - nixpkgs.config.allowUnfree = true; 130 - 131 - programs.fish = with pkgs.fishPlugins; { 132 - enable = true; 133 - }; 134 - 135 - # Set Git commit hash for darwin-version. 136 - system.configurationRevision = self.rev or self.dirtyRev or null; 137 - 138 - # Used for backwards compatibility, please read the changelog before changing. 139 - # $ darwin-rebuild changelog 140 - system.stateVersion = 4; 141 - 142 - system.defaults.NSGlobalDomain.AppleKeyboardUIMode = 3; 143 - system.defaults.NSGlobalDomain.ApplePressAndHoldEnabled = false; 144 - system.defaults.NSGlobalDomain.InitialKeyRepeat = 10; 145 - system.defaults.NSGlobalDomain.KeyRepeat = 1; 146 - system.defaults.NSGlobalDomain.NSAutomaticCapitalizationEnabled = false; 147 - system.defaults.NSGlobalDomain.NSAutomaticInlinePredictionEnabled = false; 148 - system.defaults.NSGlobalDomain.NSAutomaticDashSubstitutionEnabled = false; 149 - system.defaults.NSGlobalDomain.NSAutomaticPeriodSubstitutionEnabled = false; 150 - system.defaults.NSGlobalDomain.NSAutomaticQuoteSubstitutionEnabled = false; 151 - system.defaults.NSGlobalDomain.NSAutomaticSpellingCorrectionEnabled = false; 152 - system.defaults.NSGlobalDomain.NSNavPanelExpandedStateForSaveMode = true; 153 - system.defaults.NSGlobalDomain.NSNavPanelExpandedStateForSaveMode2 = true; 154 - 155 - system.defaults.finder.QuitMenuItem = true; 156 - system.defaults.finder.FXEnableExtensionChangeWarning = false; 157 - 158 - # The platform the configuration will be used on. 159 - nixpkgs.hostPlatform = "aarch64-darwin"; 160 - 161 - security.pam.enableSudoTouchIdAuth = true; 162 - }; 163 - in { 164 - # Build darwin flake using: 165 - # $ darwin-rebuild build --flake .#Camerons-MacBook-Pro 166 - darwinConfigurations."Camerons-MacBook-Pro" = nix-darwin.lib.darwinSystem { 167 - modules = [configuration]; 168 - }; 169 - 170 - darwinConfigurations = { 171 - hostname = nix-darwin.lib.darwinSystem { 172 - system = "aarch64-darwin"; 173 - modules = [ 174 - ./nix-darwin-configuration.nix 175 - 176 - home-manager.darwinModules.home-manager 177 - { 178 - home-manager.useGlobalPkgs = true; 179 - home-manager.useUserPackages = true; 180 - home-manager.users.mofin = import ./home.nix; 181 - 182 - # Optionally, use home-manager.extraSpecialArgs to pass 183 - # arguments to home.nix 184 - } 185 - ]; 186 - }; 187 - }; 188 - 189 - # Expose the package set, including overlays, for convenience. 190 - darwinPackages = self.darwinConfigurations."Camerons-MacBook-Pro".pkgs; 191 - }; 192 - }
-37
nix-darwin-configuration.nix
··· 1 - { 2 - config, 3 - pkgs, 4 - ... 5 - }: { 6 - imports = [<home-manager/nix-darwin>]; 7 - 8 - # List packages installed in system profile. To search by name, run: 9 - # $ nix-env -qaP | grep wget 10 - environment.systemPackages = [ 11 - pkgs.vim 12 - ]; 13 - 14 - nixpkgs.hostPlatform = "aarch64-darwin"; 15 - nix.settings.experimental-features = "nix-command flakes"; 16 - 17 - # Use a custom configuration.nix location. 18 - # $ darwin-rebuild switch -I darwin-config=$HOME/.config/nixpkgs/darwin/configuration.nix 19 - # environment.darwinConfig = "$HOME/.config/nixpkgs/darwin/configuration.nix"; 20 - 21 - # Auto upgrade nix package and the daemon service. 22 - services.nix-daemon.enable = true; 23 - # nix.package = pkgs.nix; 24 - 25 - # Create /etc/zshrc that loads the nix-darwin environment. 26 - programs.zsh.enable = true; # default shell on catalina 27 - programs.fish.enable = true; 28 - 29 - # Used for backwards compatibility, please read the changelog before changing. 30 - # $ darwin-rebuild changelog 31 - system.stateVersion = 4; 32 - 33 - users.users.mofin = { 34 - name = "Cameron Taylor"; 35 - home = "/Users/mofin"; 36 - }; 37 - }
nixos-configuration.nix nixos/nixos-configuration.nix