1
0
mirror of https://git.oat.zone/dark-firepit/dotfiles synced 2024-11-23 02:12:26 +01:00
git.oat.zone--dark-firepit-.../nixos.nix
System administrator ec00c09f2e Dotfiles
2022-01-11 17:44:40 +00:00

22 lines
388 B
Nix
Executable File

{ lib, inputs, pkgs, ... }:
let
inherit (lib) nixosSystem mkDefault;
in {
/*
*/
mkHost = system: path:
nixosSystem {
inherit system;
specialArgs = { inherit lib inputs system; };
modules = [
{
nixpkgs.pkgs = pkgs;
networking.hostName = mkDefault (baseNameOf path);
}
../.
(import path)
];
};
}