Skip to content

Commit

Permalink
flake updates, fixed theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Frankel committed Oct 15, 2023
1 parent d5eae4f commit ad0d716
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 34 deletions.
47 changes: 16 additions & 31 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions modules/home/desktop/theme/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ let
inherit (lib) mkIf mkEnableOption mkOption types;
inherit (lib.internal) mkOpt;

cfg = config.khanelinix.desktop.theme;
cfg = config.beansnix.desktop.theme;

catppuccinAccents = [ "rosewater" "flamingo" "pink" "mauve" "red" "maroon" "peach" "yellow" "green" "teal" "sky" "sapphire" "blue" "lavender" ];
catppuccinVariants = [ "latte" "frappe" "macchiato" "mocha" ];
Expand All @@ -26,7 +26,7 @@ let
builtins.elemAt (builtins.fromJSON (builtins.readFile jsonFile)) 0;
in
{
options.khanelinix.desktop.theme = {
options.beansnix.desktop.theme = {
enable = mkEnableOption "Enable custom theme use for applications.";
selectedTheme = mkOption {
type = types.submodule {
Expand Down Expand Up @@ -83,7 +83,7 @@ in

git.delta = {
options = {
syntax-theme = mkIf config.khanelinix.tools.bat.enable "${cfg.selectedTheme.name}-${cfg.selectedTheme.variant}";
syntax-theme = mkIf config.beansnix.tools.bat.enable "${cfg.selectedTheme.name}-${cfg.selectedTheme.variant}";
};
};

Expand Down

0 comments on commit ad0d716

Please sign in to comment.