rather have the manual login for desktop nextcloud than have to deal with systemd not working for now

This commit is contained in:
Lillian Violet 2025-01-12 17:46:39 +01:00
parent ed946eb43d
commit 988f703407
2 changed files with 59 additions and 49 deletions

View file

@ -68,35 +68,35 @@
}; };
}; };
systemd.user = { systemd.user = {
services."nextcloud-autosync@" = { # services."nextcloud-autosync@" = {
Unit = { # Unit = {
Description = "Auto sync Nextcloud"; # Description = "Auto sync Nextcloud";
After = "network-online.target"; # After = "network-online.target";
PartOf = ["nextcloud-autosyncs.target"]; # PartOf = ["nextcloud-autosyncs.target"];
}; # };
Service = { # Service = {
Type = "simple"; # Type = "simple";
ExecStart = "${pkgs.nextcloud-client}/bin/nextcloudcmd -h -n --path /%i /home/lillian/%i https://nextcloud.gladtherescake.eu"; # ExecStart = "${pkgs.nextcloud-client}/bin/nextcloudcmd -h -n --path /%i /home/lillian/%i https://nextcloud.gladtherescake.eu";
TimeoutStopSec = "180"; # TimeoutStopSec = "180";
KillMode = "process"; # KillMode = "process";
KillSignal = "SIGINT"; # KillSignal = "SIGINT";
}; # };
Install.WantedBy = ["multi-user.target"]; # Install.WantedBy = ["multi-user.target"];
}; # };
targets.nextcloud-autosyncs = { # targets.nextcloud-autosyncs = {
Unit = { # Unit = {
Description = "workers"; # Description = "workers";
Requires = ["nextcloud-autosync@Music" "nextcloud-autosync@Pictures" "nextcloud-autosync@Scripts" "nextcloud-autosync@Videos" "nextcloud-autosync@Documents"]; # Requires = ["nextcloud-autosync@Music" "nextcloud-autosync@Pictures" "nextcloud-autosync@Scripts" "nextcloud-autosync@Videos" "nextcloud-autosync@Documents"];
PartOf = "nextcloud-autosyncs.target"; # PartOf = "nextcloud-autosyncs.target";
}; # };
Install.WantedBy = ["multi-user.target"]; # Install.WantedBy = ["multi-user.target"];
}; # };
timers.nextcloud-autosyncs = { # timers.nextcloud-autosyncs = {
Unit.Description = "Automatic sync files with Nextcloud when booted up after 5 minutes then rerun every 60 minutes"; # Unit.Description = "Automatic sync files with Nextcloud when booted up after 5 minutes then rerun every 60 minutes";
Timer.OnBootSec = "5min"; # Timer.OnBootSec = "5min";
Timer.OnUnitActiveSec = "60min"; # Timer.OnUnitActiveSec = "60min";
Install.WantedBy = ["multi-user.target" "timers.target"]; # Install.WantedBy = ["multi-user.target" "timers.target"];
}; # };
# Nicely reload system units when changing configs # Nicely reload system units when changing configs
startServices = "sd-switch"; startServices = "sd-switch";
@ -107,26 +107,26 @@
homeDirectory = "/home/lillian"; homeDirectory = "/home/lillian";
file = { file = {
# Music = { Music = {
# source = config.lib.file.mkOutOfStoreSymlink "/home/lillian/Nextcloud/Music"; source = config.lib.file.mkOutOfStoreSymlink "/home/lillian/Nextcloud/Music";
# target = "Music"; target = "Music";
# }; };
# Pictures = { Pictures = {
# source = config.lib.file.mkOutOfStoreSymlink "/home/lillian/Nextcloud/Pictures"; source = config.lib.file.mkOutOfStoreSymlink "/home/lillian/Nextcloud/Pictures";
# target = "Pictures"; target = "Pictures";
# }; };
# Scripts = { Scripts = {
# source = config.lib.file.mkOutOfStoreSymlink "/home/lillian/Nextcloud/Scripts"; source = config.lib.file.mkOutOfStoreSymlink "/home/lillian/Nextcloud/Scripts";
# target = "Scripts"; target = "Scripts";
# }; };
# Videos = { Videos = {
# source = config.lib.file.mkOutOfStoreSymlink "/home/lillian/Nextcloud/Videos"; source = config.lib.file.mkOutOfStoreSymlink "/home/lillian/Nextcloud/Videos";
# target = "Videos"; target = "Videos";
# }; };
# Documents = { Documents = {
# source = config.lib.file.mkOutOfStoreSymlink "/home/lillian/Nextcloud/Documents"; source = config.lib.file.mkOutOfStoreSymlink "/home/lillian/Nextcloud/Documents";
# target = "Documents"; target = "Documents";
# }; };
floorp = { floorp = {
source = config.lib.file.mkOutOfStoreSymlink "/home/lillian/.mozilla/firefox"; source = config.lib.file.mkOutOfStoreSymlink "/home/lillian/.mozilla/firefox";
target = ".floorp"; target = ".floorp";

View file

@ -118,6 +118,16 @@
install_url = "https://addons.mozilla.org/firefox/downloads/file/4047136/wayback_machine_new-3.2.xpi"; install_url = "https://addons.mozilla.org/firefox/downloads/file/4047136/wayback_machine_new-3.2.xpi";
installation_mode = "force_installed"; installation_mode = "force_installed";
}; };
# Tree Style Tabs
"treestyletab@piro.sakura.ne.jp" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/tree-style-tab/latest.xpi";
installation_mode = "force_installed";
};
# Adaptive Tab Bar Colour
"ATBC@EasonWong" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/Adaptive-Tab-Bar-Colour/latest.xpi";
installation_mode = "force_installed";
};
}; };
FirefoxHome = { FirefoxHome = {
Search = true; Search = true;