v1 of duckdns update service.
This commit is contained in:
parent
093a4d82e3
commit
45132109d7
8 changed files with 89 additions and 112 deletions
23
modules/nixos/hostopts.nix
Normal file
23
modules/nixos/hostopts.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
options = {
|
||||
host = {
|
||||
user = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = "Primary human user";
|
||||
};
|
||||
fullName = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = "Primary human users long name";
|
||||
};
|
||||
gui.enable = lib.mkEnableOption "enable GUI";
|
||||
isLaptop = lib.mkEnableOption "machine is a laptop";
|
||||
isVm = lib.mkEnableOption "machine is a virtual machine";
|
||||
isSever = lib.mkEnableOption "machine is primarily a server";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue