From 83b0fd46cd597354c139ecadf9897a1d0e53ba35 Mon Sep 17 00:00:00 2001 From: Anish L Date: Tue, 14 Jun 2022 16:06:42 +1000 Subject: [PATCH] idk probs forgot something --- hosts/box/default.nix | 3 +-- hosts/curve/default.nix | 5 +---- 2 files changed, 2 insertions(+), 6 deletions(-) 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"