1
0
Fork 0

Compare commits

..

No commits in common. "617f0f8f8be94c622261b5b9fd831751ebc9596f" and "fa220411bcb192e2eb4b73882913ef4cf5b80293" have entirely different histories.

7 changed files with 69 additions and 130 deletions

View file

@ -236,11 +236,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1706001011, "lastModified": 1705879479,
"narHash": "sha256-J7Bs9LHdZubgNHZ6+eE/7C18lZ1P6S5/zdJSdXFItI4=", "narHash": "sha256-ZIohbyly1KOe+8I3gdyNKgVN/oifKdmeI0DzMfytbtg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "3df2a80f3f85f91ea06e5e91071fa74ba92e5084", "rev": "2d47379ad591bcb14ca95a90b6964b8305f6c913",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -279,11 +279,11 @@
}, },
"locked": { "locked": {
"dir": "contrib", "dir": "contrib",
"lastModified": 1706046678, "lastModified": 1705963870,
"narHash": "sha256-RSUCVXcOyVtEecKeBphPoljv6RmfScuSbxszBi2OOKc=", "narHash": "sha256-JYBsfBcRtd+8EHxKZ24stJbhox9VogikXSR/2Y9sYXQ=",
"owner": "neovim", "owner": "neovim",
"repo": "neovim", "repo": "neovim",
"rev": "fcd9905291c02917410ff7c55542fd73e4b25e2d", "rev": "dc466f9a63ede5e2bbddc33688c0c972abfe9a52",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -304,11 +304,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1706046947, "lastModified": 1705975320,
"narHash": "sha256-YWulmLXhGCOEM0yMO71jHTCuaNkrkw6aLA5dwktbANI=", "narHash": "sha256-heIdhXwvOyTBtu7gSsnTHx69r4Dpju1xj4SAa+zZT1w=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "e6b1de062ef6b35837aec79fe5abbf8560792f47", "rev": "38e0e2b99fb13b39b1d506991b414a5ff6791a6f",
"revCount": 681, "revCount": 680,
"type": "git", "type": "git",
"url": "https://git.kempkens.io/daniel/nix-overlay" "url": "https://git.kempkens.io/daniel/nix-overlay"
}, },
@ -355,11 +355,11 @@
}, },
"nixos-unstable": { "nixos-unstable": {
"locked": { "locked": {
"lastModified": 1706022028, "lastModified": 1705891108,
"narHash": "sha256-F8Gv4R4K/AvS3+6pWd8wlnw4Vhgf7bcszy7i8XPbzA0=", "narHash": "sha256-PQ0Df5BzByg+0gPE1goa9WYVXSoEP6gtjblrbYC8WOI=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "15ff1758e7816331033baa14eebbea68626128f3", "rev": "8cccce637e19577815de54c5ecc3132dff965aee",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -95,6 +95,49 @@
(highlight :NeogitDiffDelete {:fg mod.colors.comment :bg mod.colors.red}) (highlight :NeogitDiffDelete {:fg mod.colors.comment :bg mod.colors.red})
(highlight :NeogitDiffDeleteHighlight (highlight :NeogitDiffDeleteHighlight
{:fg mod.colors.black :bg mod.colors.bright_red}) {:fg mod.colors.black :bg mod.colors.bright_red})
(highlight :NeogitCursorLine {:fg mod.colors.fg :bg mod.colors.visual})) (highlight :NeogitCursorLine {:fg mod.colors.fg :bg mod.colors.visual})
;; nvim-treesitter
(highlight-link "@variable.parameter" "@parameter")
(highlight-link "@variable.member" "@field")
(highlight-link "@module" "@namespace")
(highlight-link "@number.float" "@float")
(highlight-link "@string.special.symbol" "@symbol")
(highlight-link "@string.regexp" "@string.regex")
(highlight-link "@markup.strong" "@text.strong")
(highlight-link "@markup.italic" "@text.emphasis")
(highlight-link "@markup.underline" "@text.underline")
(highlight-link "@markup.strikethrough" "@text.strike")
(highlight-link "@markup.heading" "@text.title")
(highlight-link "@markup.quote" "@text.quote")
(highlight-link "@markup.link.url" "@text.uri")
(highlight-link "@markup.math" "@text.math")
(highlight-link "@markup.environment" "@text.environment")
(highlight-link "@markup.environment.name" "@text.environment.name")
(highlight-link "@markup.link" "@text.reference")
(highlight-link "@markup.raw" "@text.literal")
(highlight-link "@markup.raw.block" "@text.literal.block")
(highlight-link "@markup.link.label" "@string.special")
(highlight-link "@markup.list" "@punctuation.special")
(highlight-link "@function.method" "@method")
(highlight-link "@function.method.call" "@method.call")
(highlight-link "@comment.todo" "@text.todo")
(highlight-link "@comment.error" "@text.danger")
(highlight-link "@comment.warning" "@text.warning")
(highlight-link "@comment.hint" "@text.note")
(highlight-link "@comment.info" "@text.note")
(highlight-link "@comment.note" "@text.note")
(highlight-link "@comment.ok" "@text.note")
(highlight-link "@diff.plus" "@text.diff.add")
(highlight-link "@diff.minus" "@text.diff.delete")
(highlight-link "@diff.delta" "@text.diff.change")
(highlight-link "@string.special.url" "@text.uri")
(highlight-link "@keyword.directive" "@preproc")
(highlight-link "@keyword.storage" "@storageclass")
(highlight-link "@keyword.directive" "@define")
(highlight-link "@keyword.conditional" "@conditional")
(highlight-link "@keyword.debug" "@debug")
(highlight-link "@keyword.exception" "@exception")
(highlight-link "@keyword.import" "@include")
(highlight-link "@keyword.repeat" "@repeat"))
mod) mod)

