feat(nix-hm): add additional packages and services, remove qt
This commit is contained in:
parent
14f74620b5
commit
1261b7fa12
@ -12,7 +12,7 @@ let
|
|||||||
})
|
})
|
||||||
# HACK: We don't use the absolute path in readDir to respect pure evaluation in nix flakes.
|
# HACK: We don't use the absolute path in readDir to respect pure evaluation in nix flakes.
|
||||||
(builtins.attrNames (builtins.readDir ../dots/${dir}))));
|
(builtins.attrNames (builtins.readDir ../dots/${dir}))));
|
||||||
gtkStyle = "gtk2";
|
gtkStyle = "gtk2";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
@ -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" ];
|
||||||
services.blueman-applet.enable = true;
|
PartOf = [ "graphical-session.target" ];
|
||||||
systemd.user.services.opensnitch-ui = {
|
};
|
||||||
Unit = {
|
|
||||||
Description = "Opensnitch ui";
|
|
||||||
After = [ "graphical-session-pre.target" ];
|
|
||||||
PartOf = [ "graphical-session.target" ];
|
|
||||||
};
|
};
|
||||||
|
services = {
|
||||||
|
opensnitch-ui = {
|
||||||
|
Unit = {
|
||||||
|
Description = "Opensnitch ui";
|
||||||
|
PartOf = [ "compositor.target" ];
|
||||||
|
After = [ "compositor.target" ];
|
||||||
|
ConditionEnvironment = [ "WAYLAND_DISPLAY" "HOME" "XDG_RUNTIME_DIR" ];
|
||||||
|
};
|
||||||
|
|
||||||
environment = {
|
Service = {
|
||||||
QT_QPA_PLATFORMTHEME = "${gtkStyle}";
|
ExecStart = "${pkgs.opensnitch-ui}/bin/opensnitch-ui";
|
||||||
PATH = "${config.home.profileDirectory}/bin";
|
};
|
||||||
};
|
|
||||||
Service = {
|
|
||||||
ExecStart = "${pkgs.opensnitch-ui}/bin/opensnitch-ui";
|
|
||||||
};
|
|
||||||
|
|
||||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
environment = {
|
||||||
|
QT_QPA_PLATFORMTHEME = "${gtkStyle}";
|
||||||
|
PATH = "${config.home.profileDirectory}/bin";
|
||||||
|
};
|
||||||
|
|
||||||
|
Install = { WantedBy = [ "compositor.target" ]; };
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user