fixed update problems

This commit is contained in:
Ingolf Wagner 2024-07-12 19:18:22 +02:00
parent 707d326437
commit 8792925490
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
5 changed files with 5 additions and 7 deletions

View file

@ -128,7 +128,6 @@ in
boot.extraModulePackages = [ pkgs.linuxPackages.v4l2loopback ];
environment.systemPackages = with pkgs; [
youtube-dl
yt-dlp
mplayer
mpv

View file

@ -16,8 +16,6 @@
# to prevent strange errors
programs.kitty.enable = true;
programs.thefuck.enable = true;
# a better cat
programs.bat = {
enable = true;

View file

@ -151,7 +151,7 @@ in
};
startup =
[
{ command = "${pkgs.jellyfin-mpv-shim}/bin/jellyfin-mpv-shim"; always = false; }
#{ command = "${pkgs.jellyfin-mpv-shim}/bin/jellyfin-mpv-shim"; always = false; }
{ command = "${pkgs.networkmanagerapplet}/bin/nm-applet --indicator"; always = true; }
{ command = toString backgroundCommand; always = true; }
{

View file

@ -18,8 +18,7 @@ with lib;
# CAD & 3D Plotting
openscad
freecad
cura
# cura
qrencode

View file

@ -2,13 +2,15 @@
with pkgs;
with lib;
let
nextcloud-client = pkgs.legacy_2311.nextcloud-client;
nextcloudSync = folder:
let
password = "$( ${pkgs.pass}/bin/pass show home/nextcloud/palo/nextcloudcmd-token )";
user = "palo";
in
pkgs.writers.writeBashBin "nextcloud-sync-${folder}" ''
${pkgs.nextcloud-client}/bin/nextcloudcmd \
${nextcloud-client}/bin/nextcloudcmd \
--path "${folder}" \
~/Nextcloud/${folder} \
"https://${user}:${password}@nextcloud.ingolf-wagner.de"