fix: cloonar assistant config server
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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; [
|
||||||
|
|||||||
Reference in New Issue
Block a user