This commit is contained in:
Alexander Heldt
2024-11-25 08:47:29 +01:00
parent b19d28c442
commit 189cd4fe35
3 changed files with 10 additions and 0 deletions

View File

@@ -36,6 +36,8 @@
# Resize terminal to host terminal size # Resize terminal to host terminal size
environment.loginShellInit = '' environment.loginShellInit = ''
${pkgs.xterm}/bin/resize ${pkgs.xterm}/bin/resize
echo alias 'sd' can be used to shutdown the VM
''; '';
environment.interactiveShellInit = '' environment.interactiveShellInit = ''

View File

@@ -1,4 +1,5 @@
{ {
pkgs,
lib, lib,
config, config,
... ...
@@ -14,6 +15,8 @@ in
}; };
config = lib.mkIf enabled { config = lib.mkIf enabled {
environment.systemPackages = [ pkgs.gnupg ];
services.whib-backend = { services.whib-backend = {
enable = true; enable = true;
domain = "whib-backend.local"; domain = "whib-backend.local";
@@ -24,6 +27,10 @@ in
postgres = { postgres = {
password = "postgrespassword"; password = "postgrespassword";
backup = {
gpgPassphraseFile = ./whib-gpgPassfile;
};
}; };
}; };

View File

@@ -0,0 +1 @@
abc123