feat(nixos): Update globals to Rose Pine

This commit is contained in:
punkfairie 2024-10-20 16:31:49 -07:00
parent c622a669d8
commit 05711392f8
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 "Rosé 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 Rosé 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 Rosé 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;