Fix configs for nextcloud and fzf-tab
diff --git a/flake.nix b/flake.nix
index a1a0890..6a97d95 100644
--- a/flake.nix
+++ b/flake.nix
@@ -11,6 +11,10 @@
home-manager.url = "github:nix-community/home-manager/release-22.05";
nurpkgs.url = "github:nix-community/NUR";
comma.url = "github:nix-community/comma";
+ fzf-tab = {
+ url = "github:Aloxaf/fzf-tab";
+ flake = false;
+ };
# Make sure flakes we depend on use the same version of nixpkgs as we do
home-manager.inputs.nixpkgs.follows = "nixpkgs";
diff --git a/src/apps/personal/zsh.nix b/src/apps/personal/zsh.nix
index 9fce4e9..4f2d622 100644
--- a/src/apps/personal/zsh.nix
+++ b/src/apps/personal/zsh.nix
@@ -1,4 +1,4 @@
-{ config, fzf-tab, ... }: {
+{ pkgs, config, fzf-tab, ... }: {
programs.zsh = {
enable = true;
plugins = [ { name = "fzf-tab"; src = fzf-tab; } ];
@@ -49,7 +49,7 @@
# set descriptions format to enable group support
zstyle ':completion:*:descriptions' format '[%d]'
# set list-colors to enable filename colorizing
- zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
+ zstyle ':completion:*' list-colors $\{(s.:.)LS_COLORS}
# preview directory's content with exa when completing cd
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'exa -1 -l --color=always $realpath'
# switch group using `,` and `.`
diff --git a/src/apps/system/nextcloud.nix b/src/apps/system/nextcloud.nix
index 01daa48..4bb98c2 100644
--- a/src/apps/system/nextcloud.nix
+++ b/src/apps/system/nextcloud.nix
@@ -2,6 +2,10 @@
services.nextcloud = {
enable = true;
hostName = "nextcloud.python.local";
+ package = pkgs.nextcloud24;
+ config = {
+ adminpassFile = "/home/minion/Private/nextcloud-adminpassFile";
+ };
};
networking.hosts = {