install themes from nixpkgs

This commit is contained in:
Joseph Hanson 2025-03-04 17:12:59 -06:00
parent 20b1998378
commit 3025ed02f6
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
4 changed files with 18 additions and 7 deletions

View file

@ -54,6 +54,7 @@
direnv direnv
git git
python3 python3
pipx
fzf fzf
ripgrep ripgrep
lsd lsd

View file

@ -12,13 +12,25 @@ in {
imports = [inputs.ags.homeManagerModules.default]; imports = [inputs.ags.homeManagerModules.default];
config = mkIf cfg.enable { config = mkIf cfg.enable {
# Downloads the Theme Resources
home.packages = with pkgs; [
andromeda-gtk-theme
flat-remix-icon-theme
bibata-cursors
];
# 'Installs' (sym-links) the Theme Resources
home.file = {
".themes/Andromeda".source = "${pkgs.andromeda-gtk-theme}/share/themes/Andromeda";
".icons/Flat-Remix-Blue-Dark".source = "${pkgs.flat-remix-icon-theme}/share/icons/Flat-Remix-Blue-Dark";
".icons/Bibata-Modern-Ice".source = "${pkgs.bibata-cursors}/share/icons/Bibata-Modern-Ice";
};
# Theme settings # Theme settings
gtk = { gtk = {
enable = true; enable = true;
# Some apps just need the good ol' ini files. # Some apps just need the good ol' ini files.
gtk3.extraConfig = { gtk3.extraConfig = {
gtk-application-prefer-dark-theme = 1; gtk-application-prefer-dark-theme = 1;
gtk-theme-name = "Andromeda-dark"; gtk-theme-name = "Andromeda";
gtk-icon-theme-name = "Flat-Remix-Blue-Dark"; gtk-icon-theme-name = "Flat-Remix-Blue-Dark";
gtk-font-name = "Fira Code Semi-Bold 14"; gtk-font-name = "Fira Code Semi-Bold 14";
gtk-cursor-theme-name = "Bibata-Modern-Ice"; gtk-cursor-theme-name = "Bibata-Modern-Ice";
@ -36,7 +48,7 @@ in {
}; };
gtk4.extraConfig = { gtk4.extraConfig = {
gtk-application-prefer-dark-theme = "1"; gtk-application-prefer-dark-theme = "1";
gtk-theme-name = "Andromeda-dark"; gtk-theme-name = "Andromeda";
gtk-icon-theme-name = "Flat-Remix-Blue-Dark"; gtk-icon-theme-name = "Flat-Remix-Blue-Dark";
gtk-font-name = "Fira Code Semi-Bold 14"; gtk-font-name = "Fira Code Semi-Bold 14";
gtk-cursor-theme-name = "Bibata-Modern-Ice"; gtk-cursor-theme-name = "Bibata-Modern-Ice";
@ -59,13 +71,12 @@ in {
color-scheme = "prefer-dark"; color-scheme = "prefer-dark";
cursor-size = 24; cursor-size = 24;
cursor-theme = "Bibata-Modern-Ice"; cursor-theme = "Bibata-Modern-Ice";
gtk-theme = "Flat-Remix-GTK-Blue-Dark"; gtk-theme = "Andromeda";
icon-theme = "Flat-Remix-Blue-Dark"; icon-theme = "Flat-Remix-Blue-Dark";
}; };
}; };
programs.ags = { programs.ags = {
enable = true; enable = true;
# I don't want Home Manager to manage these config files. # I don't want Home Manager to manage these config files.
# Just setup the programs. # Just setup the programs.
configDir = null; configDir = null;

View file

@ -1,5 +1,4 @@
{pkgs, ...}: let {pkgs, ...}: {
in {
imports = []; imports = [];
swapDevices = []; swapDevices = [];
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
@ -12,7 +11,6 @@ in {
gtk3 gtk3
nodejs_22 nodejs_22
pavucontrol # Pulseaudio volume control pavucontrol # Pulseaudio volume control
uv # python package manager
vesktop # Discord custom client vesktop # Discord custom client
zulu # Java OpenJDK zulu # Java OpenJDK
]; ];

View file

@ -29,6 +29,7 @@
alejandra alejandra
# dev # dev
uv # python package manager
bash-language-server bash-language-server
fd fd
gh gh