fix(agenix): remove system hard coding

This commit is contained in:
2025-09-07 14:37:17 +02:00
parent ec6b45e41b
commit 7ac62e9ca2
2 changed files with 1 additions and 6 deletions

View File

@@ -11,15 +11,10 @@ let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.home.services.hyprpaper; cfg = config.home.services.hyprpaper;
hyprpaperFlake = inputs.hyprpaper.packages.${pkgs.system}.default; hyprpaperFlake = inputs.hyprpaper.packages.${pkgs.system}.default;
bg = osConfig.settings.theme.background; bg = osConfig.settings.theme.background;
bgs = cLib.theme.bgs; bgs = cLib.theme.bgs;
wallpapers = map (m: "${m.monitor},${bgs.resolve m.bg}") monitorMappings;
monitorMappings = [ monitorMappings = [
{ {
monitor = "DP-3"; monitor = "DP-3";

View File

@@ -86,7 +86,7 @@ in
environment = { environment = {
systemPackages = [ systemPackages = [
inputs.agenix.packages.x86_64-linux.default inputs.agenix.packages.${pkgs.system}.default
pkgs.age pkgs.age
]; ];
}; };