depot/ops/nixos/lib/home-manager/graphical-client.nix

70 lines
1.5 KiB
Nix

{ pkgs, depot, lib, config, ... }:
{
imports = [ ./client.nix ];
config = {
gtk = {
enable = true;
gtk3.extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
};
qt = {
enable = true;
platformTheme.name = "gtk";
};
home.packages = lib.mkAfter (with pkgs; [
google-chrome
firefox
mpv
dino
depot.nix.pkgs.lutris
pavucontrol
pngquant
rxvt-unicode
teamspeak_client
virt-manager
xclip
xss-lock
depot.nix.pkgs.flameshot
qFlipper
discord
depot.pkgs.lukegb-vscode
]);
programs.kitty = {
enable = true;
font = {
package = depot.pkgs.iosevka-bin;
name = "Iosevka";
};
extraConfig = ''
bell_path /home/lukegb/.local/share/sounds/freedesktop/stereo/bell.oga
# BEGIN_KITTY_THEME
# Tango Dark
include ${depot.pkgs.kitty-themes}/themes/Tango_Dark.conf
# END_KITTY_THEME
'';
};
home.file."bin/screencap" = {
executable = true;
text = ''
#!/usr/bin/env bash
exec ${depot.nix.pkgs.flameshot}/bin/flameshot gui
'';
};
home.file.".xprofile".text = ''
. "${config.home.profileDirectory}/etc/profile.d/hm-session-vars.sh"
if [ -e "$HOME/.profile" ]; then
. "$HOME/.profile"
fi
systemctl --user import-environment DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY XDG_DATA_DIRS XDG_RUNTIME_DIR XDG_SESSION_ID
systemctl --user restart ssh-agent
'';
};
}