add all kde connect commands on next boot (or restart of the service set-kde-connect-commands.service) and force kill zellij and zsh before shutdown

This commit is contained in:
Lillian Violet 2025-07-20 18:18:15 +02:00
parent 26fa7c8cb9
commit d071b59473
3 changed files with 44 additions and 6 deletions

View file

@ -154,16 +154,33 @@
fonts.packages = [
pkgs.atkinson-hyperlegible
pkgs.atkinson-monolegible
pkgs.noto-fonts-emoji-blob-bin
pkgs.noto-fonts
pkgs.nerd-fonts.fira-mono
pkgs.font-awesome
];
# fonts.fontconfig.defaultFonts = {
# emoji = ["Blobmoji"];
# monospace = ["Atkinson Monolegible"];
# sansSerif = ["Atkinson Hyperlegible"];
# };
fonts.fontconfig = {
useEmbeddedBitmaps = true;
# defaultFonts = {
# emoji = ["Blobmoji"];
# monospace = ["Atkinson Monolegible"];
# sansSerif = ["Atkinson Hyperlegible"];
# };
};
systemd.services."shutdown-zellij-zsh" = {
path = with pkgs; [killall];
enable = true;
unitConfig = {
Before = "shutdown.target";
};
serviceConfig = {
Type = "oneshot";
ExecStart = "${pkgs.killall}/bin/killall -SIGKILL zellij zsh";
RemainAfterExit = "yes";
};
};
networking =
if config.services.vpn-ip.enable