Compare commits

..

No commits in common. "e8ad16a7e670b2991b09869c0713a54cafbdccb6" and "9e47462835c0d870f883abb9a49c3a2eb9c57e93" have entirely different histories.

4 changed files with 23 additions and 25 deletions

View file

@ -1,13 +1,14 @@
{
config,
lib,
pkgs,
# vars,
{ config
, lib
, pkgs
, # vars,
...
}: let
}:
let
vars = import ../../../../vars.nix;
colors = config.colorScheme.colors;
in {
in
{
home.sessionVariables.EDITOR = "nvim";
programs.neovim = {
@ -29,7 +30,6 @@ in {
alejandra # nix
clang-tools_16 # c/c++
rustfmt
yamlfmt
# Linters
ruff # python
@ -233,7 +233,7 @@ in {
];
terminal = true;
type = "Application";
categories = ["Utility" "TextEditor"];
categories = [ "Utility" "TextEditor" ];
};
};
}

View file

@ -17,8 +17,6 @@ local opts = {
null_ls.builtins.formatting.alejandra,
-- Rust
null_ls.builtins.formatting.rustfmt,
-- YAML
null_ls.builtins.formatting.yamlfmt,
},
on_attach = function(client, bufnr)
if client.supports_method("textDocument/formatting") then

View file

@ -5,16 +5,16 @@
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;
# }
# ];
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;
}
];
}

View file

@ -49,8 +49,8 @@ in {
services.openssh = {
enable = true;
settings.PasswordAuthentication = false;
settings.KbdInteractiveAuthentication = false;
settings.PasswordAuthentication = true;
settings.KbdInteractiveAuthentication = true;
};
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion