feat: ...get internet again. git-hooks.nix adopt

This commit is contained in:
Kat Inskip 2025-08-18 15:13:47 -07:00
parent 7a0f09e700
commit e00ec8f2f2
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
116 changed files with 1157 additions and 4681 deletions

View file

@ -13,7 +13,7 @@
inherit (std) string set;
in {
options = let
inherit (lib.types) str listOf attrs unspecified enum;
inherit (lib.types) str listOf attrs nullOr unspecified enum bool;
inherit (lib.options) mkOption;
in {
name = mkOption {
@ -55,6 +55,18 @@ in {
type = unspecified;
internal = true;
};
microVM = {
state = mkOption {
description = "Does this system exist as a guest MicroVM?";
type = bool;
default = false;
};
host = mkOption {
description = "The hostname that is the host of this guest MicroVM";
type = nullOr str;
default = null;
};
};
};
config = {
system = let