diff --git a/hosts/box/default.nix b/hosts/box/default.nix index cd138a44..4fa0242b 100644 --- a/hosts/box/default.nix +++ b/hosts/box/default.nix @@ -13,14 +13,13 @@ services."grasp".path = "/home/anish/kitaab/grasp"; services."grasp".user = "anish"; + # Backups age.secrets.borg-password.file = "${self}/secrets/borg-password.age"; - services.postgresqlBackup = { enable = true; databases = [ "wallabag" ]; location = "/var/backup/postgresql"; }; - mossnet.backup = { enable = true; name = "mossnet"; diff --git a/hosts/curve/default.nix b/hosts/curve/default.nix index 13e51aa3..6b2059eb 100644 --- a/hosts/curve/default.nix +++ b/hosts/curve/default.nix @@ -28,6 +28,7 @@ boot.supportedFilesystems = [ "ntfs" ]; + age.secrets.borg-password.file = "${self}/secrets/borg-password.age"; mossnet.backup = { enable = true; name = "curve"; @@ -39,10 +40,6 @@ programs.adb.enable = true; #virtualisation.docker.enable = true; services.udev.extraRules = '' - # Monitor plugged in - # Doesn't work, becuase /home/anish/bin/hotplug-monitor isn't part of the nix build - # KERNEL=="card0", SUBSYSTEM=="drm", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/anish/.Xauthority", RUN+="/home/anish/bin/hotplug-monitor.sh" # TODO: add this file to nix home-manager - # Qualcomm EDL SUBSYSTEMS=="usb", ATTRS{idVendor}=="05c6", ATTRS{idProduct}=="9008", MODE="0666", GROUP="plugdev"