Options
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
# Add this flake as an input.
plusultra.url = "path:/home/short/work/config";
};
outputs = { nixpkgs, plusultra, ... }: {
# Use plusultra.nixosModules
};
}
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
An attribute set to merge with networking.hosts
Type
attribute set
Default
{ }
Type
boolean
Default
false
Type
boolean
Default
false
A set of files to be managed by home-manager’s xdg.configFile
.
Type
attribute set
Default
{ }
Type
attribute set
Default
{ }
A set of files to be managed by home-manager’s home.file
.
Type
attribute set
Default
{ }
Type
boolean
Default
true
Type
package
Default
<derivation nix-2.16.1>
Type
string
Default
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
Type
string
Default
"https://cache.nixos.org"
Type
attribute set of (submodule)
Default
{ }
Type
null or string
Default
null
Type
boolean
Default
false
Type
boolean
Default
false
Example
true
Type
string
Default
"jake.hamilton@hey.com"
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
signed integer
Default
5
Type
boolean
Default
false
Type
boolean
Default
false
Example
true
Type
package
Default
<derivation attic-server-0.1.0>
Type
null or path
Default
null
Type
string
Default
"atticd"
Type
TOML value
Default
{ }
Type
string
Default
"atticd"
Type
boolean
Default
false
Type
boolean
Default
false
Example
true
Type
boolean
Default
false
Type
string
Default
"users"
Type
boolean
Default
false
Type
string
Default
"short"
Type
boolean
Default
false
Example
true
Type
string
Default
"dex"
The available options can be found in the example configuration.
Type
YAML value
Default
{ }
Example
{
# External url
issuer = "http://127.0.0.1:5556/dex";
storage = {
type = "postgres";
config.host = "/var/run/postgres";
};
web = {
http = "127.0.0.1:5556";
};
enablePasswordDB = true;
staticClients = [
{
id = "oidcclient";
name = "Client";
redirectURIs = [ "https://example.com/callback" ];
# The content of `secretFile` will be written into to the config as `secret`.
secretFile = "/etc/dex/oidcclient";
}
];
}
Type
path
Default
"/var/lib/dex"
Type
string
Default
"dex"
Type
boolean
Default
false
Type
boolean
Default
false
Example
true
Type
package
Default
<derivation homer-unstable-2023-06-23>
Type
boolean
Default
false
Type
null or string
Default
null
Type
boolean
Default
false
Type
YAML value
Default
{ }
Type
null or path
Default
null
Type
boolean
Default
false
Example
true
Type
boolean
Default
false
Example
true
Type
string
Default
"infrared"
Type
boolean
Default
false
Type
list of (submodule)
Default
[ ]
Example
[
{
domain = "minecraft.example.com";
port = 25567;
}
]
Type
string
Default
""
Example
"minecraft.example.com"
Type
string
Default
""
Type
16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
25566
Type
JSON value
Default
{ }
Type
string
Default
""
Type
string
Default
":25565"
Type
path
Default
"/var/lib/infrared"
Type
string
Default
"infrared"
Type
boolean
Default
false
Type
string
Default
""
Type
attribute set
Default
{
"browser.aboutConfig.showWarning" = false;
"browser.aboutwelcome.enabled" = false;
"browser.bookmarks.showMobileBookmarks" = true;
"browser.meta_refresh_when_inactive.disabled" = true;
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
"browser.ssb.enabled" = true;
"browser.startup.homepage" = "https://hamho.me";
"browser.urlbar.suggest.quicksuggest.sponsored" = false;
}
Type
string
Default
""
Type
boolean
Default
false
Example
true
Whether you agree to
Mojang’s EULA.
This option must be set to true
to run Minecraft server.
Type
boolean
Default
false
Type
boolean
Default
false
Example
true
Type
attribute set of (submodule)
Default
{ }
Example
{
# A default vanilla server.
vanilla-1 = {};
# A vanilla server with a custom port.
vanilla-2 = {
port = 4000;
};
# A vanilla server proxied by Infrared (when enabled).
vanilla-3 = {
domain = "minecraft.example.com";
};
# A Forge server.
forge-1 = {
type = "forge";
};
# Use a custom Minecraft server version.
custom-vanilla = {
package = pkgs.minecraft-server_1_12_2;
};
# Use a custom Forge server version.
custom-forge = {
type = "forge";
package = pkgs.minecraft-forge_1_19_2-43_1_25;
};
}
Type
package
Default
pkgs.minecraft-server
Type
path
Default
"/var/lib/minecraft/<name>"
Whether to use a declarative Minecraft server configuration.
Only if set to true
, the options
{option}plusultra.services.minecraft.servers.<name>.whitelist
and
{option}plusultra.services.minecraft.servers.<name>.serverProperties
will be
applied.
Type
boolean
Default
false
Type
string
Default
""
Extra options passed to Infrared (if enabled) when configuring this server.
Type
attribute set
Default
{ }
JVM options for the Minecraft server.
Type
strings concatenated with " "
Default
"-Xmx2048M -Xms2048M"
Example
"-Xms4092M -Xmx4092M -XX:+UseG1GC -XX:+CMSIncrementalPacing -XX:+CMSClassUnloadingEnabled -XX:ParallelGCThreads=2 -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10"
Whether to open ports in the firewall for the server.
Type
boolean
Default
false
Type
16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
25565
Minecraft server properties for the server.properties file. Only has
an effect when {option}services.minecraft-server.declarative
is set to true
. See
https://minecraft.gamepedia.com/Server.properties#Java_Edition_3
for documentation on these values.
Type
attribute set of (boolean or signed integer or string)
Default
{ }
Example
{
server-port = 43000;
difficulty = 3;
gamemode = 1;
max-players = 5;
motd = "NixOS Minecraft server!";
white-list = true;
enable-rcon = true;
"rcon.password" = "hunter2";
}
Type
one of "vanilla", "forge"
Default
"vanilla"
Whitelisted players, only has an effect when
{option}services.minecraft-server.declarative
is
true
and the whitelist is enabled
via {option}services.minecraft-server.serverProperties
by
setting white-list
to true
.
This is a mapping from Minecraft usernames to UUIDs.
You can use https://mcuuid.net/ to get a
Minecraft UUID for a username.
Type
attribute set of Minecraft UUID
Default
{ }
Example
{
username1 = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
username2 = "yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy";
};
Type
boolean
Default
false
Type
list of string
Default
[
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCwaaCUq3Ooq1BaHbg5IwVxWj/xmNJY2dDthHKPZefrHXv/ksM/IREgm38J0CdoMpVS0Zp1C/vFrwGfaYZ2lCF5hBVdV3gf+mvj8Yb8Xpm6aM4L5ig+oBMp/3cz1+g/I4aLMJfCKCtdD6Q2o4vtkTpid6X+kL3UGZbX0HFn3pxoDinzOXQnVGSGw+pQhLASvQeVXWTJjVfIWhj9L2NRJau42cBRRlAH9kE3HUbcgLgyPUZ28aGXLLmiQ6CUjiIlce5ee16WNLHQHOzVfPJfF1e1F0HwGMMBe39ey3IEQz6ab1YqlIzjRx9fQ9hQK6Du+Duupby8JmBlbUAxhh8KJFCJB2cXW/K5Et4R8GHMS6MyIoKQwFUXGyrszVfiuNTGZIkPAYx9zlCq9M/J+x1xUZLHymL85WLPyxhlhN4ysM9ILYiyiJ3gYrPIn5FIZrW7MCQX4h8k0bEjWUwH5kF3dZpEvIT2ssyIu12fGzXkYaNQcJEb5D9gT1mNyi2dxQ62NPZ5orfYyIZ7fn22d1P/jegG+7LQeXPiy5NLE6b7MP5Rq2dL8Y9Oi8pOBtoY9BpLh7saSBbNFXTBtH/8OfAQacxDsZD/zTFtCzZjtTK6yiAaXCZTvMIOuoYGZvEk6zWXrjVsU8FlqF+4JOTfePqr/SSUXNJyKnrvQJ1BfHQiYsrckw=="
]
Type
boolean
Default
true
Type
16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
2222
Type
boolean
Default
false
Type
boolean
Default
false
Example
true
Type
boolean
Default
true
Type
attribute set of (submodule)
Default
{ }
Type
boolean
Default
true
Type
string
Default
"‹name›"
Type
attribute set
Default
{ }
Type
boolean
Default
false
Type
string
Default
null
Type
boolean
Default
false
Type
boolean
Default
false
Type
string
Default
"WORKGROUP"
Type
boolean
Default
false
Type
boolean
Default
false
Type
string
Default
""
Type
boolean
Default
false
Example
true
Type
boolean
Default
false
Type
attribute set of (string or path)
Default
{ }
Type
string
Default
"/var/lib/vault/role-id"
Type
string
Default
"/var/lib/vault/secret-id"
Type
string
Default
"vault"
Type
string
Default
"vault"
Type
string
Default
""
Type
string
Default
"file"
Type
boolean
Default
true
Type
boolean
Default
false
Type
boolean
Default
false
Example
true
Type
attribute set of (submodule)
Default
{ }
Type
boolean
Default
true
Type
one of "restart", "stop", "none"
Default
"restart"
Type
boolean
Default
false
Type
list of string
Default
[ ]
Type
null or path or string
Default
null
Type
attribute set of (submodule)
Default
{ }
Type
string
Default
"/run/keys/environment/<service-name>/<template-name>.EnvFile"
Type
null or path
Default
null
Type
null or string
Default
null
Type
one of "restart", "stop", "none"
Default
"restart"
Type
attribute set of (submodule)
Default
{ }
Type
null or one of "restart", "stop", "none"
Default
null
Type
string
Default
"/tmp/detsys-vault/‹name›"
Type
string
Default
"0400"
Type
null or path
Default
null
Type
null or string
Default
null
Type
attribute set
Default
{ }
Type
attribute set
Default
{ }
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Example
true
Type
package
Default
<derivation source>
Type
boolean
Default
true
Type
list of string
Default
[
"beyondthefringeoc.com"
"hairbyjanine.com"
]
Type
boolean
Default
false
Type
boolean
Default
false
Example
true
Type
package
Default
<derivation dotbox-website>
Type
boolean
Default
true
Type
string
Default
"dotbox.dev"
Type
boolean
Default
false
Example
true
Type
package
Default
<derivation jakehamilton.dev-649ee50>
Type
boolean
Default
true
Type
list of string
Default
[
"jakehamilton.dev"
"jakehamilton.website"
]
Type
boolean
Default
false
Example
true
Type
package
Default
<derivation lasersandfeelings-888c201>
Type
boolean
Default
true
Type
string
Default
"lasersandfeelings.com"
Type
string
Default
"lasersandfeelings"
Type
16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
6901
Type
string
Default
"lasersandfeelings"
Type
boolean
Default
false
Type
boolean
Default
false
Example
true
Type
package
Default
<derivation noop.ai-38dae9e>
Type
boolean
Default
true
Type
list of string
Default
[
"noop.ai"
]
Type
boolean
Default
false
Type
boolean
Default
false
Example
true
Type
package
Default
<derivation retrospectacle-backend-8ce8f6f>
Type
boolean
Default
true
Type
string
Default
"retrospectacle.app"
Type
string
Default
"retrospectacle"
Type
16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
6903
Type
string
Default
"retrospectacle"
Type
boolean
Default
false
Example
true
Type
package
Default
<derivation scrumfish-backend-f214ed8>
Type
boolean
Default
true
Type
string
Default
"scrumfi.sh"
Type
string
Default
"scrumfish"
Type
16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
6902
Type
string
Default
"scrumfish"
Type
boolean
Default
false
Type
boolean
Default
false
Example
true
Type
package
Default
<derivation sokoban-website>
Type
boolean
Default
true
Type
string
Default
"sokoban.app"
Type
boolean
Default
false
Example
true
Type
package
Default
<derivation dotbox-website>
Type
boolean
Default
true
Type
string
Default
"traek.app"
Type
boolean
Default
false
Whether to enable Writefreely, build a digital writing community.
Type
boolean
Default
false
Example
true
Writefreely package to use.
Type
package
Default
pkgs.writefreely
Type
boolean
Default
false
Type
path
Default
"/nix/store/xxx-default-admin-pass"
Type
null or string
Default
null
When plusultra.services.writefreely.database.type
is set to
"mysql"
, this option will enable the MySQL service locally.
Type
boolean
Default
false
The database host to connect to.
Type
string
Default
"localhost"
Whether or not to automatically run migrations on startup.
Type
boolean
Default
true
Type
string
Default
"writefreely"
The file to load the database password from.
Type
null or path
Default
null
The port used when connecting to the database host.
Type
16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
3306
Whether or not TLS should be used for the database connection.
Type
boolean
Default
false
Type
one of "sqlite3", "mysql"
Default
"sqlite3"
The database user to connect as.
Type
null or string
Default
"writefreely"
Group under which Writefreely is ran.
Type
string
Default
"writefreely"
The public host name to serve.
Type
string
Default
""
Example
"example.com"
Type
boolean
Default
false
Type
boolean
Default
false
Writefreely configuration (config.ini
). Refer to
writefreely.org/docs/latest/admin/config
for details.
Type
attribute set of attribute set of (INI atom (null, bool, int, float or string))
Default
{ }
Type
string
Default
"write"
Type
16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
"80"
The state directory where keys and data are stored.
Type
path
Default
"/var/lib/writefreely"
User under which Writefreely is ran.
Type
string
Default
"writefreely"
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
attribute set of (string or path or list of (string or path))
Default
{ }
Type
boolean
Default
false
Type
list of package
Default
[ ]
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Example
true
Type
boolean
Default
false
Example
true
Type
list of string
Default
[
"rpool"
]
Type
boolean
Default
false
Type
boolean
Default
false
Type
package
Default
<derivation at>
Type
boolean
Default
false
Type
boolean
Default
false
Example
true
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
string
Default
"9762169A1B35EA68"
Type
string
Default
"jake.hamilton@hey.com"
Type
string
Default
"Jake Hamilton"
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Example
true
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
true
Type
package
Default
<derivation flyctl-0.1.23>
Type
package
Default
<derivation nodejs-18.16.1>
Type
boolean
Default
true
Type
package
Default
<derivation pnpm-8.5.1>
Type
boolean
Default
true
Type
package
Default
<derivation prettier-2.8.8>
Type
boolean
Default
true
Type
package
Default
<derivation yarn-1.22.19>
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
package
Default
<derivation titan>
Type
string
Default
"jake.hamilton@hey.com"
Type
list of string
Default
[ ]
Extra options passed to users.users.<name>
.
Type
attribute set
Default
{ }
Type
string
Default
"Jake Hamilton"
Type
null or package
Default
<derivation default-icon>
Type
string
Default
"password"
Type
string
Default
"short"
Type
boolean
Default
true
Type
boolean
Default
false
Type
boolean
Default
false
Type
list of string
Default
[ ]
Type
one of "amd", "intel"
Default
"amd"
Type
list of string
Default
[ ]
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Example
true
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Example
true
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
package
Default
<derivation prisma-engines-4.13.0>
Type
package
Default
<derivation prisma-4.13.0>
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
string
Default
"Bibata-Modern-Ice"
Type
package
Default
<derivation bibata-cursors-unstable-2023-03-03>
Type
string
Default
"Papirus"
Type
package
Default
<derivation papirus-icon-theme-20230301>
Type
string
Default
"Nordic-darker"
Type
package
Default
<derivation nordic-unstable-2023-05-12>
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
package
Default
<derivation foot-1.14.0>
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
boolean
Default
false
Type
one of "light", "dark"
Default
"dark"
Type
list of package
Default
[ ]
Type
null or path
Default
null
Type
boolean
Default
true
Type
string or package
Default
<derivation nord-rainbow-dark-nix>
Type
string or package
Default
<derivation nord-rainbow-light-nix>
Type
boolean
Default
true
Type
boolean
Default
false
Type
string
Default
""
Type
null or package
Default
null
Type
boolean
Default
false
Type
attribute set
Default
{ }
Type
list of package
Default
[
<derivation qjackctl-0.9.10>
<derivation easyeffects-7.0.4>
]
Type
list of (attribute set)
Default
[ ]
Type
list of (attribute set)
Default
[ ]
Type
boolean
Default
false