From 31284b3289b994d3e773ae39757e43f016f94058 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Sat, 6 Jan 2024 17:26:22 +0100 Subject: [PATCH] fix: flake-parts self -> flake.self --- hosts/default.nix | 2 +- hosts/pioneer-momo-koeln/erpnext.nix | 8 ++++---- hosts/pioneer-momo-koeln/keycloak.nix | 4 ++-- modules/nix/default.nix | 1 - 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/hosts/default.nix b/hosts/default.nix index 27115c1d..e84002bf 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -1,4 +1,4 @@ -{ withSystem, self, inputs, ...}: +{ self, inputs, ...}: { flake = { nixosConfigurations = { diff --git a/hosts/pioneer-momo-koeln/erpnext.nix b/hosts/pioneer-momo-koeln/erpnext.nix index f2b462aa..6deb7593 100644 --- a/hosts/pioneer-momo-koeln/erpnext.nix +++ b/hosts/pioneer-momo-koeln/erpnext.nix @@ -3,21 +3,21 @@ lib, inputs, pkgs, - self, + flake, ... }: { age.secrets.erpnext-admin-password = { - file = "${self}/secrets/erpnext-admin-password.age"; + file = "${flake.self}/secrets/erpnext-admin-password.age"; mode = "700"; owner = "erpnext"; }; age.secrets.erpnext-db-root-password = { - file = "${self}/secrets/erpnext-db-root-password.age"; + file = "${flake.self}/secrets/erpnext-db-root-password.age"; mode = "700"; owner = "erpnext"; }; age.secrets.erpnext-db-user-password = { - file = "${self}/secrets/erpnext-db-user-password.age"; + file = "${flake.self}/secrets/erpnext-db-user-password.age"; mode = "700"; owner = "erpnext"; }; diff --git a/hosts/pioneer-momo-koeln/keycloak.nix b/hosts/pioneer-momo-koeln/keycloak.nix index da712d09..1c3cc18a 100644 --- a/hosts/pioneer-momo-koeln/keycloak.nix +++ b/hosts/pioneer-momo-koeln/keycloak.nix @@ -3,11 +3,11 @@ lib, inputs, pkgs, - self, + flake, ... }: { age.secrets.keycloak-database-password = { - file = "${self}/secrets/keycloak-database-password.age"; + file = "${flake.self}/secrets/keycloak-database-password.age"; mode = "700"; }; diff --git a/modules/nix/default.nix b/modules/nix/default.nix index 6cbeb7f7..73a7114b 100644 --- a/modules/nix/default.nix +++ b/modules/nix/default.nix @@ -24,7 +24,6 @@ registry = { nixpkgs.flake = flake.inputs.nixpkgs; unstable.flake = flake.inputs.unstable; - master.flake = flake.inputs.master; system.flake = flake.self; };