What a wonderful kind of day
This commit is contained in:
parent
1bbd5ace05
commit
8bd0a6780a
|
@ -2,7 +2,7 @@
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
# and in the NixOS manual (accessible by running 'nixos-help').
|
# and in the NixOS manual (accessible by running 'nixos-help').
|
||||||
|
|
||||||
{ pkgs, ... }: rec {
|
{ config, pkgs, ... }: rec {
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
imports = [
|
imports = [
|
||||||
./beefcake-hardware.nix
|
./beefcake-hardware.nix
|
||||||
|
@ -321,7 +321,7 @@
|
||||||
|
|
||||||
services.plausible = {
|
services.plausible = {
|
||||||
enable = true;
|
enable = true;
|
||||||
releaseCookiePath = sops.secrets.plausible-erlang-cookie.path;
|
releaseCookiePath = config.sops.secrets.plausible-erlang-cookie.path;
|
||||||
database = {
|
database = {
|
||||||
clickhouse.setup = true;
|
clickhouse.setup = true;
|
||||||
postgres.setup = true;
|
postgres.setup = true;
|
||||||
|
@ -330,12 +330,12 @@
|
||||||
baseUrl = "http://beefcake.hare-cod.ts.net:8899";
|
baseUrl = "http://beefcake.hare-cod.ts.net:8899";
|
||||||
disableRegistration = true;
|
disableRegistration = true;
|
||||||
port = 8899;
|
port = 8899;
|
||||||
secretKeybaseFile = sops.secrets.plausible-secret-key-base.path;
|
secretKeybaseFile = config.sops.secrets.plausible-secret-key-base.path;
|
||||||
};
|
};
|
||||||
adminUser = {
|
adminUser = {
|
||||||
activate = true;
|
activate = true;
|
||||||
email = "daniel@lyte.dev";
|
email = "daniel@lyte.dev";
|
||||||
passwordFile = sops.secrets.plausible-admin-password.path;
|
passwordFile = config.sops.secrets.plausible-admin-password.path;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Reference in a new issue