diff --git a/.config/linux/system/flake.nix b/.config/linux/system/flake.nix index 74251c2..3b8e36e 100644 --- a/.config/linux/system/flake.nix +++ b/.config/linux/system/flake.nix @@ -45,8 +45,9 @@ inputs.self.nixosModules.common ] ++ modules; - specialArgs.inputs = inputs; specialArgs.const = self.nixosModules.const; + specialArgs.flake = self; + specialArgs.inputs = inputs; }; # List of all hosts bellow. diff --git a/.config/linux/system/module/common/Wallpaper.nix b/.config/linux/system/module/common/Wallpaper.nix index 4a0cc70..ab0db9e 100644 --- a/.config/linux/system/module/common/Wallpaper.nix +++ b/.config/linux/system/module/common/Wallpaper.nix @@ -1,5 +1,5 @@ { environment, ... }: { environment.etc.wallpaper = { - source = "~/.config/linux/wallpaper/"; + source = ../../../wallpaper; }; }