fix: cloonar assistant config server

This commit is contained in:
2025-04-30 15:54:45 +02:00
parent 7ac54dd987
commit 6f9b384caa
3 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,6 @@
./modules/podman.nix ./modules/podman.nix
./modules/omada.nix ./modules/omada.nix
./modules/ddclient.nix ./modules/ddclient.nix
./modules/cloonar-assistant-config-server.nix
# ./modules/wol.nix # ./modules/wol.nix

View File

@@ -23,7 +23,7 @@ in {
}; };
# the little awk script to extract the key for $1 # the little awk script to extract the key for $1
"ssh/sftp-fetch-key.sh" = { "cloonar_assistant_ssh/sftp-fetch-key.sh" = {
text = '' text = ''
#!/usr/bin/env bash #!/usr/bin/env bash
awk -v u="$1" '$1==u { $1=""; sub(/^ +/, ""); print }' /etc/cloonar_assistant_ssh/sftp_users_keys awk -v u="$1" '$1==u { $1=""; sub(/^ +/, ""); print }' /etc/cloonar_assistant_ssh/sftp_users_keys

View File

@@ -46,6 +46,7 @@ in
config = { lib, config, pkgs, ... }: { config = { lib, config, pkgs, ... }: {
imports = [ imports = [
../fleet.nix ../fleet.nix
../modules/cloonar-assistant-config-server.nix
]; ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [