Definition of backup targets.
Type: attribute set of (submodule)
Default:
{ }
Declared by:
Whether to enable this backup target.
Type: boolean
Default:
false
Example:
true
Declared by:
Paths to exclude from backup.
Type: list of string
Default:
[ ]
Example:
[
/home/alex/.cache
]
Declared by:
Paths to backup.
Type: list of string
Default:
[ ]
Example:
[
/home/alex/.bash_history
/home/alex/.local/share/qutebrowser/history.sqlite
]
Declared by:
Location of the private key file used to connect with target.
Match with a public key in my-nixos.users.backup.keys
.
Type: string
Default:
"/home/backup/.ssh/id_ed25519"
Declared by:
A list of options (–keep-* et al.) for ‘restic forget –prune’, to automatically prune old snapshots. The ‘forget’ command is run after the ‘backup’ command, so keep that in mind when constructing the --keep-* options.
Type: list of string
Default:
[
"--keep-daily 7"
"--keep-weekly 5"
"--keep-monthly 12"
"--keep-yearly 75"
]
Declared by:
When to run the backup. See systemd.timer(5)
for
details. If null no timer is created and the backup will only
run when explicitly started.
Type: anything
Default:
{
OnCalendar = "01:00";
Persistent = true;
}
Declared by:
Definition of per-user desktop environment.
Type: attribute set of (submodule)
Default:
{ }
Declared by:
Whether to enable desktop environment for this user.
Type: boolean
Default:
false
Example:
true
Declared by:
Definition of per-domain Django apps to serve.
Type: attribute set of (submodule)
Default:
{ }
Declared by:
Whether to enable Django app.
Type: boolean
Default:
false
Example:
true
Declared by:
Location pattern for proxy to django, empty string -> no proxy
Type: string
Default:
"/"
Example:
"~ ^/(api|admin)"
Declared by:
Location pattern for static files, empty string -> no static
Type: string
Default:
"/static/"
Declared by:
Listening port.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Example:
8000
Declared by:
Whether to enable SSL (https) support.
Type: boolean
Declared by:
Username for app owner
Type: string
Declared by:
Definition of per-domain Django+React apps to serve.
Type: attribute set of (submodule)
Default:
{ }
Declared by:
Whether to enable Django+React app.
Type: boolean
Default:
false
Example:
true
Declared by:
Listening ports.
Type: list of 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Example:
[
8000
8001
]
Declared by:
Whether to enable SSL (https) support.
Type: boolean
Declared by:
Username for app owner
Type: string
Declared by:
Definition of per-domain Django+SvelteKit apps to serve.
Type: attribute set of (submodule)
Default:
{ }
Declared by:
Whether to enable Django+SvelteKit app.
Type: boolean
Default:
false
Example:
true
Declared by:
Listening ports.
Type: list of 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Example:
[
8000
8001
]
Declared by:
Whether to enable SSL (https) support.
Type: boolean
Declared by:
Username for app owner
Type: string
Declared by:
Whether to enable the jails configured with services.fail2ban.jails
.
Type: boolean
Default:
false
Example:
true
Declared by:
A list of IP addresses, CIDR masks or DNS hosts not ta ban a host.
Type: list of string
Default:
[ ]
Example:
[
"10.0.0.0/24"
"shadowserver.org"
]
Declared by:
Definition of per-domain FastAPI apps to serve.
Type: attribute set of (submodule)
Default:
{ }
Declared by:
Whether to enable FastAPI app.
Type: boolean
Default:
false
Example:
true
Declared by:
Listening port.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Example:
8000
Declared by:
Whether to enable SSL (https) support.
Type: boolean
Declared by:
Username for app owner
Type: string
Default:
null
Declared by:
Definition of per-domain FastAPI+SvelteKit apps to serve.
Type: attribute set of (submodule)
Default:
{ }
Declared by:
Whether to enable FastAPI+SvelteKit app.
Type: boolean
Default:
false
Example:
true
Declared by:
Listening ports.
Type: list of 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Example:
[
8000
8001
]
Declared by:
Whether to enable SSL (https) support.
Type: boolean
Declared by:
Username for app owner
Type: string
Declared by:
Whether to enable updating DNS-record on glesys.
Type: boolean
Default:
false
Example:
true
Declared by:
Glesys account id.
Type: string
Declared by:
Device that should be watched.
Type: string
Example:
"enp3s0"
Declared by:
The glesys id of the record
Type: string
Declared by:
Set of users to be configured with home-manager.
Type: attribute set of (submodule)
Default:
{ }
Declared by:
Whether to enable home-manager for this user.
Type: boolean
Default:
false
Example:
true
Declared by:
Set of users to be configured with IDE.
Type: attribute set of (submodule)
Default:
{ }
Declared by:
Whether to enable IDE for this user.
Type: boolean
Default:
false
Example:
true
Declared by:
Whether to enable a mysql db with same name.
Type: boolean
Default:
false
Example:
true
Declared by:
Whether to enable a postgres db with same name.
Type: boolean
Default:
false
Example:
true
Declared by:
Whether to enable mail server.
Type: boolean
Default:
false
Example:
true
Declared by:
List of domains to manage.
Type: attribute set of (submodule)
Declared by:
Enable if this host is the domain’s final destination.
Type: boolean
Declared by:
Configure user accounts.
Type: attribute set of (submodule)
Declared by:
Whether to enable this user.
Type: boolean
Default:
true
Example:
true
Declared by:
Make the user recipient of a whole domain.
Type: list of string
Default:
[ ]
Declared by:
Specification of one or more mysql user/database pair to setup
Type: attribute set of (submodule)
Default:
{ }
Declared by:
Ensure mysql database for the user
Type: boolean
Default:
true
Declared by:
Specification of one or more postgresql user/database pair to setup
Type: attribute set of (submodule)
Default:
{ }
Declared by:
Ensure a postgresql database for the user.
Type: boolean
Default:
true
Declared by:
Specification of one or more React sites to serve
Type: attribute set of (submodule)
Default:
{ }
Declared by:
Whether to enable react-app for this host…
Type: boolean
Default:
false
Example:
true
Declared by:
URL for the API endpoint
Type: string
Declared by:
URL path to serve the application.
Type: string
Default:
"/"
Declared by:
Whether the react-app can assume https or not.
Type: boolean
Declared by:
Set of users to be configured with sendmail.
Type: attribute set of (submodule)
Default:
{ }
Declared by:
Whether to enable sendmail…
Type: boolean
Default:
true
Example:
true
Declared by:
Set of users to be configured with shell
Type: attribute set of (submodule)
Default:
{ }
Declared by:
Whether to enable shell for this user.
Type: boolean
Default:
false
Example:
true
Declared by:
Specification of one or more Svelte sites to serve
Type: attribute set of (submodule)
Default:
{ }
Declared by:
Whether to enable svelte-app for this host…
Type: boolean
Default:
false
Example:
true
Declared by:
URL for the API endpoint
Type: string
Declared by:
Server side URL for the API endpoint
Type: string
Declared by:
URL path to serve the application.
Type: string
Default:
"/"
Declared by:
Port to serve the application.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Declared by:
Whether the svelte-app can assume https or not.
Type: boolean
Declared by:
Username for app owner
Type: string
Declared by:
Set of users to be configured.
Type: attribute set of (submodule)
Default:
{ }
Declared by:
Whether to enable this user.
Type: boolean
Default:
true
Example:
true
Declared by:
Emails this user manages.
Type: list of string
Default:
[ ]
Declared by:
User email.
Type: string
Declared by:
User groups.
Type: list of string
Default:
[ ]
Declared by:
Public SSH keys.
Type: list of path
Default:
[ ]
Declared by:
User name.
Type: string
Declared by:
User id.
Type: signed integer
Declared by:
Set of users to be configured with visual design tools.
Type: attribute set of (submodule)
Default:
{ }
Declared by:
Whether to enable Visual design tools for this user.
Type: boolean
Default:
false
Example:
true
Declared by:
Whether to enable this host to be part of 10.0.0.0/24.
Type: boolean
Default:
false
Example:
true
Declared by:
Keepalive interval.
Type: signed integer
Default:
25
Declared by:
Listening port for establishing a connection.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default:
51820
Declared by:
Specification of one or more wordpress sites to serve
Type: attribute set of (submodule)
Default:
{ }
Declared by:
Whether to enable wordpress on this host…
Type: boolean
Default:
false
Example:
true
Declared by:
Protect the site with basic auth.
Type: attribute set of string
Default:
{ }
Declared by:
Enable HTTPS.
Type: boolean
Declared by:
Prefix the url with www.
Type: boolean
Default:
false
Declared by:
Whether to enable Desktop Environment for this user.
Type: boolean
Default:
false
Example:
true
Declared by:
Whether to enable IDE for this user.
Type: boolean
Default:
false
Example:
true
Declared by:
Email for git.
Type: string
Declared by:
Name for git.
Type: string
Declared by:
Whether to enable Enable shell for this user.
Type: boolean
Default:
false
Example:
true
Declared by:
Whether to enable home-manager for this user.
Type: boolean
Default:
false
Example:
true
Declared by:
Name for the user.
Type: string
Declared by:
Whether to enable Enable visual design tools for this user.
Type: boolean
Default:
false
Example:
true
Declared by: