confix/home-manager/gui.nix

140 lines
3.3 KiB
Nix

# GUI home.nix
{ config, lib, pkgs, inputs, user, ... }:
{
xresources.properties = {
"*.foreground" = "#f8f8f2";
"*.background" = "#282a36";
"*.color0" = "#000000";
"*.color8" = "#4d4d4d";
"*.color1" = "#ff5555";
"*.color9" = "#ff6367";
"*.color2" = "#50fa7b";
"*.color10" = "#5af78e";
"*.color3" = "#f1fa8c";
"*.color11" = "#f4f99d";
"*.color4" = "#bd93f9";
"*.color12" = "#caa9fa";
"*.color5" = "#ff79c6";
"*.color13" = "#ff92d0";
"*.color6" = "#8be9fd";
"*.color14" = "#9aedfe";
"*.color7" = "#bfbfbf";
"*.color15" = "#e63636";
"*backarrowKeyIsErase" = true;
"XTerm*renderFont" = true;
"XTerm*faceName" = "ComicMono";
"XTerm*faceSize" = 10;
"XTerm*utf8" = true;
"XTerm*ptyInitialErase" = true;
"XTerm*backarrowKeyIsErase" = false;
};
xdg = {
systemDirs.data = [
"/var/lib/flatpak/exports/share"
"${config.xdg.dataHome}/flatpak/exports/share"
];
};
home.file = {
"xinitrc" = {
source = ./dots/xinitrc;
target = ".xinitrc";
};
};
xdg.configFile = {
"bspwm" = {
source = ./dots/bspwm;
target = "bspwm";
recursive = true;
executable = true;
};
"dunst" = {
source = ./dots/dunst;
target = "dunst";
recursive = true;
};
"sxhkd" = {
source = ./dots/sxhkd;
target = "sxhkd";
recursive = true;
executable = true;
};
};
gtk = {
enable = true;
theme = {
name = "Dracula";
package = pkgs.dracula-theme;
};
#iconTheme = {
# name = "Papirus-Dark";
# package = pkgs.papirus-icon-theme;
#};
iconTheme = {
name = "Dracula-Icon-Theme";
package = pkgs.dracula-icon-theme;
};
font = {
name = "Comic Mono";
};
};
programs = {
hexchat = {
enable = true;
channels = {
darkscience = {
autojoin = [
"#darkscience"
];
nickname = "${user.long}";
userName = "${user.long}";
servers = [
"irc.darkscience.net"
];
};
libera = {
autojoin = [
"#nixos"
];
loginMethod = "sasl";
nickname = "${user.long}";
servers = [
"irc.libera.chat"
];
userName = "${user.long}";
};
sdf = {
autojoin = [
"#anonradio"
"#sdf"
];
nickname = "${user.long}";
userName = "${user.long}";
servers = [
"irc.sdf.org"
];
};
tilde = {
autojoin = [
"#ascii.town"
];
nickname = "${user.long}";
userName = "${user.long}";
servers = [
"irc.tilde.chat"
];
};
};
};
};
#home.packages = with pkgs; [
# (dmenu.overrideAttrs (oldAttrs: rec {
# configFile = writeText "config.def.h" (builtins.readFile ../patches/dmenu/config.h);
# postPatch = "${oldAttrs.postPatch}\n cp ${configFile} config.def.h";
# }))
# (st.overrideAttrs (oldAttrs: rec {
# configFile = writeText "config.def.h" (builtins.readFile ../patches/st/config.h);
# postPatch = "${oldAttrs.postPatch}\n cp ${configFile} config.def.h";
# }))
#];
}