Files
util.nix/nixos/system/devvm|manual/default.nix
2025-07-17 13:37:33 +00:00

20 lines
338 B
Nix

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