From 52a06a539fa9841531de33855bbc4dcdbc0822ff Mon Sep 17 00:00:00 2001 From: satr14 Date: Wed, 15 Apr 2026 13:09:17 +0700 Subject: [PATCH] seperate ctp theming from that file --- modules/home/default.nix | 10 +++++++++- modules/home/rice/theme.nix | 7 ------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/modules/home/default.nix b/modules/home/default.nix index 590e901..a998633 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -1,9 +1,17 @@ -{ username, ... }: { +{ username, ctp-opt, ... }: { imports = [ ./rice/theme.nix ./core/shell.nix ./core/cli.nix ]; + + catppuccin = { + enable = true; + hyprlock.useDefaultConfig = false; + + flavor = ctp-opt.flavor; + accent = ctp-opt.accent; + }; home = { stateVersion = "24.11"; diff --git a/modules/home/rice/theme.nix b/modules/home/rice/theme.nix index 71120dc..83e5a2e 100644 --- a/modules/home/rice/theme.nix +++ b/modules/home/rice/theme.nix @@ -1,11 +1,4 @@ { lib, pkgs, ctp-opt, rice, ... }: { - catppuccin = { - enable = true; - hyprlock.useDefaultConfig = false; - - flavor = ctp-opt.flavor; - accent = ctp-opt.accent; - }; dconf = { enable = true;