nixos
sys.packages
Section titled “sys.packages”List of packages to install.
Type: lazy attribute set of package
Default:
{ }Declared by:
sys.environment.ageKeyPath
Section titled “sys.environment.ageKeyPath”Path to the age private key.
Type: string
Default:
"/Users/diogo/age.txt"Declared by:
sys.environment.flakePath
Section titled “sys.environment.flakePath”Path to the Nix flake.
Type: string
Default:
"/Users/diogo/flake"Declared by:
sys.kernel.packages
Section titled “sys.kernel.packages”Kernel package.
Type: raw value
Default:
"pkgs.linuxPackages_latest"Declared by:
sys.mainUser
Section titled “sys.mainUser”The username of the main user for this host.
Type: value “diogo” (singular enum)
Default:
"diogo"Declared by:
sys.networking.mdns.enable
Section titled “sys.networking.mdns.enable”Whether to enable mDNS.
Type: boolean
Default:
falseExample:
trueDeclared by:
sys.networking.wireguard.enable
Section titled “sys.networking.wireguard.enable”Whether to enable WireGuard.
Type: boolean
Default:
falseExample:
trueDeclared by:
sys.networking.wireguard.interface
Section titled “sys.networking.wireguard.interface”WireGuard interface name.
Type: string
Default:
"wg0"Declared by:
sys.networking.wireguard.ips
Section titled “sys.networking.wireguard.ips”IP addresses assigned to this WireGuard interface.
Type: list of string
Default:
[ ]Example:
[ "10.100.0.1/24"]Declared by:
sys.networking.wireguard.listenPort
Section titled “sys.networking.wireguard.listenPort”UDP listen port for WireGuard.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default:
51820Declared by:
sys.networking.wireguard.mtu
Section titled “sys.networking.wireguard.mtu”WireGuard interface MTU (Maximum Transmission Unit).
Type: null or signed integer
Default:
nullDeclared by:
sys.networking.wireguard.peer.looseReversePathFilter
Section titled “sys.networking.wireguard.peer.looseReversePathFilter”Set firewall reverse path filtering to loose mode
Type: boolean
Default:
falseDeclared by:
sys.networking.wireguard.peers
Section titled “sys.networking.wireguard.peers”WireGuard peers for this node.
Type: list of (submodule)
Default:
[ ]Declared by:
sys.networking.wireguard.peers.*.allowedIPs
Section titled “sys.networking.wireguard.peers.*.allowedIPs”IPs routed through this peer.
Type: list of string
Default:
[ ]Example:
[ "10.100.0.2/32"]Declared by:
sys.networking.wireguard.peers.*.endpoint
Section titled “sys.networking.wireguard.peers.*.endpoint”Peer endpoint.
Type: null or string
Default:
nullDeclared by:
sys.networking.wireguard.peers.*.name
Section titled “sys.networking.wireguard.peers.*.name”Peer name.
Type: null or string
Default:
nullDeclared by:
sys.networking.wireguard.peers.*.persistentKeepalive
Section titled “sys.networking.wireguard.peers.*.persistentKeepalive”Persistent keepalive in seconds (this is usually 25 for NATed clients).
Type: null or signed integer
Default:
nullDeclared by:
sys.networking.wireguard.peers.*.publicKey
Section titled “sys.networking.wireguard.peers.*.publicKey”Peer public key.
Type: string
Declared by:
sys.networking.wireguard.role
Section titled “sys.networking.wireguard.role”Whether this node is the central server or a client peer.
Type: one of “server”, “peer”
Default:
"peer"Declared by:
sys.networking.wireguard.server.enableNAT
Section titled “sys.networking.wireguard.server.enableNAT”Whether to NAT client traffic out through this server
Type: boolean
Default:
falseDeclared by:
sys.networking.wireguard.server.externalInterface
Section titled “sys.networking.wireguard.server.externalInterface”WAN interface for NAT, e.g. eth0
Type: null or string
Default:
nullDeclared by:
sys.networking.wireguard.trustInterface
Section titled “sys.networking.wireguard.trustInterface”Whether to trust the WireGuard interface
Type: boolean
Default:
falseDeclared by:
sys.profiles.graphical.enable
Section titled “sys.profiles.graphical.enable”Whether to enable Graphical Interface.
Type: boolean
Default:
falseExample:
trueDeclared by:
sys.profiles.headless.enable
Section titled “sys.profiles.headless.enable”Whether to enable Headless mode.
Type: boolean
Default:
falseExample:
trueDeclared by:
sys.profiles.workstation.enable
Section titled “sys.profiles.workstation.enable”Whether to enable Workstation profile.
Type: boolean
Default:
falseExample:
trueDeclared by:
sys.services.asf.enable
Section titled “sys.services.asf.enable”Whether to enable ArchiSteamFarm.
Type: boolean
Default:
falseExample:
trueDeclared by:
sys.services.asf.domain
Section titled “sys.services.asf.domain”The domain name associated with ArchiSteamFarm.
Type: string
Default:
"networking.domain"Declared by:
sys.services.asf.host
Section titled “sys.services.asf.host”The network interface address on which ArchiSteamFarm listens for incoming connections.
Type: string
Default:
"127.0.0.1"Declared by:
sys.services.asf.port
Section titled “sys.services.asf.port”The TCP port on which ArchiSteamFarm accepts connections.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default:
1242Declared by:
sys.services.caddy.enable
Section titled “sys.services.caddy.enable”Whether to enable Caddy.
Type: boolean
Default:
falseExample:
trueDeclared by:
sys.services.caddy.domain
Section titled “sys.services.caddy.domain”The domain name associated with Caddy.
Type: string
Default:
"networking.domain"Declared by:
sys.services.caddy.host
Section titled “sys.services.caddy.host”The network interface address on which Caddy listens for incoming connections.
Type: string
Default:
"127.0.0.1"Declared by:
sys.services.caddy.port
Section titled “sys.services.caddy.port”The TCP port on which Caddy accepts connections.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default:
0Declared by:
sys.services.postgresql.enable
Section titled “sys.services.postgresql.enable”Whether to enable PostgreSQL.
Type: boolean
Default:
falseExample:
trueDeclared by:
sys.services.postgresql.domain
Section titled “sys.services.postgresql.domain”The domain name associated with PostgreSQL.
Type: string
Default:
"networking.domain"Declared by:
sys.services.postgresql.host
Section titled “sys.services.postgresql.host”The network interface address on which PostgreSQL listens for incoming connections.
Type: string
Default:
"127.0.0.1"Declared by:
sys.services.postgresql.port
Section titled “sys.services.postgresql.port”The TCP port on which PostgreSQL accepts connections.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default:
5432Declared by:
sys.users
Section titled “sys.users”List of non-system users.
First in the list gets to be the main user unless sys.mainUser is set.
Type: list of string
Default:
[ "diogo"]Declared by: