refactor: consistence

This commit is contained in:
2025-07-17 15:59:17 +00:00
parent 3d0fd7a030
commit 8cbfdcc0ea
4 changed files with 771 additions and 23 deletions

View File

@@ -0,0 +1,17 @@
{
flake,
self,
inputs,
system,
...
}: let
# Use folder name as name of this system
name = builtins.baseNameOf ./.;
in self.lib.nixpkgs-lib.nixosSystem {
inherit (self.legacyPackages."${system}") pkgs;
modules = [
{ networking.hostName = name; }
(import ./${name}.nix { inherit flake self inputs; })
];
}