blob: 7eced2b75d5660bcd2ce85d4b80aea1c3bda8bc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{
config,
lib,
pkgs,
...
}: let
cfg = config.getchoo.desktop.budgie;
inherit (lib) mkIf;
fromYaml = file: let
json = with pkgs;
runCommand "converted.json" {} ''
${yj}/bin/yj < ${file} > $out
'';
in
with builtins; fromJSON (readFile json);
in {
config = mkIf cfg.enable {
programs.alacritty = {
enable = true;
settings = let
file =
pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "alacritty";
rev = "3c808cbb4f9c87be43ba5241bc57373c793d2f17";
sha256 = "sha256-w9XVtEe7TqzxxGUCDUR9BFkzLZjG8XrplXJ3lX6f+x0=";
}
+ "/catppuccin-mocha.yml";
in
(fromYaml file)
// {
};
};
dconf = {
enable = true;
settings = {
"com.solus-project.budgie-panel:Budgie" = {
pinned-launchers = ["firefox.desktop" "nemo.desktop" "discord.desktop"];
};
};
};
};
}
|