From 8330baa99ff0b4288f5fb01821cb9dc7763fca7d Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sat, 19 Oct 2024 22:07:48 -0700 Subject: [PATCH] feat(home-manager): Update globals to Rose Pine --- modules/home-manager/globals.nix | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/modules/home-manager/globals.nix b/modules/home-manager/globals.nix index ddb54c7..e12cde0 100644 --- a/modules/home-manager/globals.nix +++ b/modules/home-manager/globals.nix @@ -1,28 +1,26 @@ -{ lib, ... }: -{ +{lib, ...}: { config = { - assertions = [ (lib.ctp.assertMinimumVersion "24.05") ]; + assertions = [(lib.rp.assertMinimumVersion "24.05")]; }; - options.catppuccin = { - enable = lib.mkEnableOption "Catppuccin globally"; + options.rose-pine = { + enable = lib.mkEnableOption "Rose Pine globally"; flavor = lib.mkOption { - type = lib.ctp.types.flavorOption; - default = "mocha"; - description = "Global Catppuccin flavor"; + type = lib.rp.types.flavorOption; + default = "main"; + description = "Global Rose Pine flavor"; }; accent = lib.mkOption { - type = lib.ctp.types.accentOption; - default = "mauve"; - description = "Global Catppuccin accent"; + type = lib.rp.types.accentOption; + default = "love"; + description = "Global Rose Pine accent"; }; - sources = - let - defaultSources = import ../../.sources; - in + sources = let + defaultSources = import ../../.sources; + in lib.mkOption { type = lib.types.lazyAttrsOf lib.types.raw; default = defaultSources;