View file

@ -40,12 +40,12 @@ in
}; };
wezterm-nvim = buildVimPlugin { wezterm-nvim = buildVimPlugin {
pname = "wezterm.nvim"; pname = "wezterm.nvim";
version = "2024-01-23"; version = "2023-11-02";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "willothy"; owner = "willothy";
repo = "wezterm.nvim"; repo = "wezterm.nvim";
rev = "3455f419f9fd20c01bb5cda8c0dc726b18e083cf"; rev = "2aacd6405c52ef4b865a7baf2598fa3d7b0bc25c";
sha256 = "0zwgc22bgan66zkr5q7h053p8bacv3afka4sjwnhnjh8rvlww86p"; sha256 = "1g43hyf7cmgr6vk59s7v4g5g4r0k8cm7bcki1klx40vqmlpq6rk5";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };
@ -106,23 +106,23 @@ in
}; };
dracula-nvim = buildVimPlugin { dracula-nvim = buildVimPlugin {
pname = "dracula.nvim"; pname = "dracula.nvim";
version = "2024-01-23"; version = "2024-01-10";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Mofiqul"; owner = "Mofiqul";
repo = "dracula.nvim"; repo = "dracula.nvim";
rev = "a6cb758d4b182d9f2b7e742910078d94877c1059"; rev = "8fc749e2479d62829c9c627867770035b74529a4";
sha256 = "1v6hwh225lh7jayq7y18d8lp8n8dk7scy21f0s5jyppy1rn7yrf8"; sha256 = "14j3lz53vfz9w6iiw0zywqwknh0blsma9vzi10qqchq8cf1b6w1d";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };
nvim-treesitter = buildVimPlugin { nvim-treesitter = buildVimPlugin {
pname = "nvim-treesitter"; pname = "nvim-treesitter";
version = "2024-01-23"; version = "2024-01-22";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nvim-treesitter"; owner = "nvim-treesitter";
repo = "nvim-treesitter"; repo = "nvim-treesitter";
rev = "177a775fd8b2a9de97011a43f13c74ad8d3739c8"; rev = "cd4e0909948eb33d3959e133c16f837e4db122c6";
sha256 = "1dbyk1c4qjvdpx5sc4kjw5ygzkmxs0z34r4xcwsmfjlmd50v82zr"; sha256 = "096rvmvr7bwl7g9cvzm92w6akpj3ycpy7dznh7pjgwb8mwf97r5j";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };
@ -502,12 +502,12 @@ in
}; };
gitsigns-nvim = buildVimPlugin { gitsigns-nvim = buildVimPlugin {
pname = "gitsigns.nvim"; pname = "gitsigns.nvim";
version = "2024-01-23"; version = "2024-01-20";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lewis6991"; owner = "lewis6991";
repo = "gitsigns.nvim"; repo = "gitsigns.nvim";
rev = "300a306da9973e81c2c06460f71fd7a079df1f36"; rev = "c5ff7628e19a47ec14d3657294cc074ecae27b99";
sha256 = "1vy1p2cgcmfwzgfd011pnvib2vp1zgwv2kp59xlb0v3jxl8rnsvj"; sha256 = "1gwpiq3fdjg3b6hg82lq7i0cxfyyb89cr079jc9ja36ypwbkclkl";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };

View file

@ -25,10 +25,6 @@ in
(import ../nixos/forgejo-runner.nix (args // { name = "argon"; tag = "ubuntu-latest-arm64"; nixTag = "arm64"; })) (import ../nixos/forgejo-runner.nix (args // { name = "argon"; tag = "ubuntu-latest-arm64"; nixTag = "arm64"; }))
../nixos/grafana.nix
../nixos/loki.nix
../nixos/telegraf.nix
../nixos/tailscale.nix ../nixos/tailscale.nix
../nixos/unbound.nix ../nixos/unbound.nix

View file

@ -1,36 +0,0 @@
let
fqdn = "grafana.internal.kempkens.network";
in
{
services.grafana = {
enable = true;
settings = {
analytics.reporting_enabled = false;
server = {
root_url = "https://${fqdn}";
domain = fqdn;
enforce_domain = true;
enable_gzip = true;
http_addr = "127.0.0.1";
http_port = 3099;
};
};
};
services.nginx.virtualHosts."${fqdn}" = {
quic = true;
http3 = true;
onlySSL = true;
useACMEHost = "internal.kempkens.network";
locations."/" = {
recommendedProxySettings = true;
proxyPass = "http://127.0.0.1:3099";
proxyWebsockets = true;
};
};
}

View file

@ -1,39 +0,0 @@
{
services.loki = {
enable = true;
configuration = {
auth_enabled = false;
analytics.reporting_enabled = false;
server = {
http_listen_port = 3100;
};
common = {
ring = {
instance_addr = "127.0.0.1";
kvstore.store = "inmemory";
};
replication_factor = 1;
path_prefix = "/var/lib/loki/common";
};
schema_config = {
configs = [
{
from = "2024-01-23";
store = "tsdb";
object_store = "filesystem";
schema = "v12";
index = {
prefix = "index_";
period = "24h";
};
}
];
};
};
};
}

View file

@ -1,25 +0,0 @@
{
services.telegraf = {
enable = true;
extraConfig = {
inputs = {
syslog = {
server = "udp://:6514";
syslog_standard = "RFC3164";
best_effort = true;
};
};
outputs = {
loki = {
domain = "http://127.0.0.1:3100";
endpoint = "/loki/api/v1/push";
timeout = "15s";
};
};
};
};
networking.firewall.interfaces."vlan777".allowedUDPPorts = [ 6514 ];
}