112 lines
2.5 KiB
Nix
112 lines
2.5 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 = ../rc/xinitrc;
|
||
|
target = ".xinitrc";
|
||
|
};
|
||
|
"sxhkd" = {
|
||
|
source = ../rc/sxhkd;
|
||
|
target = "sxhkd";
|
||
|
recursive = true;
|
||
|
executable = true;
|
||
|
};
|
||
|
};
|
||
|
xdg.configFile = {
|
||
|
"bspwm" = {
|
||
|
source = ../rc/bspwm;
|
||
|
target = "bspwm";
|
||
|
recursive = true;
|
||
|
executable = true;
|
||
|
};
|
||
|
"dunst" = {
|
||
|
source = ../rc/dunst;
|
||
|
target = "dunst";
|
||
|
recursive = true;
|
||
|
};
|
||
|
};
|
||
|
gtk = {
|
||
|
enable = true;
|
||
|
theme = {
|
||
|
name = "Dracula";
|
||
|
package = pkgs.dracula-theme;
|
||
|
};
|
||
|
iconTheme = {
|
||
|
name = "Papirus-Dark";
|
||
|
package = pkgs.papirus-icon-theme;
|
||
|
};
|
||
|
font = {
|
||
|
name = "Comic Mono";
|
||
|
};
|
||
|
};
|
||
|
programs = {
|
||
|
librewolf = {
|
||
|
enable = true;
|
||
|
#settings = {
|
||
|
#};
|
||
|
};
|
||
|
mpv = {
|
||
|
enable = true;
|
||
|
#bindings = {
|
||
|
#};
|
||
|
#config = {
|
||
|
#};
|
||
|
};
|
||
|
};
|
||
|
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";
|
||
|
}))
|
||
|
aether
|
||
|
discord
|
||
|
lagrange
|
||
|
libreoffice
|
||
|
mangal
|
||
|
mullvad-browser
|
||
|
mupdf
|
||
|
networkmanagerapplet
|
||
|
onionshare
|
||
|
sxiv
|
||
|
tor-browser-bundle-bin
|
||
|
];
|
||
|
}
|