mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
chore: fix lint
This commit is contained in:
parent
15f5c2552d
commit
9dc3bb6785
4 changed files with 13 additions and 4 deletions
|
|
@ -1,4 +1,8 @@
|
||||||
{config, pkgs, ...}: {
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
enableDynamicTheming = false;
|
enableDynamicTheming = false;
|
||||||
enableVPN = false;
|
enableVPN = false;
|
||||||
enableCalendarEvents = false;
|
enableCalendarEvents = false;
|
||||||
dgop.package = pkgsUnstable.dgop; # not available in stable nixpkgs yet (25.11)
|
dgop.package = pkgsUnstable.dgop; # not available in stable nixpkgs yet (25.11)
|
||||||
|
|
||||||
systemd.enable = true;
|
systemd.enable = true;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
lib.mkIf config.fireproof.homelab.enable (let
|
lib.mkIf config.fireproof.homelab.enable (let
|
||||||
hsl = config.fireproof.theme.hsl;
|
inherit (config.fireproof.theme) hsl;
|
||||||
domain = "glance.nickolaj.com";
|
domain = "glance.nickolaj.com";
|
||||||
port = 8088;
|
port = 8088;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,12 @@ lib.mkIf config.fireproof.homelab.enable {
|
||||||
recommendedBrotliSettings = true;
|
recommendedBrotliSettings = true;
|
||||||
|
|
||||||
virtualHosts."status.localhost" = {
|
virtualHosts."status.localhost" = {
|
||||||
listen = [{ addr = "127.0.0.1"; port = 8070; }];
|
listen = [
|
||||||
|
{
|
||||||
|
addr = "127.0.0.1";
|
||||||
|
port = 8070;
|
||||||
|
}
|
||||||
|
];
|
||||||
locations."/metrics" = {
|
locations."/metrics" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
stub_status;
|
stub_status;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue