feat(nvim-hm): migrate opensnitch to hm service
This commit is contained in:
parent
61ec5c6ef0
commit
7b2ca6062a
@ -64,6 +64,7 @@ in
|
|||||||
webcord
|
webcord
|
||||||
blueman
|
blueman
|
||||||
gtk-engine-murrine
|
gtk-engine-murrine
|
||||||
|
opensnitch-ui
|
||||||
];
|
];
|
||||||
|
|
||||||
file =
|
file =
|
||||||
@ -147,4 +148,22 @@ in
|
|||||||
platformTheme = "gtk";
|
platformTheme = "gtk";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.blueman-applet.enable = true;
|
||||||
|
systemd.user.services.opensnitch-ui = {
|
||||||
|
Unit = {
|
||||||
|
Description = "Opensnitch ui";
|
||||||
|
After = [ "graphical-session-pre.target" ];
|
||||||
|
PartOf = [ "graphical-session.target" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
environment = {
|
||||||
|
QT_QPA_PLATFORMTHEME = "${gtkStyle}";
|
||||||
|
PATH = "${config.home.profileDirectory}/bin";
|
||||||
|
};
|
||||||
|
Service = {
|
||||||
|
ExecStart = "${pkgs.opensnitch-ui}/bin/opensnitch-ui";
|
||||||
|
};
|
||||||
|
|
||||||
|
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,6 @@ exec-once = udiskie --tray
|
|||||||
exec-once = blueman-applet
|
exec-once = blueman-applet
|
||||||
exec-once = slimbookbattery --minimize
|
exec-once = slimbookbattery --minimize
|
||||||
exec = clight-gui --tray
|
exec = clight-gui --tray
|
||||||
exec = sleep 5 && opensnitch-ui --background
|
|
||||||
exec = systemd-run --user -u wallpaper-manager ~/.config/hypr/scripts/init-wallpapers.bash || systemctl --user restart wallpaper-manager
|
exec = systemd-run --user -u wallpaper-manager ~/.config/hypr/scripts/init-wallpapers.bash || systemctl --user restart wallpaper-manager
|
||||||
exec-once = systemctl --user start compositor.target
|
exec-once = systemctl --user start compositor.target
|
||||||
exec-once = xwaylandvideobridge
|
exec-once = xwaylandvideobridge
|
||||||
|
@ -6,8 +6,8 @@ configure() {
|
|||||||
export XDG_BIN_HOME="${HOME}/.local/bin"
|
export XDG_BIN_HOME="${HOME}/.local/bin"
|
||||||
export XDG_DATA_HOME="${HOME}/.local/share"
|
export XDG_DATA_HOME="${HOME}/.local/share"
|
||||||
export XDG_STATE_HOME="${HOME}/.local/state"
|
export XDG_STATE_HOME="${HOME}/.local/state"
|
||||||
export XDG_DATA_DIRS="/usr/local/share:/usr/share"
|
export XDG_DATA_DIRS="${XDG_DATA_DIRS}:/usr/local/share:/usr/share"
|
||||||
export XDG_CONFIG_DIRS="/etc/xdg"
|
export XDG_CONFIG_DIRS="${XDG_CONFIG_DIRS}:/etc/xdg"
|
||||||
}
|
}
|
||||||
|
|
||||||
init() {
|
init() {
|
||||||
|
15
flake.nix
15
flake.nix
@ -24,7 +24,20 @@
|
|||||||
({
|
({
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
inputs.neovim-nightly-overlay.overlay
|
inputs.neovim-nightly-overlay.overlay
|
||||||
(self: super: { kanagawa-gtk-theme = super.callPackage ./pkgs/kanagawa-gtk { }; })
|
(self: super: {
|
||||||
|
kanagawa-gtk-theme = super.callPackage ./pkgs/kanagawa-gtk { };
|
||||||
|
lxappearance = super.lxappearance.overrideAttrs (oldAttrs: {
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/lxappearance --prefix GDK_BACKEND : x11
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
opensnitch-ui = super.opensnitch-ui.overrideAttrs
|
||||||
|
(oldAttrs: rec {
|
||||||
|
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [
|
||||||
|
super.python311Packages.qt-material
|
||||||
|
];
|
||||||
|
});
|
||||||
|
})
|
||||||
];
|
];
|
||||||
home = {
|
home = {
|
||||||
username = "${username}";
|
username = "${username}";
|
||||||
|
Loading…
Reference in New Issue
Block a user