feat(nix-hm): add additional packages and services, remove qt

This commit is contained in:
Price Hiller 2023-12-10 00:41:45 -06:00
parent 14f74620b5
commit 1261b7fa12
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -37,7 +37,6 @@ in
llvm llvm
openssh openssh
openssl openssl
pkg-config
wget wget
rsync rsync
readline readline
@ -56,22 +55,20 @@ in
ripgrep ripgrep
fd fd
nixfmt nixfmt
qt6Packages.qt6gtk2 gtk2
qt6Packages.qt6ct
libsForQt5.qtstyleplugins
libsForQt5.qt5ct
lxappearance lxappearance
webcord webcord
blueman
gtk-engine-murrine gtk-engine-murrine
opensnitch-ui opensnitch-ui
twemoji-color-emoji twitter-color-emoji
open-sans open-sans
noto-fonts noto-fonts
fira-code fira-code
nerdfonts nerdfonts
direnv
]; ];
file = file =
{ {
".local/" = { ".local/" = {
@ -148,27 +145,34 @@ in
gtk4.extraConfig = extraGtkConfig; gtk4.extraConfig = extraGtkConfig;
}; };
qt = { systemd.user = {
enable = true; targets.compositor = {
platformTheme = "gtk"; Unit = {
Description = "Compositor target for WM";
After = [ "graphical-session.target" ];
PartOf = [ "graphical-session.target" ];
}; };
};
services.blueman-applet.enable = true; services = {
systemd.user.services.opensnitch-ui = { opensnitch-ui = {
Unit = { Unit = {
Description = "Opensnitch ui"; Description = "Opensnitch ui";
After = [ "graphical-session-pre.target" ]; PartOf = [ "compositor.target" ];
PartOf = [ "graphical-session.target" ]; After = [ "compositor.target" ];
ConditionEnvironment = [ "WAYLAND_DISPLAY" "HOME" "XDG_RUNTIME_DIR" ];
};
Service = {
ExecStart = "${pkgs.opensnitch-ui}/bin/opensnitch-ui";
}; };
environment = { environment = {
QT_QPA_PLATFORMTHEME = "${gtkStyle}"; QT_QPA_PLATFORMTHEME = "${gtkStyle}";
PATH = "${config.home.profileDirectory}/bin"; PATH = "${config.home.profileDirectory}/bin";
}; };
Service = {
ExecStart = "${pkgs.opensnitch-ui}/bin/opensnitch-ui";
};
Install = { WantedBy = [ "graphical-session.target" ]; }; Install = { WantedBy = [ "compositor.target" ]; };
};
};
}; };
} }