Compare commits
No commits in common. "a11717c8ceaf6b3121f6f53ef0d00a47f8522d29" and "72def5c785559608ce827726e40bfc16029737e9" have entirely different histories.
a11717c8ce
...
72def5c785
|
@ -720,11 +720,11 @@
|
||||||
},
|
},
|
||||||
"master": {
|
"master": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1719834384,
|
"lastModified": 1719764577,
|
||||||
"narHash": "sha256-M6Vr7LbYeesXrG3hjAExzIfYFxrncrs1dpnp7zdeUN4=",
|
"narHash": "sha256-304HNA/XvmyfD7JZfpqF4dEBnbUYci/gMZvDThXmYkE=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c08bd9add4732d87fde747e15b8fc053dfd1234b",
|
"rev": "19581e2ce8bc43f898ef724f8072ebf62bebb325",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -226,7 +226,7 @@ in
|
||||||
|
|
||||||
# Lid open/close
|
# Lid open/close
|
||||||
bindl=,switch:on:Lid Switch,exec,monitors="$(hyprctl monitors | grep -c '^Monitor')" && hyprctl keyword monitor "eDP-1, disable" && [ "$monitors" = 1 ] && loginctl lock-session
|
bindl=,switch:on:Lid Switch,exec,monitors="$(hyprctl monitors | grep -c '^Monitor')" && hyprctl keyword monitor "eDP-1, disable" && [ "$monitors" = 1 ] && loginctl lock-session
|
||||||
bindl=,switch:off:Lid Switch,exec, hyprctl keyword monitor "eDP-1, preferred, auto"
|
bindl=,switch:off:Lid Switch,exec, hyprctl keyword monitor "eDP-1, prefered, auto"
|
||||||
|
|
||||||
# Extra Config
|
# Extra Config
|
||||||
${cfg.extraConfig}
|
${cfg.extraConfig}
|
||||||
|
|
|
@ -49,10 +49,10 @@ local on_attach_def = function(client, bufnr)
|
||||||
l = {
|
l = {
|
||||||
function()
|
function()
|
||||||
lsp_lines.toggle()
|
lsp_lines.toggle()
|
||||||
if vim.diagnostic.is_enabled() then
|
if vim.diagnostic.is_disabled() then
|
||||||
vim.diagnostic.disable()
|
|
||||||
else
|
|
||||||
vim.diagnostic.enable()
|
vim.diagnostic.enable()
|
||||||
|
else
|
||||||
|
vim.diagnostic.disable()
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
"LSP lines",
|
"LSP lines",
|
||||||
|
@ -123,6 +123,7 @@ local servers = {
|
||||||
"bashls",
|
"bashls",
|
||||||
"gleam",
|
"gleam",
|
||||||
"gopls",
|
"gopls",
|
||||||
|
"nil_ls",
|
||||||
"pylsp",
|
"pylsp",
|
||||||
"ruff_lsp",
|
"ruff_lsp",
|
||||||
"templ",
|
"templ",
|
||||||
|
@ -132,16 +133,6 @@ for _, lsp in ipairs(servers) do
|
||||||
lspconfig_setup(lsp, {})
|
lspconfig_setup(lsp, {})
|
||||||
end
|
end
|
||||||
|
|
||||||
lspconfig_setup("nil_ls", {
|
|
||||||
settings = {
|
|
||||||
flake = {
|
|
||||||
autoArchive = true,
|
|
||||||
autoEvalInputs = true,
|
|
||||||
nixpkgsInputName = "nixpkgs",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
lspconfig_setup("nixd", {
|
lspconfig_setup("nixd", {
|
||||||
settings = {
|
settings = {
|
||||||
nixd = {
|
nixd = {
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{ config
|
{ config
|
||||||
, lib
|
, lib
|
||||||
, pkgs
|
|
||||||
, ...
|
, ...
|
||||||
}: {
|
}: {
|
||||||
## System security tweaks
|
## System security tweaks
|
||||||
|
@ -70,7 +69,6 @@
|
||||||
|
|
||||||
# SSH
|
# SSH
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
package = pkgs.master.openssh; # HACK: to fix CVE-2024-6387
|
|
||||||
settings = {
|
settings = {
|
||||||
# Disable ssh password login
|
# Disable ssh password login
|
||||||
PasswordAuthentication = lib.mkDefault false;
|
PasswordAuthentication = lib.mkDefault false;
|
||||||
|
|
Loading…
Reference in New Issue