1
0
mirror of https://github.com/kmein/niveum synced 2026-03-23 05:11:08 +01:00

feat(zaatar): fix kiosk, spotifyd, containers warning

This commit is contained in:
2023-06-10 13:56:51 +02:00
parent fa3d41fb5b
commit c68f863bbc
3 changed files with 14 additions and 32 deletions

View File

@@ -1,29 +1,10 @@
{
config,
pkgs,
...
}: let
inherit (import ../../lib) tmpfilesConfig;
in {
services.postgresql = {
dataDir = "/var/state/postgresql/${config.services.postgresql.package.psqlSchema}";
package = pkgs.postgresql_11;
};
{pkgs, ...}: {
services.postgresqlBackup = {
enable = true;
databases = ["atuin"];
};
systemd.tmpfiles.rules = [
(tmpfilesConfig {
type = "d";
path = "/var/state/postgresql";
mode = "0700";
user = "postgres";
group = "postgres";
})
];
services.postgresql.package = pkgs.postgresql_14;
services.atuin = {
host = "0.0.0.0";