Skip to content

Glance

services.glance.enable

Whether to enable glance. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/glance.nix

services.glance.openFirewall

Whether to open the firewall for Glance. This adds services.glance.settings.server.port to networking.firewall.allowedTCPPorts.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/glance.nix

services.glance.package

The glance package to use. Type: package

Default

pkgs.glance

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/glance.nix

services.glance.settings

Configuration written to a yaml file that is read by glance. See https://github.com/glanceapp/glance/blob/main/docs/configuration.md for more.

Type: YAML value

Default

{ }

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/glance.nix

services.glance.settings.pages

List of pages to be present on the dashboard.

See https://github.com/glanceapp/glance/blob/main/docs/configuration.md#pages--columns

Type: YAML value

Default

[{columns = [{size = "full";widgets = [{type = "calendar";}];}];name = "Calendar";}]

Example

[{columns = [{size = "full";widgets = [{type = "calendar";}{location = "Nivelles, Belgium";type = "weather";}];}];name = "Home";}]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/glance.nix

services.glance.settings.server.host

Glance bind address Type: string

Default

"127.0.0.1"

Example

"0.0.0.0"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/glance.nix

services.glance.settings.server.port

Glance port to listen on Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

8080

Example

5678

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/glance.nix