Better graphical start
This commit is contained in:
@@ -1,7 +1,25 @@
|
||||
{ lib, config, pkgs, ... }: {
|
||||
|
||||
config = lib.mkIf (config.syscfg.make.gui) {
|
||||
services.nextcloud-client.enable = true;
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user