diff --git a/hosts/Rupert.nix b/hosts/Rupert.nix index f2f822f..1c0d758 100644 --- a/hosts/Rupert.nix +++ b/hosts/Rupert.nix @@ -17,6 +17,17 @@ in # ./open-pgsql.nix ]; + nixpkgs.overlays = [ + ( + self: super: { + libbluray = super.libbluray.override { + withAACS = true; + withBDplus = true; + }; + } + ) + ]; + boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; boot.kernelParams = [ "acpi=force" "reboot=bios" ]; @@ -60,6 +71,7 @@ in environment.systemPackages = with pkgs; [ ntfsprogs + smartmontools texlive.combined.scheme-full ncmpcpp ]; @@ -88,9 +100,6 @@ in enableSSHSupport = true; }; - # List services that you want to enable: - - # Enable the OpenSSH daemon. services.openssh = { enable = true; settings = { @@ -107,11 +116,6 @@ in 4971 # BURP ]; - # 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.autoUpgrade = { enable = true; allowReboot = true; @@ -135,6 +139,22 @@ in }; }; }; + services.beesd = { + filesystems = { + "data" = { + spec = "/data"; + hashTableSizeMB = 1024; + verbosity = "alert"; + }; + "backup-disk" = { + spec = "/mnt/backup"; + hashTableSizeMB = 1024; + verbosity = "alert"; + }; + }; + }; + # Don’t start automatically + systemd.services."beesd@backup-disk".wantedBy = lib.mkForce []; security.acme = { defaults = { diff --git a/hosts/nextcloud.nix b/hosts/nextcloud.nix index 7734950..fe1a9cb 100644 --- a/hosts/nextcloud.nix +++ b/hosts/nextcloud.nix @@ -14,6 +14,8 @@ in ((lib.toLower config.networking.hostName) + ".lan") (lib.toLower config.networking.hostName) ]; + blacklisted_files = []; + trashbin_retention_obligation = "auto, 14"; }; config = { dbtype = "pgsql";