feat: enable proper paperless across devices
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Benjamin Bädorf 2023-08-29 13:56:34 +02:00
parent 2b2e3c4e4e
commit 4f26e6f263
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C
3 changed files with 4 additions and 0 deletions

View file

@ -16,6 +16,7 @@ in {
pub-solar.paranoia.enable = true; pub-solar.paranoia.enable = true;
pub-solar.core.hibernation.resumeDevice = "/dev/dm-0"; pub-solar.core.hibernation.resumeDevice = "/dev/dm-0";
pub-solar.core.hibernation.resumeOffset = 15296512; pub-solar.core.hibernation.resumeOffset = 15296512;
pub-solar.core.hibernation.resumeOffset = 15296512;
hardware.cpu.intel.updateMicrocode = true; hardware.cpu.intel.updateMicrocode = true;

View file

@ -26,6 +26,8 @@ in {
pub-solar.core.hibernation.resumeDevice = "/dev/dm-0"; pub-solar.core.hibernation.resumeDevice = "/dev/dm-0";
pub-solar.core.hibernation.resumeOffset = 115075072; pub-solar.core.hibernation.resumeOffset = 115075072;
pub-solar.paperless.sync.masterNode = false;
age.secrets."drone-runner-exec-config" = { age.secrets."drone-runner-exec-config" = {
file = "${self}/secrets/drone-runner-exec-config"; file = "${self}/secrets/drone-runner-exec-config";
mode = "400"; mode = "400";

View file

@ -50,6 +50,7 @@ in {
dataDir = "/home/${psCfg.user.name}/Nextcloud/Paperless"; dataDir = "/home/${psCfg.user.name}/Nextcloud/Paperless";
consumptionDir = "/home/${psCfg.user.name}/.local/share/scandir"; consumptionDir = "/home/${psCfg.user.name}/.local/share/scandir";
scannerDefaultDevice = "hp3900:libusb:005:004"; scannerDefaultDevice = "hp3900:libusb:005:004";
sync.enable = true;
}; };
arduino.enable = true; arduino.enable = true;