Compare commits
No commits in common. "e8ad16a7e670b2991b09869c0713a54cafbdccb6" and "9e47462835c0d870f883abb9a49c3a2eb9c57e93" have entirely different histories.
e8ad16a7e6
...
9e47462835
4 changed files with 23 additions and 25 deletions
|
@ -1,13 +1,14 @@
|
||||||
{
|
{ config
|
||||||
config,
|
, lib
|
||||||
lib,
|
, pkgs
|
||||||
pkgs,
|
, # vars,
|
||||||
# vars,
|
|
||||||
...
|
...
|
||||||
}: let
|
}:
|
||||||
|
let
|
||||||
vars = import ../../../../vars.nix;
|
vars = import ../../../../vars.nix;
|
||||||
colors = config.colorScheme.colors;
|
colors = config.colorScheme.colors;
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
home.sessionVariables.EDITOR = "nvim";
|
home.sessionVariables.EDITOR = "nvim";
|
||||||
|
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
|
@ -29,7 +30,6 @@ in {
|
||||||
alejandra # nix
|
alejandra # nix
|
||||||
clang-tools_16 # c/c++
|
clang-tools_16 # c/c++
|
||||||
rustfmt
|
rustfmt
|
||||||
yamlfmt
|
|
||||||
|
|
||||||
# Linters
|
# Linters
|
||||||
ruff # python
|
ruff # python
|
||||||
|
@ -233,7 +233,7 @@ in {
|
||||||
];
|
];
|
||||||
terminal = true;
|
terminal = true;
|
||||||
type = "Application";
|
type = "Application";
|
||||||
categories = ["Utility" "TextEditor"];
|
categories = [ "Utility" "TextEditor" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,8 +17,6 @@ local opts = {
|
||||||
null_ls.builtins.formatting.alejandra,
|
null_ls.builtins.formatting.alejandra,
|
||||||
-- Rust
|
-- Rust
|
||||||
null_ls.builtins.formatting.rustfmt,
|
null_ls.builtins.formatting.rustfmt,
|
||||||
-- YAML
|
|
||||||
null_ls.builtins.formatting.yamlfmt,
|
|
||||||
},
|
},
|
||||||
on_attach = function(client, bufnr)
|
on_attach = function(client, bufnr)
|
||||||
if client.supports_method("textDocument/formatting") then
|
if client.supports_method("textDocument/formatting") then
|
||||||
|
|
|
@ -5,16 +5,16 @@
|
||||||
localUsers = true;
|
localUsers = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# networking.firewall.allowedTCPPorts = [21];
|
networking.firewall.allowedTCPPorts = [21];
|
||||||
# services.vsftpd.extraConfig = ''
|
services.vsftpd.extraConfig = ''
|
||||||
# pasv_enable=Yes
|
pasv_enable=Yes
|
||||||
# pasv_min_port=51000
|
pasv_min_port=51000
|
||||||
# pasv_max_port=51999
|
pasv_max_port=51999
|
||||||
# '';
|
'';
|
||||||
# networking.firewall.allowedTCPPortRanges = [
|
networking.firewall.allowedTCPPortRanges = [
|
||||||
# {
|
{
|
||||||
# from = 51000;
|
from = 51000;
|
||||||
# to = 51999;
|
to = 51999;
|
||||||
# }
|
}
|
||||||
# ];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,8 +49,8 @@ in {
|
||||||
|
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.PasswordAuthentication = false;
|
settings.PasswordAuthentication = true;
|
||||||
settings.KbdInteractiveAuthentication = false;
|
settings.KbdInteractiveAuthentication = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||||
|
|
Loading…
Reference in a new issue