From dfe6d6affba345363d945bdae8358200f41f55af Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Tue, 6 Feb 2024 17:21:12 -0800 Subject: [PATCH] added simple file server --- hosts/Alaska/default.nix | 1 + hosts/Alaska/modules/vsftpd.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 hosts/Alaska/modules/vsftpd.nix diff --git a/hosts/Alaska/default.nix b/hosts/Alaska/default.nix index 602173a..e8f7c7e 100644 --- a/hosts/Alaska/default.nix +++ b/hosts/Alaska/default.nix @@ -19,6 +19,7 @@ ./modules/protonvpn.nix ./modules/tailscale.nix ./modules/vaultwarden.nix + ./modules/vsftpd.nix ]; programs.alaska_backup_script = { diff --git a/hosts/Alaska/modules/vsftpd.nix b/hosts/Alaska/modules/vsftpd.nix new file mode 100644 index 0000000..c81f0e7 --- /dev/null +++ b/hosts/Alaska/modules/vsftpd.nix @@ -0,0 +1,12 @@ +{ ... }: + +let + +in +{ + services.vsftpd = { + enable = true; + localUsers = true; + writeEnable = true; + }; +}