vaultwarden and postgresql
This commit is contained in:
parent
d0c72f5d3c
commit
55eb4f5ddc
10 changed files with 228 additions and 24 deletions
|
|
@ -8,8 +8,12 @@
|
|||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
./caddy.nix
|
||||
./wireguard.nix
|
||||
./imports/caddy.nix
|
||||
./imports/hedgedoc.nix
|
||||
./imports/postgres.nix
|
||||
./imports/navidrome.nix
|
||||
./imports/vaultwarden.nix
|
||||
./imports/wireguard.nix
|
||||
];
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
|
|
@ -106,14 +110,6 @@
|
|||
blahaj
|
||||
];
|
||||
|
||||
services.navidrome = {
|
||||
enable = true;
|
||||
settings = {
|
||||
Address = "0.0.0.0";
|
||||
Port = 4533;
|
||||
MusicFolder = "/srv/music";
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
"broadcom-sta"
|
||||
|
|
@ -137,11 +133,11 @@
|
|||
# Open ports in the firewall.
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
22
|
||||
4533
|
||||
80
|
||||
];
|
||||
networking.firewall.allowedUDPPorts = [
|
||||
22
|
||||
4533
|
||||
80
|
||||
];
|
||||
# Or disable the firewall altogether.
|
||||
networking.firewall.enable = true;
|
||||
|
|
@ -149,7 +145,7 @@
|
|||
# Copy the NixOS configuration file and link it from the resulting system
|
||||
# (/run/current-system/configuration.nix). This is useful in case you
|
||||
# accidentally delete configuration.nix.
|
||||
system.copySystemConfiguration = true;
|
||||
# system.copySystemConfiguration = true;
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue