igor: Enable vsftpd

This commit is contained in:
Alexander Kobjolke 2024-12-13 23:27:55 +01:00
parent 981e98da94
commit 3cf1677ba8
2 changed files with 33 additions and 1 deletions

View file

@ -9,11 +9,11 @@
./hardware-configuration.nix
../../modules/security.nix
../../modules/nix-config.nix
../../modules/iohk.nix
../../modules/timezone.nix
../../modules/keybase.nix
../../modules/ssh.nix
../../modules/tailscale
../../modules/vsftpd
];
config.boot.loader.grub.enable = true;
@ -92,6 +92,7 @@
config.services.libinput.enable = true;
config.programs.firefox.enable = true;
config.programs.git.enable = true;
# Define a user account. Don't forget to set a password with passwd.
config.users.users.alex = {
@ -100,6 +101,20 @@
shell = pkgs.zsh;
};
config.environment.systemPackages = with pkgs; [
alacritty
firefox
dolphin
waybar
hyprpaper
wofi
];
config.programs.hyprland = {
enable = true;
withUWSM = true;
};
config.programs.neovim = {
enable = true;
defaultEditor = true;

View file

@ -0,0 +1,17 @@
{ lib, pkgs, ... }:
{
config.services.vsftpd = {
enable = true;
localUsers = true;
writeEnable = true;
chrootlocalUser = true;
allowWriteableChroot = true;
userlist = [ "scan" ];
};
config.users.users.scan = {
isNormalUser = true;
};
config.networking.firewall.allowedTCPPorts = [ 21 ];
}