treewide: use inputs instead of self

This commit is contained in:
2025-03-16 15:45:04 +00:00
parent 130197eeb8
commit 22232f7a84
28 changed files with 67 additions and 61 deletions

View File

@ -1,7 +1,7 @@
{
inputs,
config,
lib,
self,
...
}:
@ -33,7 +33,7 @@ in
config = lib.mkIf cfg.enable {
age.secrets."passwords/services/borg/${hostname}-passphrase" = {
file = "${self.inputs.secrets}/passwords/services/borg/${hostname}-passphrase.age";
file = "${inputs.secrets}/passwords/services/borg/${hostname}-passphrase.age";
};
services.borgmatic = {

View File

@ -1,8 +1,8 @@
{
inputs,
config,
lib,
pkgs,
self,
...
}:
@ -25,7 +25,7 @@ in
config = lib.mkIf cfg.enable {
age.secrets."passwords/services/tailscale/${hostname}-authkey" = {
file = "${self.inputs.secrets}/passwords/services/tailscale/${hostname}-authkey.age";
file = "${inputs.secrets}/passwords/services/tailscale/${hostname}-authkey.age";
};
environment.systemPackages = [ pkgs.tailscale ];

View File

@ -1,7 +1,7 @@
{
inputs,
config,
lib,
self,
...
}:
@ -26,7 +26,7 @@ in
config = mkIf cfg.enable {
age.secrets."passwords/networks" = {
file = "${self.inputs.secrets}/passwords/networks.age";
file = "${inputs.secrets}/passwords/networks.age";
};
networking = {