Files
nixconfig/modules/home/gui/base/default.nix
T
2026-09-11 14:28:11 +02:00

40 lines
910 B
Nix

{ lib, config, pkgs, ... }: {
config = lib.mkIf (config.syscfg.make.gui) {
services.nextcloud-client = {
enable = true;
startInBackground = true;
};
services.network-watchdog.units = [ "nextcloud-client" ];
systemd.user.services.keepassxc = lib.mkIf (config.usercfg.wm != "X11") {
Unit = {
Description = "KeePassXC";
After = [ "graphical-session.target" ];
PartOf = [ "graphical-session.target" ];
};
Service = {
ExecStart = "${pkgs.keepassxc}/bin/keepassxc";
Restart = "on-failure";
RestartSec = 5;
};
Install.WantedBy = [ "graphical-session.target" ];
};
home.packages = with pkgs; [
thunar
thunar-volman
thunar-archive-plugin
tumbler
telegram-desktop
discord-canary
pavucontrol
keepassxc
nextcloud-client
gramps
];
};
}