From a76838a294f92f071ab1ab394872a90dfbae13ff Mon Sep 17 00:00:00 2001 From: triethyl Date: Sun, 13 Jul 2025 12:06:47 -0400 Subject: sourced wallpapers from repo Former-commit-id: f7c7ee26d96bd12e6c94f7156774cbaa75b1fd9a --- flake.nix | 2 ++ modules/user/aesthetics/themes/oxocarbon/default.nix | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 1ff27c0..de809a3 100644 --- a/flake.nix +++ b/flake.nix @@ -40,6 +40,8 @@ # Nonessential + wallpapers.url = "codeberg:triethyl/wallpapers"; + mnw.url = "github:Gerg-L/mnw"; niri.url = "github:sodiboo/niri-flake"; diff --git a/modules/user/aesthetics/themes/oxocarbon/default.nix b/modules/user/aesthetics/themes/oxocarbon/default.nix index c568c97..2c6ee6e 100644 --- a/modules/user/aesthetics/themes/oxocarbon/default.nix +++ b/modules/user/aesthetics/themes/oxocarbon/default.nix @@ -6,14 +6,15 @@ ... }: let cfg = config.aesthetics.themes.oxocarbon; + wallpapers = inputs.wallpapers.packages.${pkgs.system}.default; in { options.aesthetics.themes.oxocarbon.enable = lib.mkEnableOption "oxocarbon theme"; config = lib.mkMerge [ ( lib.mkIf cfg.enable { aesthetics = { - wallpaper = ./wallpapers/landscape/salt-flats.jpg; - wallpapersDir = ./wallpapers; + wallpaper = "${wallpapers}/neutral/landscape/salt-flats.jpg"; + wallpapersDir = "${wallpapers}/neutral"; scheme = { base00 = "161616"; base01 = "262626"; -- cgit v1.2.3