Skip to content

Commit

Permalink
hosts (srv-test-2): Enable sync of vaultwarden service
Browse files Browse the repository at this point in the history
  • Loading branch information
britter committed Jan 9, 2025
1 parent 19ea456 commit 8ed2ddf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions systems/x86_64-linux/srv-prod-2/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
openssh.authorizedKeys.keyFiles = [../srv-test-2/ssh_srv-test-2_ed25519_key.pub];
useDefaultShell = true;
};
vaultwarden = {
openssh.authorizedKeys.keyFiles = [../srv-test-2/ssh_srv-test-2_ed25519_key.pub];
useDefaultShell = true;
};
};

# This value determines the NixOS release from which the default
Expand Down
10 changes: 8 additions & 2 deletions systems/x86_64-linux/srv-test-2/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
app-sync = {
enable = true;
jobs = [
{
serviceName = "git";
host = config.my.homelab.srv-prod-2.ip;
dataDir = "/srv/git";
}
{
serviceName = "nextcloud";
host = config.my.homelab.srv-prod-2.ip;
Expand All @@ -27,9 +32,10 @@
databaseSync.enable = true;
}
{
serviceName = "git";
serviceName = "vaultwarden";
host = config.my.homelab.srv-prod-2.ip;
dataDir = "/srv/git";
dataDir = "/var/lib/bitwarden_rs";
databaseSync.enable = true;
}
];
};
Expand Down

0 comments on commit 8ed2ddf

Please sign in to comment.