Samuel Shuert | cc979af | 2024-06-20 21:07:22 -0400 | [diff] [blame] | 1 | { |
| 2 | inputs, |
| 3 | config, |
| 4 | lib, |
| 5 | pkgs, |
Samuel Shuert | 5dc7eb1 | 2024-08-19 16:31:54 -0400 | [diff] [blame] | 6 | system, |
Samuel Shuert | cc979af | 2024-06-20 21:07:22 -0400 | [diff] [blame] | 7 | ... |
| 8 | }: |
| 9 | let |
| 10 | cfg = config.chimera.users.coded; |
| 11 | in { |
| 12 | options.chimera.users.coded.enable = lib.mkEnableOption "Enable Chimera options for coded"; |
| 13 | |
| 14 | config = lib.mkIf cfg.enable { |
| 15 | # Chimera Config |
| 16 | chimera.nextcloud.enable = true; |
| 17 | |
| 18 | chimera.shell.rebuildFlakePath = "/home/coded/Programming/Chimera/Nix/NixFiles"; |
| 19 | |
| 20 | chimera.shell = { |
| 21 | zsh.enable = true; |
| 22 | starship.enable = true; |
| 23 | |
| 24 | defaultAliases.enable = true; |
| 25 | usefulPackages.enable = true; |
| 26 | |
| 27 | replacements = { |
| 28 | defaultEnable = true; |
| 29 | bat.enable = false; |
| 30 | atuin.enableUpArrow = true; |
| 31 | }; |
| 32 | }; |
| 33 | |
| 34 | chimera.git = { |
Skyler Grey | cf0b856 | 2024-10-02 22:14:37 +0000 | [diff] [blame] | 35 | radicle = { |
| 36 | enable = true; |
| 37 | unstable = true; |
| 38 | }; |
Samuel Shuert | b6d67bd | 2024-07-01 13:15:18 -0400 | [diff] [blame] | 39 | jj.enable = true; |
Samuel Shuert | cc979af | 2024-06-20 21:07:22 -0400 | [diff] [blame] | 40 | gitReview.enable = true; |
| 41 | auth.clicksUsername = "coded"; |
| 42 | gpg.enable = true; |
| 43 | }; |
| 44 | |
| 45 | chimera.input.touchpad = { |
| 46 | enable = true; |
| 47 | scrolling.natural = true; |
| 48 | }; |
| 49 | |
| 50 | chimera.browser.firefox = { |
| 51 | enable = true; |
| 52 | extensions = { |
| 53 | bitwarden.enable = true; |
| 54 | youtube = { |
| 55 | sponsorBlock.enable = true; |
| 56 | returnDislike.enable = true; |
| 57 | deArrow.enable = true; |
| 58 | }; |
| 59 | reactDevTools.enable = true; |
| 60 | adnauseam.enable = true; |
| 61 | }; |
| 62 | search = { |
| 63 | enable = true; |
| 64 | extensions.enable = true; |
| 65 | bookmarks.enable = true; |
| 66 | engines = [ |
| 67 | "Kagi" |
| 68 | "MDN" |
| 69 | "NixOS Options" |
| 70 | "NixOS Packages" |
| 71 | "Home-Manager Options" |
| 72 | "Noogle" |
| 73 | "GitHub" |
| 74 | "Arch Wiki" |
| 75 | "Gentoo Wiki" |
| 76 | ]; |
| 77 | }; |
| 78 | extraExtensions = [ |
| 79 | config.nur.repos.rycee.firefox-addons.refined-github |
| 80 | config.nur.repos.rycee.firefox-addons.new-tab-override |
| 81 | ]; |
| 82 | }; |
| 83 | |
Samuel Shuert | e771150 | 2024-06-30 17:25:48 -0400 | [diff] [blame] | 84 | chimera.browser.chromium.enable = true; |
| 85 | |
Samuel Shuert | 8d85796 | 2024-08-23 10:59:43 -0400 | [diff] [blame] | 86 | chimera.games = { |
| 87 | minecraft.enable = true; |
| 88 | itch.enable = true; |
| 89 | }; |
Samuel Shuert | cc979af | 2024-06-20 21:07:22 -0400 | [diff] [blame] | 90 | chimera.editor = { |
| 91 | neovim.enable = true; |
| 92 | editorconfig.enable = true; |
| 93 | emacs = { |
| 94 | enable = true; |
| 95 | defaultEditor = false; |
| 96 | }; |
| 97 | }; |
Samuel Shuert | aaf2f29 | 2024-07-02 18:49:25 -0400 | [diff] [blame] | 98 | chimera.code.zed.enable = true; |
Samuel Shuert | cc979af | 2024-06-20 21:07:22 -0400 | [diff] [blame] | 99 | |
| 100 | chimera.theme.font.nerdFontGlyphs.enable = true; |
| 101 | |
| 102 | chimera.theme.catppuccin = { |
| 103 | enable = true; |
| 104 | style = "Macchiato"; |
| 105 | color = "Blue"; |
| 106 | }; |
| 107 | |
| 108 | chimera.yubikey.enable = true; |
| 109 | |
Samuel Shuert | 35d5f65 | 2024-07-01 13:09:28 -0400 | [diff] [blame] | 110 | chimera.niri.startupCommands = [ |
| 111 | { |
| 112 | command = [ "nextcloud" ]; |
| 113 | } |
| 114 | ]; |
| 115 | |
Samuel Shuert | a210ff9 | 2024-10-02 16:34:40 -0400 | [diff] [blame^] | 116 | # Shell Aliases |
| 117 | home.shellAliases.chat = "iamb"; |
| 118 | |
Samuel Shuert | cc979af | 2024-06-20 21:07:22 -0400 | [diff] [blame] | 119 | # Programming Folder Creation |
| 120 | home.file = { |
| 121 | "Programming/README.md" = { |
| 122 | text = '' |
| 123 | # Structure |
| 124 | [Org]/[Language]/[project] |
| 125 | |
| 126 | Both Org and Language should be capitalized however project may follow any name scheme. |
| 127 | ''; |
| 128 | }; |
| 129 | "Programming/Personal/README.md" = { |
| 130 | text = '' |
| 131 | # What is this directory for? |
| 132 | This directory stores all my personal programming projects |
| 133 | |
| 134 | # Git config modifications |
| 135 | user.name = "Samuel Shuert" |
| 136 | user.email = "me@thecoded.prof" |
| 137 | ''; |
| 138 | }; |
| 139 | "Programming/Auxolotl/README.md" = { |
| 140 | text = '' |
| 141 | # What is this directory for? |
| 142 | This directory stores all Auxolotl related programming projects |
| 143 | |
| 144 | # Git config modifications |
| 145 | user.name = "Samuel Shuert" |
| 146 | user.email = "me@thecoded.prof" |
| 147 | ''; |
| 148 | }; |
| 149 | "Programming/Chimera/README.md" = { |
| 150 | text = '' |
| 151 | # What is this directory for? |
| 152 | This directory stores all Chimera related programming projects |
| 153 | |
| 154 | # Git config modifications |
| 155 | user.name = "Samuel Shuert" |
| 156 | user.email = "me@thecoded.prof" |
| 157 | ''; |
| 158 | }; |
| 159 | "Programming/Clicks/README.md" = { |
| 160 | text = '' |
| 161 | # What is this directory for? |
| 162 | This directory stores all Clicks related programming projects |
| 163 | |
| 164 | # Git config modifications |
| 165 | user.name = "Samuel Shuert" |
| 166 | user.email = "coded@clicks.codes" |
| 167 | ''; |
| 168 | }; |
| 169 | }; |
| 170 | |
| 171 | # Git Config |
| 172 | programs.git.includes = [ |
| 173 | { |
| 174 | condition = "gitdir:~/Programming/Chimera/**"; |
| 175 | |
| 176 | contents = { |
| 177 | user.name = "Samuel Shuert"; |
| 178 | user.email = "me@thecoded.prof"; |
| 179 | }; |
| 180 | } |
| 181 | { |
| 182 | condition = "gitdir:~/Programming/Clicks/**"; |
| 183 | |
| 184 | contents = { |
| 185 | user.name = "Samuel Shuert"; |
| 186 | user.email = "coded@clicks.codes"; |
| 187 | }; |
| 188 | } |
| 189 | { |
| 190 | condition = "gitdir:~/Programming/Personal/**"; |
| 191 | |
| 192 | contents = { |
| 193 | user.name = "Samuel Shuert"; |
| 194 | user.email = "me@thecoded.prof"; |
| 195 | }; |
| 196 | } |
| 197 | { |
| 198 | condition = "gitdir:~/Programming/Auxolotl/**"; |
| 199 | |
| 200 | contents = { |
| 201 | user.name = "Samuel Shuert"; |
| 202 | user.email = "me@thecoded.prof"; |
| 203 | }; |
| 204 | } |
| 205 | ]; |
| 206 | |
Samuel Shuert | b6d67bd | 2024-07-01 13:15:18 -0400 | [diff] [blame] | 207 | programs.git.extraConfig.user = { |
| 208 | name = "Samuel Shuert"; |
| 209 | signingkey = "00E944BFBE99ADB5"; |
| 210 | }; |
| 211 | |
Samuel Shuert | cc979af | 2024-06-20 21:07:22 -0400 | [diff] [blame] | 212 | # Additional Kitty Config |
| 213 | programs.kitty.extraConfig = '' |
| 214 | map kitty_mod+enter launch --cwd=current --type=window |
| 215 | map kitty_mod+t launch --cwd=current --type=tab |
| 216 | ''; |
| 217 | |
| 218 | # Additional Packages |
Samuel Shuert | a210ff9 | 2024-10-02 16:34:40 -0400 | [diff] [blame^] | 219 | home.packages = [ pkgs.foliate pkgs.openrgb inputs.zen-browser.packages."${system}".specific pkgs.iamb pkgs.scarab ]; |
Samuel Shuert | cc979af | 2024-06-20 21:07:22 -0400 | [diff] [blame] | 220 | }; |
| 221 | } |
Samuel Shuert | a210ff9 | 2024-10-02 16:34:40 -0400 | [diff] [blame^] | 222 | >>>>>>> Conflict 1 of 1 ends |