add nextcloud cmds
This commit is contained in:
parent
cac1b7ed47
commit
b273895224
1 changed files with 20 additions and 8 deletions
|
@ -1,13 +1,29 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let unstable = import <nixpkgs-unstable> { };
|
||||
let
|
||||
unstable = import <nixpkgs-unstable> { };
|
||||
nextcloudSync = folder:
|
||||
pkgs.writers.writeBashBin "nextcloud-sync-${folder}" ''
|
||||
${pkgs.nextcloud-client}/bin/nextcloudcmd \
|
||||
--user palo \
|
||||
--password `pass show home/nextcloud/palo/nextcloudcmd-token` \
|
||||
~/Nextcloud/${folder} \
|
||||
https://nextcloud.ingolf-wagner.de/remote.php/webdav/${folder}
|
||||
'';
|
||||
|
||||
in {
|
||||
|
||||
# overlay included
|
||||
nixpkgs.overlays = [ (import <mozilla-overlay/rust-overlay.nix>) ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
zeal # offline documentation
|
||||
keepassxc
|
||||
|
||||
(nextcloudSync "InstantUpload")
|
||||
(nextcloudSync "Pictures")
|
||||
(nextcloudSync "Unterlagen")
|
||||
(nextcloudSync "Video")
|
||||
|
||||
#zeal # offline documentation
|
||||
#keepassxc
|
||||
sweethome3d.application
|
||||
polygon-art
|
||||
|
||||
|
@ -25,7 +41,6 @@ in {
|
|||
#unstable.sonic-visualiser
|
||||
sononym-crawler
|
||||
darktable
|
||||
#haskellPackages.mahlzeit
|
||||
|
||||
# rust development environment
|
||||
rustup
|
||||
|
@ -40,8 +55,7 @@ in {
|
|||
jetbrains.pycharm-professional
|
||||
jetbrains.datagrip
|
||||
|
||||
# foto
|
||||
#fuji-cam-wifi-tool
|
||||
element-desktop
|
||||
|
||||
tor-browser-bundle-bin
|
||||
#(tor-browser-bundle-bin.overrideAttrs (old: rec {
|
||||
|
@ -56,6 +70,4 @@ in {
|
|||
|
||||
];
|
||||
|
||||
environment.variables.RECIPE_HOME = "$HOME/mahlzeit";
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue