WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit e4676e1

Browse files
authored
feat(home-manager): support vicinae (#771)
1 parent 0585eee commit e4676e1

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

modules/home-manager/all-modules.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
./tmux.nix
6060
./tofi.nix
6161
./vesktop.nix
62+
./vicinae.nix
6263
./vivid.nix
6364
./vscode.nix
6465
./waybar.nix

modules/home-manager/vicinae.nix

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{ catppuccinLib }:
2+
{ config, lib, ... }:
3+
4+
let
5+
cfg = config.catppuccin.vicinae;
6+
in
7+
8+
{
9+
options.catppuccin.vicinae = catppuccinLib.mkCatppuccinOption {
10+
name = "vicinae";
11+
accentSupport = true;
12+
};
13+
14+
config = lib.mkIf cfg.enable {
15+
programs.vicinae = {
16+
settings = {
17+
theme = {
18+
name = "catppuccin-${cfg.flavor}";
19+
iconTheme = "Catppuccin ${lib.toSentenceCase cfg.flavor} ${lib.toSentenceCase cfg.accent}";
20+
};
21+
};
22+
};
23+
};
24+
}

modules/tests/home.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ in
8181
tmux.enable = true;
8282
tofi.enable = isLinux;
8383
vesktop.enable = true;
84+
vicinae.enable = isLinux;
8485
vivid.enable = true;
8586
vscode = {
8687
enable = true;

0 commit comments

Comments
 (0)