From b0c5cdaf7d39ee258f94ca3f05812c1550a151ac Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sat, 24 Feb 2024 20:07:26 +0300 Subject: [PATCH] System : Move wallpaper. --- .config/linux/system/flake.nix | 3 ++- .config/linux/system/module/common/Wallpaper.nix | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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; }; }