40 lines
910 B
Nix
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
|
|
];
|
|
};
|
|
}
|