Merge branch 'main' of ssh://localhost:16718/Koen/nix-config

This commit is contained in:
KoenDR06 2026-02-19 00:46:46 +01:00
commit f254c80baa
5 changed files with 17 additions and 5 deletions

View file

@ -11,6 +11,7 @@ in {
containers = { containers = {
enable = true; enable = true;
backupDir = "/home/${username}/backups"; backupDir = "/home/${username}/backups";
interface = "enp2s0";
nginx.enable = true; nginx.enable = true;
vaultwarden.enable = true; vaultwarden.enable = true;

View file

@ -38,6 +38,7 @@ in {
sqlitebrowser sqlitebrowser
typst typst
xclip xclip
unityhub
uv uv
zed-editor zed-editor

View file

@ -15,6 +15,9 @@ in {
options = { options = {
horseman.containers = { horseman.containers = {
enable = mkEnableOption "Containers"; enable = mkEnableOption "Containers";
interface = mkOption {
type = types.str;
};
backupDir = mkOption { backupDir = mkOption {
type = types.str; type = types.str;
}; };
@ -26,7 +29,7 @@ in {
enable = true; enable = true;
# Use "ve-*" when using nftables instead of iptables # Use "ve-*" when using nftables instead of iptables
internalInterfaces = ["ve-+"]; internalInterfaces = ["ve-+"];
externalInterface = "enp2s0"; externalInterface = cfg.interface;
# Lazy IPv6 connectivity for the container # Lazy IPv6 connectivity for the container
enableIPv6 = true; enableIPv6 = true;
}; };

View file

@ -52,6 +52,13 @@ in {
id = "documentFolder"; id = "documentFolder";
path = "/home/${username}/Documents"; path = "/home/${username}/Documents";
devices = ["artemis" "terra" "solis"]; devices = ["artemis" "terra" "solis"];
ignorePatterns = [
"node_modules"
".venv"
"venv"
"dist-newstyle"
"constipated-koala/storage"
];
}; };
"Programming" = { "Programming" = {
id = "programmingFolder"; id = "programmingFolder";

View file

@ -88,12 +88,12 @@ in {
}; };
"cpu" = { "cpu" = {
interval = 1; interval = 3;
on-click = "kitty btop &"; on-click = "kitty btop &";
}; };
"memory" = { "memory" = {
interval = 1; interval = 3;
on-click = "kitty btop &"; on-click = "kitty btop &";
}; };
@ -102,7 +102,7 @@ in {
}; };
"network" = { "network" = {
interval = 1; interval = 3;
tooltip-format = " {bandwidthDownBits} , {bandwidthDownBits} "; tooltip-format = " {bandwidthDownBits} , {bandwidthDownBits} ";
tooltip-format-wifi = "{essid}: {bandwidthDownBits} , {bandwidthDownBits} "; tooltip-format-wifi = "{essid}: {bandwidthDownBits} , {bandwidthDownBits} ";
@ -110,7 +110,7 @@ in {
}; };
"battery" = { "battery" = {
interval = 1; interval = 3;
format-icons = ["󰁻" "󰁽" "󰁿" "󰂁" "󰁹"]; format-icons = ["󰁻" "󰁽" "󰁿" "󰂁" "󰁹"];
states = { states = {
critical = 15; critical = 15;