pass self as extra input

This commit is contained in:
Grigory Shipunov 2023-01-24 20:51:02 +01:00
parent b5d9507157
commit 73757ed94e
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
2 changed files with 4 additions and 3 deletions

View file

@ -100,6 +100,7 @@
dishwasher = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
extraArgs = { flake = self; };
modules = [
sops-nix.nixosModules.sops
microvm.nixosModules.host

View file

@ -1,11 +1,11 @@
{ self, ... }: {
{ flake, ... }: {
microvm.vms = {
nextcloud = {
flake = self;
flake = flake;
updateFlake = "github:oxapentane/nix-config/master";
};
music = {
flake = self;
flake = flake;
updateFlake = "github:oxapentane/nix-config/navidrome";
};
};