deploy files needed for postgresql auth

This commit is contained in:
Pim Kunis 2023-11-25 14:15:07 +01:00
parent 4e1b19d737
commit 421a05a82f
5 changed files with 95 additions and 1 deletions

View file

@ -76,7 +76,11 @@
# Let home-manager manage the X session
xsession = { enable = true; };
xdg.userDirs.enable = true;
xdg = {
userDirs.enable = true;
configFile."home/postgresql_server.crt".source = ./postgresql_server.crt;
configFile."home/postgresql_client.crt".source = ./postgresql_client.crt;
};
homeage = {
identityPaths = [ "/home/pim/.ssh/age_ed25519" ];
@ -96,6 +100,11 @@
source = ../secrets/powerdns-api-key.json.age;
symlinks = [ "${config.xdg.configHome}/home/powerdns-api-key.json" ];
};
file."postgresql_client.key" = {
source = ../secrets/postgresql_client.key.age;
symlinks = [ "${config.xdg.configHome}/home/postgresql_client.key" ];
};
};
fonts.fontconfig.enable = true;