diff --git a/home.nix b/home.nix index dd616a96..b94f8be3 100644 --- a/home.nix +++ b/home.nix @@ -32,7 +32,7 @@ # Note: Game packages like Steam and Prism should be installed through flatpak, or at system level. # CLI Apps - syncthing + nextcloud-client neofetch unzip eza @@ -67,6 +67,16 @@ fi '') + (writeShellScriptBin "ncs" '' + echo "+ Syncing Nextcloud @ ~/Nextcloud" + mkdir ~/Nextcloud &> /dev/null + if [[ -z "$1" ]]; then + echo "USAGE: ncs " + exit 1 + fi + nextcloudcmd -u $USER --path "/SYNC" ~/Nextcloud "$1" + '') + (writeShellScriptBin "reload" '' set -x nix-channel --update @@ -156,8 +166,9 @@ # ----------------------- PROGRAM CONFIGURATION ------------------------- # ======================================================================= - # Autostart Syncthing on boot - services.syncthing.enable = true; + # Autostart services on boot + # services.syncthing.enable = true; + programs.home-manager.enable = true; # Default browser