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 ]; boot.extraModulePackages = [ pkgs.linuxPackages.v4l2loopback ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
youtube-dl
yt-dlp yt-dlp
mplayer mplayer
mpv mpv

View file

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

View file

@ -151,7 +151,7 @@ in
}; };
startup = 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 = "${pkgs.networkmanagerapplet}/bin/nm-applet --indicator"; always = true; }
{ command = toString backgroundCommand; always = true; } { command = toString backgroundCommand; always = true; }
{ {

View file

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

View file

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