cleanup
This commit is contained in:
parent
56c97b3712
commit
3f6dafe073
13 changed files with 65 additions and 90 deletions
|
@ -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 {
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue