wip
This commit is contained in:
@@ -36,6 +36,8 @@
|
||||
# Resize terminal to host terminal size
|
||||
environment.loginShellInit = ''
|
||||
${pkgs.xterm}/bin/resize
|
||||
|
||||
echo alias 'sd' can be used to shutdown the VM
|
||||
'';
|
||||
|
||||
environment.interactiveShellInit = ''
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
@@ -14,6 +15,8 @@ in
|
||||
};
|
||||
|
||||
config = lib.mkIf enabled {
|
||||
environment.systemPackages = [ pkgs.gnupg ];
|
||||
|
||||
services.whib-backend = {
|
||||
enable = true;
|
||||
domain = "whib-backend.local";
|
||||
@@ -24,6 +27,10 @@ in
|
||||
|
||||
postgres = {
|
||||
password = "postgrespassword";
|
||||
|
||||
backup = {
|
||||
gpgPassphraseFile = ./whib-gpgPassfile;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
1
hosts/test-vm/whib-gpgPassfile
Normal file
1
hosts/test-vm/whib-gpgPassfile
Normal file
@@ -0,0 +1 @@
|
||||
abc123
|
||||
Reference in New Issue
Block a user