Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

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

Add catgirl config

+43 -4
+22 -2
default-home.nix
··· 1 - { pkgs, unstable, ... }: 1 + { 2 + pkgs, 3 + unstable, 4 + inputs, 5 + config, 6 + ... 7 + }: 2 8 { 3 9 4 10 home.username = "noah"; 5 11 home.homeDirectory = "/home/noah"; 6 12 13 + age.identityPaths = [ 14 + "${config.home.homeDirectory}/.ssh/id_rsa" 15 + "${config.home.homeDirectory}/.ssh/id_ed25519" 16 + "${config.home.homeDirectory}/.ssh/id_ed25519_age" 17 + ]; 18 + 7 19 home.packages = with pkgs; [ 20 + inputs.agenix.packages."${system}".agenix 8 21 # main tool 9 22 direnv 10 23 tree ··· 109 122 "nix-command" 110 123 "flakes" 111 124 ]; 112 - trusted-users = [ 125 + extra-trusted-users = [ 113 126 "noah" 114 127 ]; 115 128 extra-substituters = [ ··· 198 211 nix-direnv.enable = true; 199 212 }; 200 213 214 + xdg.enable = true; 215 + 201 216 # Independent config files. 202 217 xdg.configFile.nvim = { 203 218 source = ./nvim; ··· 223 238 home.file.".local/bin" = { 224 239 source = ./scripts; 225 240 recursive = true; 241 + }; 242 + age.secrets.catgirl-libera = { 243 + file = ./secrets/catgirl-libera.age; 244 + path = "${config.xdg.configHome}/catgirl/libera"; 245 + symlink = true; 226 246 }; 227 247 228 248 manual.manpages.enable = true;
+9 -2
flake.nix
··· 160 160 }; 161 161 # Specify your home configuration modules here, for example, 162 162 # the path to your home.nix. 163 - modules = [ ./host-specific/aleister-noah.nix ]; 163 + modules = [ 164 + ./host-specific/aleister-noah.nix 165 + agenix.homeManagerModules.default 166 + ]; 164 167 165 168 # Optionally use extraSpecialArgs 166 169 # to pass through arguments to home.nix ··· 178 181 }; 179 182 # Specify your home configuration modules here, for example, 180 183 # the path to your home.nix. 181 - modules = [ ./default-home.nix ]; 184 + modules = [ 185 + ./default-home.nix 186 + agenix.homeManagerModules.default 187 + ]; 182 188 183 189 # Optionally use extraSpecialArgs 184 190 # to pass through arguments to home.nix ··· 187 193 system = "x86_64-linux"; 188 194 config.allowUnfree = true; 189 195 }; 196 + inputs = inputs; 190 197 }; 191 198 }; 192 199 checks = forAllSystems (system: {
+10
secrets/catgirl-libera.age
··· 1 + age-encryption.org/v1 2 + -> ssh-ed25519 QBbeMw PrgR2RT7HMRapTw8QcRtBU1vfOdrvOdFR+dxlaTMSH4 3 + 2oG68+hYV5W90Beaqpi/VonPwXzB52NTwwJGKmV8YM0 4 + -> ssh-ed25519 Wv0Urw LvqWE5p2G3QnxbqOQMSd631mCqfhJvE9P/yRuwTTkFk 5 + 3jGowP4TKe3T92NXcZjmqU+QFGcyuT2+H3EU/nqTF8s 6 + -> ssh-ed25519 WVNCXA YGX6M8E4JGpJNeZIhiN/t+tx1NQNc+Ewy9HC2dxm3yY 7 + mhxXrgnbh4ng2tIeQrYfxlnlSCk/fTEBDDOg2MEVP2g 8 + --- JpMgqNty36r0OAyDTaLY8yiFHGXzQLm8gh6XXmJQ094 9 + E~�ƿ ׭ #2%%��`Ϳ�~��~�Si<�3� 10 + 7k��b�+OMr�3GxžhG�WY9.�xU1�Re�*%���v�!����������2�wJ_B�)�"��I� �k��[u�jvV5��8n�D��2���H�|
+2
secrets/secrets.nix
··· 2 2 noah = [ 3 3 "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDQFlX3hhXxsqAUYLvF+IX1YWQ+k22OHlqMOjgyNBe9e noah@misaki" 4 4 "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC/cXL1cV6QUW5z2bJp1mCu0CXrcc0Dntdxaeo3fg60N noah@odin" 5 + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIChbA8oSqYgmjIGYjlpAPLf+Nl6IlcSb2Zmh/Hl6xm88 noah@accelerator" 5 6 ]; 6 7 misaki = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO+Rcf4Lr+JPWGKQol6eAml6SMgERkGJWgN7y1qYUUvX root@nixos"; 7 8 edge = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINCmFKYXpQf1E8E7fj5s+3R33HPRjPhXrv++FCKYBCd4 root@nixos"; ··· 24 25 noah 25 26 ]; 26 27 "validator-identity.age".publicKeys = [ edge ]; 28 + "catgirl-libera.age".publicKeys = noah; 27 29 }