Begin getting base setup implemented
This commit is contained in:
parent
453099b068
commit
84f6e1a93f
11 changed files with 425 additions and 0 deletions
16
nix/modules/nixos/qemu-guest/default.nix
Normal file
16
nix/modules/nixos/qemu-guest/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
modulesPath,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.khscodes.hetzner;
|
||||
in
|
||||
{
|
||||
options.khscodes.qemu-guest = {
|
||||
enable = lib.mkEnableOption "Configures machine with NixOS profile for qemu guest";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable (import "${modulesPath}/profiles/qemu-guest.nix" { });
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue