Compare commits
No commits in common. "1a1681699643d43643a1f575081a8c860645d793" and "e8ad16a7e670b2991b09869c0713a54cafbdccb6" have entirely different histories.
1a16816996
...
e8ad16a7e6
3 changed files with 13 additions and 4 deletions
|
@ -29,7 +29,6 @@
|
||||||
ranger # TUI file manager
|
ranger # TUI file manager
|
||||||
trickle # cli network limiter
|
trickle # cli network limiter
|
||||||
du-dust # disk usage visualizer
|
du-dust # disk usage visualizer
|
||||||
lftp # FTP client
|
|
||||||
|
|
||||||
nvd # Differ
|
nvd # Differ
|
||||||
nix-output-monitor
|
nix-output-monitor
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
inherit (lib) mkIf;
|
inherit (lib) mkIf;
|
||||||
hasPackage = pname: lib.any (p: p ? pname && p.pname == pname) config.home.packages;
|
hasPackage = pname: lib.any (p: p ? pname && p.pname == pname) config.home.packages;
|
||||||
hasRipgrep = hasPackage "ripgrep";
|
hasRipgrep = hasPackage "ripgrep";
|
||||||
hasLftp = hasPackage "lftp";
|
|
||||||
hasExa = hasPackage "eza";
|
hasExa = hasPackage "eza";
|
||||||
hasLazygit = config.programs.lazygit.enable;
|
hasLazygit = config.programs.lazygit.enable;
|
||||||
hasLazydocker = hasPackage "lazydocker";
|
hasLazydocker = hasPackage "lazydocker";
|
||||||
|
@ -88,8 +87,6 @@ in {
|
||||||
|
|
||||||
udmount = "udisksctl mount -b";
|
udmount = "udisksctl mount -b";
|
||||||
udumount = "udisksctl unmount -b";
|
udumount = "udisksctl unmount -b";
|
||||||
|
|
||||||
fftp = mkIf hasLftp "lftp -u ghoscht, sftp://192.168.178.48";
|
|
||||||
};
|
};
|
||||||
functions = {
|
functions = {
|
||||||
# Disable greeting
|
# Disable greeting
|
||||||
|
|
|
@ -4,4 +4,17 @@
|
||||||
writeEnable = true;
|
writeEnable = true;
|
||||||
localUsers = true;
|
localUsers = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# networking.firewall.allowedTCPPorts = [21];
|
||||||
|
# services.vsftpd.extraConfig = ''
|
||||||
|
# pasv_enable=Yes
|
||||||
|
# pasv_min_port=51000
|
||||||
|
# pasv_max_port=51999
|
||||||
|
# '';
|
||||||
|
# networking.firewall.allowedTCPPortRanges = [
|
||||||
|
# {
|
||||||
|
# from = 51000;
|
||||||
|
# to = 51999;
|
||||||
|
# }
|
||||||
|
# ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue