Compare commits

..

No commits in common. "939d0cc861132ef4f1c6577fcfe4c0ebbf3c7c52" and "10fbeac1404f2719437b1d229e128d078ac54694" have entirely different histories.

6 changed files with 23 additions and 34 deletions

View file

@ -1,9 +0,0 @@
{ config, lib, ...}: {
imports = [ ./options.nix ];
fileSystems = lib.mapAttrs (dest: key: {
depends = [ "/persist" ];
device = "/persist/binds/${key}";
fsType = "none";
options = [ "bind" ];
}) config.me.binds;
}

View file

@ -14,7 +14,6 @@ let
}) paths }) paths
); );
in { in {
binds = ./binds.nix;
options = ./options.nix; options = ./options.nix;
services = mkAttrsFromPaths [ services = mkAttrsFromPaths [
./services/banksia.nix ./services/banksia.nix

View file

@ -44,10 +44,5 @@ in {
type = types.bool; type = types.bool;
default = false; default = false;
}; };
binds = lib.mkOption {
type = with lib.types; attrsOf str;
default = {};
};
}; };
} }

View file

@ -1,5 +1,5 @@
{ config, inputs, modules, ... }: { { config, inputs, modules, ... }: {
imports = [ modules.binds modules.options ]; imports = [ modules.options ];
environment.etc = { environment.etc = {
"machine-id".source = "/persist/machine-id"; "machine-id".source = "/persist/machine-id";

View file

@ -1,6 +1,5 @@
{ config, ... }: { { config, ... }: {
age.secrets.tailscale_auth.file = ../../secrets/tailscale_auth.age; age.secrets.tailscale_auth.file = ../../secrets/tailscale_auth.age;
me.binds."/var/lib/tailscale" = "tailscale";
services.tailscale = { services.tailscale = {
enable = true; enable = true;
authKeyFile = config.age.secrets.tailscale_auth.path; authKeyFile = config.age.secrets.tailscale_auth.path;

View file

@ -157,13 +157,18 @@ vim.api.nvim_create_autocmd("LspAttach", {
end end
}) })
vim.diagnostic.config({ vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(
vim.lsp.diagnostic.on_publish_diagnostics, {
focusable = false, focusable = false,
virtual_text = false, virtual_text = false,
underline = true, underline = true,
signs = true, signs = true,
update_in_insert = true update_in_insert = true
}) }
)
vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(
vim.lsp.handlers.signature_help, { focusable = false }
)
capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities) capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities)