fixed update problems
This commit is contained in:
parent
707d326437
commit
8792925490
5 changed files with 5 additions and 7 deletions
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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; }
|
||||||
{
|
{
|
||||||
|
|
|
@ -18,8 +18,7 @@ with lib;
|
||||||
|
|
||||||
# CAD & 3D Plotting
|
# CAD & 3D Plotting
|
||||||
openscad
|
openscad
|
||||||
freecad
|
# cura
|
||||||
cura
|
|
||||||
|
|
||||||
qrencode
|
qrencode
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue