mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-29 07:20:43 +00:00
Update options
This commit is contained in:
parent
439f9a15f3
commit
935b4094a2
7 changed files with 14 additions and 14 deletions
18
options/system/default.nix
Normal file
18
options/system/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ lib, ... }: with lib; let
|
||||
inherit (lib) mkOption;
|
||||
in
|
||||
{
|
||||
imports = [ ];
|
||||
|
||||
options.myOptions.system = {
|
||||
hostname = mkOption {
|
||||
type = types.str;
|
||||
description = "Hostname for this system";
|
||||
};
|
||||
|
||||
username = mkOption {
|
||||
type = types.str;
|
||||
description = "Username for the primary admin account for this system";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue