feat(stolas): migrate paperless
This commit is contained in:
parent
cfb4b8d160
commit
8908833eb3
3 changed files with 12 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
|||
imports = [
|
||||
../modules/profiles/laptop.nix
|
||||
./disks.nix
|
||||
# TODO ./paperless.nix
|
||||
./paperless.nix
|
||||
];
|
||||
|
||||
nixpkgs = {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config }:
|
||||
{ config, ... }:
|
||||
{
|
||||
services.paperless = {
|
||||
# TODO migrate DB
|
||||
|
@ -17,4 +17,12 @@
|
|||
"d '${cfg.consumptionDir}' 770 ${cfg.user} ${config.users.users.${cfg.user}.group} - -"
|
||||
)
|
||||
];
|
||||
|
||||
age.secrets = {
|
||||
paperless = {
|
||||
file = "${config.dadada.secrets.path}/paperless.age";
|
||||
mode = "700";
|
||||
owner = "paperless";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -46,7 +46,8 @@ in
|
|||
dadada
|
||||
];
|
||||
"paperless.age".publicKeys = [
|
||||
systems.gorgon
|
||||
#systems.gorgon
|
||||
systems.stolas
|
||||
dadada
|
||||
];
|
||||
"initrd-surgat-ssh_host_ed25519_key.age".publicKeys = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue