diff options
| author | Petri Hienonen <petri.hienonen@gmail.com> | 2026-02-03 13:44:30 +0200 |
|---|---|---|
| committer | Petri Hienonen <petri.hienonen@gmail.com> | 2026-02-03 13:44:30 +0200 |
| commit | 9c84dcac3b986eec6e968470b5751e244e341d7b (patch) | |
| tree | 78d975f5546dd650edfd3887e067e171d8268374 | |
| parent | eb227174bc2d251b31cf0d22028465aae11da925 (diff) | |
| download | nixos-9c84dcac3b986eec6e968470b5751e244e341d7b.tar.zst | |
Update
| -rw-r--r-- | home/default.nix | 7 | ||||
| -rw-r--r-- | home/nvim/lsp.lua | 1 | ||||
| -rw-r--r-- | home/nvim/plugins/treesitter.lua | 3 | ||||
| -rw-r--r-- | hosts/saarni/default.nix | 24 |
4 files changed, 35 insertions, 0 deletions
diff --git a/home/default.nix b/home/default.nix index 4ca97c3..b40a8ea 100644 --- a/home/default.nix +++ b/home/default.nix @@ -256,6 +256,13 @@ in }; programs = { + tex-fmt = { + enable = true; + settings = { + wrap = false; + tabchar = "tab"; + }; + }; go = { enable = true; telemetry.mode = "off"; diff --git a/home/nvim/lsp.lua b/home/nvim/lsp.lua index 2b8a730..36849fb 100644 --- a/home/nvim/lsp.lua +++ b/home/nvim/lsp.lua @@ -289,6 +289,7 @@ vim.lsp.config("bashls", { vim.lsp.config("texlab", { cmd = { "texlab" }, filetypes = { "tex", "plaintex", "bib" }, + latexFormatter = "tex-fmt" }) vim.lsp.enable({ diff --git a/home/nvim/plugins/treesitter.lua b/home/nvim/plugins/treesitter.lua index c408901..7f470b0 100644 --- a/home/nvim/plugins/treesitter.lua +++ b/home/nvim/plugins/treesitter.lua @@ -9,4 +9,7 @@ require "nvim-treesitter".setup { max_file_lines = 2000, }, additional_vim_regex_highlighting = false, + indent = { + enable = true, + }, } diff --git a/hosts/saarni/default.nix b/hosts/saarni/default.nix index b614131..5043657 100644 --- a/hosts/saarni/default.nix +++ b/hosts/saarni/default.nix @@ -31,6 +31,30 @@ }; network = { networks = { + "13-shared" = { + matchConfig = { + MACAddress = "5a:c1:1b:77:fc:e5"; + }; + linkConfig = { + Multicast = true; + }; + networkConfig = { + DHCP = true; + IPv6AcceptRA = true; + MulticastDNS = true; + LinkLocalAddressing = "ipv6"; + DNSSEC = true; + UseDomains = true; + }; + dhcpV4Config = { + RouteMetric = 20; + UseDNS = true; + UseMTU = true; + }; + ipv6AcceptRAConfig = { + UseMTU = true; + }; + }; "10-lan" = { matchConfig = { Name = "enps0"; |
