This commit is contained in:
Mars 2024-06-26 03:14:20 -04:00
parent 34ab1b9119
commit 6794105303
Signed by: pupbrained
GPG key ID: 0FF5B8826803F895
7 changed files with 783 additions and 612 deletions

View file

@ -9,27 +9,26 @@
home = {
packages = with pkgs;
[
beeper
duf
eternal-terminal
glow
grc
iamb
jamesdsp
jetbrains-toolbox
jdk21
killall
libnotify
lm_sensors
loupe
mpv
neovide
playerctl
prismlauncher
slack
telegram-desktop
vesktop
youki
jetbrains.clion
jetbrains.idea-ultimate
]
++ (with inputs; [
nixvim.packages.${pkgs.system}.default
@ -39,14 +38,6 @@
firefox_nightly
]);
pointerCursor = {
gtk.enable = true;
x11.enable = true;
name = "Catppuccin-Mocha-Green-Cursors";
package = pkgs.catppuccin-cursors.mochaGreen;
size = 24;
};
stateVersion = "24.05";
};
@ -63,17 +54,48 @@
enable = true;
flavor = "mocha";
accent = "green";
pointerCursor.enable = true;
};
gtk = {
enable = true;
gtk = let
gradiencePreset = pkgs.fetchurl {
url = "https://raw.githubusercontent.com/GradienceTeam/Community/next/official/catppuccin-macchiato.json";
hash = "sha256-FgQvmK/Pjn980o+UVc2a70kGa6sGse045zPS9hzCs14=";
};
catppuccin = {
enable = true;
icon.enable = true;
cursor.enable = true;
size = "standard";
tweaks = ["rimless"];
gradienceBuild = pkgs.stdenv.mkDerivation {
name = "gradience-build";
phases = ["buildPhase" "installPhase"];
nativeBuildInputs = [pkgs.gradience];
buildPhase = ''
shopt -s nullglob
export HOME=$TMPDIR
mkdir -p $HOME/.config/presets
gradience-cli apply -p ${gradiencePreset} --gtk both
'';
installPhase = ''
mkdir -p $out
cp -r .config/gtk-4.0 $out/
cp -r .config/gtk-3.0 $out/
'';
};
in {
enable = true;
theme.name = "adw-gtk3-dark";
theme.package = pkgs.adw-gtk3;
gtk3 = {
extraCss = builtins.readFile "${gradienceBuild}/gtk-3.0/gtk.css";
extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
};
gtk4 = {
extraCss = builtins.readFile "${gradienceBuild}/gtk-4.0/gtk.css";
extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
};
};