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

70 lines
1.5 KiB
Nix
Raw Normal View History

{ pkgs, depot, lib, config, ... }:
2020-10-25 11:36:16 +00:00
{
imports = [ ./client.nix ];
2021-05-06 02:56:20 +00:00
config = {
gtk = {
enable = true;
gtk3.extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
};
qt = {
enable = true;
platformTheme = "gtk";
};
2020-10-25 12:00:15 +00:00
2021-05-06 02:56:20 +00:00
home.packages = lib.mkAfter (with pkgs; [
google-chrome-beta
firefox
mpv
dino
2022-01-23 23:37:19 +00:00
depot.nix.pkgs.lutris
2021-05-06 02:56:20 +00:00
pavucontrol
pngquant
rxvt_unicode
teamspeak_client
virtmanager
xclip
xss-lock
yubioath-desktop
depot.nix.pkgs.flameshot
_1password-gui
qFlipper
2021-05-06 02:56:20 +00:00
]);
2021-04-17 19:28:27 +00:00
2021-11-28 12:51:40 +00:00
programs.kitty = {
2021-05-06 02:56:20 +00:00
enable = true;
2021-11-28 12:51:40 +00:00
font = {
package = depot.pkgs.iosevka;
name = "Iosevka";
2021-04-17 19:28:27 +00:00
};
2021-11-28 12:51:40 +00:00
extraConfig = ''
2021-04-17 19:28:27 +00:00
2021-11-28 12:51:40 +00:00
# BEGIN_KITTY_THEME
# Tango Dark
include ${depot.pkgs.kitty-themes}/themes/Tango_Dark.conf
# END_KITTY_THEME
'';
2021-04-17 19:28:27 +00:00
};
2021-05-06 02:56:20 +00:00
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"
2021-05-06 02:56:20 +00:00
if [ -e "$HOME/.profile" ]; then
. "$HOME/.profile"
fi
2020-10-25 12:00:15 +00:00
2021-05-06 02:56:20 +00:00
systemctl --user import-environment DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY XDG_DATA_DIRS XDG_RUNTIME_DIR XDG_SESSION_ID
systemctl --user restart ssh-agent
'';
};
2020-10-25 11:36:16 +00:00
}