My Nix Configuration
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 pkgs,
3 config,
4 lib,
5 ...
6}:
7let
8 pro = config.py.profiles;
9 inherit (lib) mkDefault mkIf;
10in
11{
12 catppuccin = {
13 flavor = "mocha";
14 accent = "blue";
15 };
16 home.pointerCursor = mkIf pro.gui.enable {
17 package = pkgs.catppuccin-cursors.mochaBlue;
18 name = "catppuccin-mocha-blue-cursors";
19 gtk.enable = true;
20 };
21 gtk = mkIf pro.gui.enable {
22 enable = true;
23 theme = mkDefault {
24 name = "Colloid-Dark-Compact-Catppuccin";
25 package = pkgs.colloid-gtk-theme.override {
26 tweaks = [
27 "catppuccin"
28 "black"
29 ];
30 colorVariants = [ "dark" ];
31 sizeVariants = [ "compact" ];
32 themeVariants = [ "default" ];
33 };
34 };
35 font = {
36 name = "IBM Plex Mono";
37 size = 14;
38 };
39 gtk3.bookmarks = [ "file:///${config.home.homeDirectory}/Downloads" ];
40 iconTheme = mkIf pro.gui.enable {
41 package = mkDefault pkgs.colloid-icon-theme;
42 name = "Colloid-Dark";
43 };
44 };
45 fonts.fontconfig = mkIf pro.gui.enable {
46 enable = true;
47 antialiasing = true;
48 hinting = "slight";
49 defaultFonts = {
50 serif = [
51 "IBM Plex Serif"
52 "Twitter Color Emoji"
53 ];
54 sansSerif = [
55 "Inter"
56 "Twitter Color Emoji"
57 ];
58 monospace = [
59 "IBM Plex Mono"
60 "BlexMono Nerd Font Mono"
61 "Twitter Color Emoji"
62 ];
63 emoji = [ "Twitter Color Emoji" ];
64 };
65 configFile = {
66 noto-color-replacement = {
67 enable = true;
68 priority = 53;
69 text = ''
70 <?xml version="1.0"?>
71 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
72 <fontconfig>
73 <alias>
74 <family>Noto Color Emoji</family>
75 <default>
76 <family>Twitter Color Emoji</family>
77 </default>
78 </alias>
79 </fontconfig>
80 '';
81 };
82 };
83 };
84}