Initial commit

This commit is contained in:
2025-02-06 11:58:03 +01:00
commit 5b865c24e2
26 changed files with 958 additions and 0 deletions

20
hosts/default.nix Normal file
View File

@ -0,0 +1,20 @@
{ self, ... }:
let
inherit (self) inputs;
system = "x86_64-linux";
homeDir = self + /profiles;
pkgs = inputs.nixpkgs.legacyPackages.${system};
mkSystem = pkgs: hostname:
pkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
./base-configuration.nix
./${hostname}
homeDir
inputs.home-manager.nixosModules.home-manager
];
};
in {
hulk = mkSystem inputs.nixpkgs "hulk";
}