feat(home-manager): Update globals to Rose Pine

This commit is contained in:
punkfairie 2024-10-19 22:07:48 -07:00
parent 14e660df08
commit 8330baa99f
Signed by: punkfairie
GPG key ID: 01823C057725C266

View file

@ -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;