feat(home-manager): Update globals to Rose Pine
This commit is contained in:
parent
14e660df08
commit
8330baa99f
1 changed files with 13 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue