idk probs forgot something

This commit is contained in:
Anish L 2022-06-14 16:06:42 +10:00
parent 123b167ef5
commit 83b0fd46cd
2 changed files with 2 additions and 6 deletions

View file

@ -13,14 +13,13 @@
services."grasp".path = "/home/anish/kitaab/grasp"; services."grasp".path = "/home/anish/kitaab/grasp";
services."grasp".user = "anish"; services."grasp".user = "anish";
# Backups
age.secrets.borg-password.file = "${self}/secrets/borg-password.age"; age.secrets.borg-password.file = "${self}/secrets/borg-password.age";
services.postgresqlBackup = { services.postgresqlBackup = {
enable = true; enable = true;
databases = [ "wallabag" ]; databases = [ "wallabag" ];
location = "/var/backup/postgresql"; location = "/var/backup/postgresql";
}; };
mossnet.backup = { mossnet.backup = {
enable = true; enable = true;
name = "mossnet"; name = "mossnet";

View file

@ -28,6 +28,7 @@
boot.supportedFilesystems = [ "ntfs" ]; boot.supportedFilesystems = [ "ntfs" ];
age.secrets.borg-password.file = "${self}/secrets/borg-password.age";
mossnet.backup = { mossnet.backup = {
enable = true; enable = true;
name = "curve"; name = "curve";
@ -39,10 +40,6 @@
programs.adb.enable = true; programs.adb.enable = true;
#virtualisation.docker.enable = true; #virtualisation.docker.enable = true;
services.udev.extraRules = '' 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 # Qualcomm EDL
SUBSYSTEMS=="usb", ATTRS{idVendor}=="05c6", ATTRS{idProduct}=="9008", MODE="0666", GROUP="plugdev" SUBSYSTEMS=="usb", ATTRS{idVendor}=="05c6", ATTRS{idProduct}=="9008", MODE="0666", GROUP="plugdev"