update flake

This commit is contained in:
ooks-io 2023-10-21 22:12:11 +13:00
parent d5cc5aaf8f
commit 4e422dc02f
4 changed files with 39 additions and 38 deletions

View file

@ -84,7 +84,8 @@
"${pkgs.swaybg}/bin/swaybg -i ~/.dotfiles/nix/walls/gruvbox/gruvbox-blank.png --mode fill"
];
exec-once = [
"${pkgs._1password-gui}/bin/1password --silent --enable-features=UseOzonePlatform --ozone-platform=wayland"
"${pkgs._1password-gui}/bin/1password --silent"
"earbuds -d"
];
};
};

View file

@ -3,7 +3,7 @@ let
cfg = config.wayland.windowManager.hyprland;
in
{
config = lib.mkIf (cfg.enable && cfg.systemdIntegration) {
config = lib.mkIf (cfg.enable && cfg.systemd.enable) {
# Stolen from https://github.com/alebastr/sway-systemd/commit/0fdb2c4b10beb6079acd6073c5b3014bd58d3b74
systemd.user.targets.hyprland-session-shutdown = {
Unit = {