|  | 
| 74 | 74 |   }; | 
| 75 | 75 | 
 | 
| 76 | 76 |   outputs = | 
| 77 |  | -    inputs@{ self, flake-parts, ... }: | 
|  | 77 | +    inputs@{ flake-parts, ... }: | 
| 78 | 78 |     flake-parts.lib.mkFlake { inherit inputs; } { | 
| 79 | 79 |       imports = [ | 
| 80 | 80 |         inputs.dev.flakeModule | 
|  | 
| 109 | 109 |               { pkgs, ... }: | 
| 110 | 110 |               { | 
| 111 | 111 |                 nix.package = pkgs.nix; # Standalone home-manager requires an explicit nix package | 
|  | 112 | +                nixpkgs.config = { | 
|  | 113 | +                  allowUnfree = true; | 
|  | 114 | +                }; | 
| 112 | 115 |               } | 
| 113 | 116 |             ) | 
| 114 | 117 |           ]; | 
|  | 
| 164 | 167 |                 ./darwin-modules/tiling-wm.nix | 
| 165 | 168 |                 ./darwin-modules/linux-builder.nix | 
| 166 | 169 |                 ./darwin-modules/security.nix | 
| 167 |  | -                ./darwin-modules/homebrew-packages/common.nix | 
|  | 170 | +                ./darwin-modules/homebrew-packages | 
| 168 | 171 |                 ./darwin-modules/user.nix | 
| 169 | 172 | 
 | 
| 170 | 173 |                 ./overlays.nix | 
| 171 | 174 | 
 | 
| 172 | 175 |                 inputs.nix-homebrew.darwinModules.nix-homebrew | 
| 173 | 176 |               ]; | 
|  | 177 | +              rpi = [ | 
|  | 178 | +                ./nixos-modules/context.nix | 
|  | 179 | +                ./nixos-modules/nix.nix | 
|  | 180 | +                ./nixos-modules/profiles | 
|  | 181 | + | 
|  | 182 | +                ./overlays.nix | 
|  | 183 | + | 
|  | 184 | +                inputs.raspberry-pi-nix.nixosModules.raspberry-pi | 
|  | 185 | +                inputs.authentik-nix.nixosModules.default | 
|  | 186 | +              ]; | 
| 174 | 187 |             }.${class}; | 
| 175 | 188 |         }; | 
| 176 | 189 | 
 | 
|  | 
| 218 | 231 |             modules = [ | 
| 219 | 232 |               ./nixos-configurations/adama.nix | 
| 220 | 233 |               ./nixos-modules/default.nix | 
| 221 |  | -              inputs.raspberry-pi-nix.nixosModules.raspberry-pi | 
| 222 | 234 |               inputs.agenix.nixosModules.default | 
| 223 | 235 |               inputs.agenix-rekey.nixosModules.default | 
| 224 | 236 |               inputs.authentik-nix.nixosModules.default | 
|  | 
| 253 | 265 |                     fsType = "vfat"; | 
| 254 | 266 |                   }; | 
| 255 | 267 |                 }; | 
| 256 |  | - | 
| 257 |  | -                pyproject-nix-lib = inputs.pyproject-nix.lib; | 
| 258 | 268 |               } | 
| 259 |  | -              inputs.home-manager-nixos-24-11.nixosModules.home-manager | 
| 260 |  | -              ( | 
| 261 |  | -                { config, ... }: | 
| 262 |  | -                { | 
| 263 |  | -                  home-manager.users.${config.mainUser} = { | 
| 264 |  | -                    imports = [ | 
| 265 |  | -                      ./home-configurations/peteresselius.nix | 
| 266 |  | -                      ./home-modules/default.nix | 
| 267 |  | -                      inputs.agenix.homeManagerModules.default | 
| 268 |  | -                      inputs.krewfile.homeModules.krewfile | 
| 269 |  | -                      inputs.nix-index-database.hmModules.nix-index | 
| 270 |  | -                      inputs.nixvim.homeModules.nixvim | 
| 271 |  | -                      { | 
| 272 |  | -                        home.stateVersion = "24.05"; | 
| 273 |  | -                      } | 
| 274 |  | -                    ]; | 
| 275 |  | -                  }; | 
| 276 |  | -                  home-manager.extraSpecialArgs = { inherit inputs; }; | 
| 277 |  | -                } | 
| 278 |  | -              ) | 
| 279 | 269 |             ]; | 
| 280 | 270 |             specialArgs = { inherit inputs; }; | 
| 281 | 271 |           }; | 
|  | 272 | + | 
| 282 | 273 |           starbuck = { | 
| 283 | 274 |             arch = "aarch64"; | 
| 284 | 275 |             class = "rpi"; | 
| 285 | 276 |             deployable = true; | 
| 286 | 277 |             nixpkgs = inputs.nixpkgs-nixos-24-11; | 
| 287 | 278 |             modules = [ | 
| 288 | 279 |               ./nixos-configurations/starbuck.nix | 
| 289 |  | -              ./nixos-modules/default.nix | 
| 290 |  | -              inputs.raspberry-pi-nix.nixosModules.raspberry-pi | 
| 291 | 280 |               inputs.agenix.nixosModules.default | 
| 292 | 281 |               inputs.agenix-rekey.nixosModules.default | 
| 293 |  | -              inputs.authentik-nix.nixosModules.default | 
| 294 | 282 |               inputs.microvm.nixosModules.host | 
| 295 | 283 | 
 | 
| 296 | 284 |               { | 
| 297 |  | -                microvm.vms.haos = { | 
| 298 |  | -                  flake = self; | 
| 299 |  | -                  updateFlake = "github:esselius/cfg"; | 
| 300 |  | -                }; | 
| 301 |  | -              } | 
| 302 |  | - | 
| 303 |  | -              { | 
| 304 |  | -                nixpkgs-path = inputs.nixpkgs-nixos-24-11; | 
| 305 |  | -                nixpkgs-unstable-path = inputs.nixpkgs-unstable; | 
| 306 | 285 |                 age.rekey = { | 
| 307 | 286 |                   hostPubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFi1DoYv7wvIkYvTrjUVEqZI00H6d5437IgprVdFMI1+"; | 
| 308 | 287 |                   masterIdentities = [ | 
|  | 
| 329 | 308 |                   }; | 
| 330 | 309 |                 }; | 
| 331 | 310 |               } | 
| 332 |  | -              inputs.home-manager-nixos-24-11.nixosModules.home-manager | 
| 333 |  | -              ( | 
| 334 |  | -                { config, ... }: | 
| 335 |  | -                { | 
| 336 |  | -                  home-manager.users.${config.mainUser} = { | 
| 337 |  | -                    imports = [ | 
| 338 |  | -                      ./home-configurations/peteresselius.nix | 
| 339 |  | -                      ./home-modules/default.nix | 
| 340 |  | -                      inputs.agenix.homeModules.default | 
| 341 |  | -                      inputs.krewfile.homeModules.krewfile | 
| 342 |  | -                      inputs.nix-index-database.homeModules.nix-index | 
| 343 |  | -                      inputs.nixvim.homeModules.nixvim | 
| 344 |  | -                      { | 
| 345 |  | -                        home.stateVersion = "24.05"; | 
| 346 |  | -                      } | 
| 347 |  | -                    ]; | 
| 348 |  | -                  }; | 
| 349 |  | -                } | 
| 350 |  | -              ) | 
| 351 | 311 |             ]; | 
|  | 312 | +            specialArgs = { inherit inputs; }; | 
| 352 | 313 |           }; | 
| 353 | 314 |         }; | 
| 354 | 315 |       }; | 
|  | 
0 commit comments