1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2025-07-14 00:12:47 +02:00
parent 56c97b3712
commit 3f6dafe073
No known key found for this signature in database
13 changed files with 65 additions and 90 deletions

View file

@ -1,6 +1,5 @@
{
inputs,
self,
lib,
pkgs,
...
@ -20,7 +19,7 @@
inhibitsSleep = true;
post =
let
abacusConfig = self.nixosConfigurations.abacus.config;
abacusConfig = inputs.self.nixosConfigurations.abacus.config;
remoteDir = abacusConfig.services.navidrome.settings.MusicFolder;
remoteDomain = abacusConfig.networking.domain;
package = pkgs.writeShellApplication {

View file

@ -1,7 +1,7 @@
{
attrName,
config,
lib,
inputs,
...
}:
let
@ -9,7 +9,7 @@ let
secret = config.age.secrets.${secretName};
in
{
age.secrets = lib.mkSecrets { ${secretName} = { }; };
age.secrets.${secretName}.file = inputs.self + /secrets/restic/${attrName}.age;
services.restic.backups = {
local = {