Compare commits
2 commits
8ecb978605
...
d2eb1518c7
Author | SHA1 | Date | |
---|---|---|---|
|
d2eb1518c7 | ||
|
1755bf7d18 |
18
home/modules/deepState.nix
Normal file
18
home/modules/deepState.nix
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib; let
|
||||||
|
cfg = config.local.services.deepState;
|
||||||
|
in {
|
||||||
|
options.local.services.deepState.enable = mkEnableOption "trivionomicon settings";
|
||||||
|
config =
|
||||||
|
mkIf cfg.enable {
|
||||||
|
home.sessionVariables = {
|
||||||
|
FSOCIETY_TELEGRAM_BACKUP_N = "0";
|
||||||
|
FSOCIETY_TELEGRAM_BACKUP_LOCATION = "/extern/var/fsociety_backup";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -17,5 +17,6 @@
|
||||||
./defaultDesktopPack.nix
|
./defaultDesktopPack.nix
|
||||||
./accounts.nix
|
./accounts.nix
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
|
./deepState.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
prompt = "%B[%~] \${vcs_info_msg_0_}%b";
|
prompt = "%B[%~] \${vcs_info_msg_0_}%b";
|
||||||
};
|
};
|
||||||
accounts.enable = true;
|
accounts.enable = true;
|
||||||
|
deepState.enable = true;
|
||||||
gpg = {
|
gpg = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultKey = "7AA277E604A4173916BBB4E91FFAC35E1798174F";
|
defaultKey = "7AA277E604A4173916BBB4E91FFAC35E1798174F";
|
||||||
|
@ -85,6 +86,7 @@
|
||||||
})
|
})
|
||||||
gnucash
|
gnucash
|
||||||
kdenlive
|
kdenlive
|
||||||
|
nmap
|
||||||
virt-manager
|
virt-manager
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -19,5 +19,6 @@ with lib; {
|
||||||
./calibre-web.nix
|
./calibre-web.nix
|
||||||
./immich.nix
|
./immich.nix
|
||||||
./wiki-js.nix
|
./wiki-js.nix
|
||||||
|
./mealie.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
37
sys/platforms/vps/srv/mealie.nix
Normal file
37
sys/platforms/vps/srv/mealie.nix
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib; {
|
||||||
|
systemd.services.wiki-js = {
|
||||||
|
requires = ["postgresql.service"];
|
||||||
|
after = ["postgresql.service"];
|
||||||
|
};
|
||||||
|
|
||||||
|
services = {
|
||||||
|
nginx = {
|
||||||
|
virtualHosts."food.posixlycorrect.com" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
extraConfig = ''
|
||||||
|
proxy_headers_hash_max_size 512;
|
||||||
|
proxy_headers_hash_bucket_size 128;
|
||||||
|
'';
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://127.0.0.1:9000";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
mealie = {
|
||||||
|
enable = true;
|
||||||
|
listenAddress = "127.0.0.1";
|
||||||
|
port = 9000;
|
||||||
|
credentialsFile = "/var/trust/mealie/credentials.env";
|
||||||
|
settings = {
|
||||||
|
ALLOW_SIGNUP = "false";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue