1
Fork 0

Parametrize the username a bit more

This commit is contained in:
prescientmoon 2024-05-21 01:37:39 +02:00
parent 2d5b7e794a
commit 2caf4884db
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
32 changed files with 288 additions and 239 deletions

View file

@ -2,7 +2,8 @@
{
# example = import ./example.nix;
cloudflaredd = import ./cloudflared.nix;
cloudflared = import ./cloudflared.nix;
nginx = import ./nginx.nix;
pilot = import ./pilot.nix;
pounce = import ./pounce.nix;
}

8
modules/nixos/pilot.nix Normal file
View file

@ -0,0 +1,8 @@
{ lib, ... }: {
options.satellite.pilot = {
name = lib.mkOption {
type = lib.types.str;
description = "The name of the main user for this machine, as defined by `users.users.\${name}`";
};
};
}

View file

@ -34,8 +34,7 @@ in
# {{{ Options
options.services.pounce = {
# {{{ general options
enable = mkEnableOption
(lib.mdDoc "the Pounce IRC bouncer and Calico dispatcher");
enable = mkEnableOption "the Pounce IRC bouncer and Calico dispatcher";
user = mkOption {
type = types.str;