Skip to content

Commit 8bcea03

Browse files
committed
add brave catppuccin theme, switch to newer cosmic comp release
1 parent 27f7485 commit 8bcea03

5 files changed

Lines changed: 42 additions & 40 deletions

File tree

environments/cosmic/home-manager/catppuccin.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ in
2525
force = true;
2626
};
2727

28+
brave.enable = true;
29+
2830
cursors.enable = true;
2931

3032
zsh-syntax-highlighting.enable = true;

environments/cosmic/home-manager/home.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ in
1616
libreoffice
1717
gearlever
1818
bottles
19-
brave
2019
fastfetch
2120
lutris
2221
tmux

environments/cosmic/home-manager/programs/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ in
1313

1414
programs = lib.mkIf cfg.enable {
1515
firefox.enable = true;
16+
brave.enable = true;
1617
};
1718
}

environments/cosmic/modules/nixpkgs.nix

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -9,35 +9,35 @@ in
99
{
1010
nixpkgs = lib.mkIf cfg.enable {
1111
overlays = [
12-
# (final: prev: {
13-
# cosmic-comp = prev.cosmic-comp.overrideAttrs (
14-
# old:
15-
# let
16-
# rev = "15b6b678c1303b6ace3af47d21abb2df1d583824"; # full commit
17-
# newSrc = prev.fetchFromGitHub {
18-
# owner = "pop-os";
19-
# repo = "cosmic-comp";
20-
# rev = rev;
21-
# hash = "sha256-ZDer2a1qYFmIEDbH8eZ18AFyvPoG/g6eLvKCpSZ4Wkc=";
22-
# };
23-
# in
24-
# {
25-
# src = newSrc;
26-
# version = "git-${builtins.substring 0 8 rev}";
12+
(final: prev: {
13+
cosmic-comp = prev.cosmic-comp.overrideAttrs (
14+
old:
15+
let
16+
rev = "4adb07443a4ba472bfa3ffebdb719949c72fa644"; # full commit
17+
newSrc = prev.fetchFromGitHub {
18+
owner = "pop-os";
19+
repo = "cosmic-comp";
20+
rev = rev;
21+
hash = "sha256-ZDer2a1qYFmIEDbH8eZ18AFyvPoG/g6eLvKCpSZ4Wkc=";
22+
};
23+
in
24+
{
25+
src = newSrc;
26+
version = "git-${builtins.substring 0 8 rev}";
2727

28-
# # This is the crucial part: make cargoDeps correspond to the new src
29-
# cargoDeps = prev.rustPlatform.fetchCargoVendor {
30-
# src = newSrc;
31-
# # empty => Nix will print the correct hash to paste back
32-
# hash = "sha256-1NwI2vQpfQ8y/cVJGA+vYkiB+bAsVgZCb114A0yfWho=";
33-
# };
28+
# This is the crucial part: make cargoDeps correspond to the new src
29+
cargoDeps = prev.rustPlatform.fetchCargoVendor {
30+
src = newSrc;
31+
# empty => Nix will print the correct hash to paste back
32+
hash = "sha256-1NwI2vQpfQ8y/cVJGA+vYkiB+bAsVgZCb114A0yfWho=";
33+
};
3434

35-
# # Some packages use cargoDeps + dont need cargoHash at all,
36-
# # but setting it doesn't hurt if the derivation reads it:
37-
# cargoHash = "";
38-
# }
39-
# );
40-
# })
35+
# Some packages use cargoDeps + dont need cargoHash at all,
36+
# but setting it doesn't hurt if the derivation reads it:
37+
cargoHash = "";
38+
}
39+
);
40+
})
4141
];
4242
};
4343
}

flake.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)