wip
This commit is contained in:
@@ -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 = ''
|
||||||
|
|||||||
@@ -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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
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