Parametrize the username a bit more
This commit is contained in:
parent
2d5b7e794a
commit
2caf4884db
32 changed files with 288 additions and 239 deletions
modules/nixos
|
@ -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
8
modules/nixos/pilot.nix
Normal 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}`";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue