diff --git a/machines/solis/modules.nix b/machines/solis/modules.nix index 2eef00c..7d3520a 100644 --- a/machines/solis/modules.nix +++ b/machines/solis/modules.nix @@ -11,6 +11,7 @@ in { containers = { enable = true; backupDir = "/home/${username}/backups"; + interface = "enp2s0"; nginx.enable = true; vaultwarden.enable = true; diff --git a/modules/apps/dev/default.nix b/modules/apps/dev/default.nix index f19e21f..1628d1b 100644 --- a/modules/apps/dev/default.nix +++ b/modules/apps/dev/default.nix @@ -38,6 +38,7 @@ in { sqlitebrowser typst xclip + unityhub uv zed-editor diff --git a/modules/containers/default.nix b/modules/containers/default.nix index 4bc2f02..38005d6 100644 --- a/modules/containers/default.nix +++ b/modules/containers/default.nix @@ -15,6 +15,9 @@ in { options = { horseman.containers = { enable = mkEnableOption "Containers"; + interface = mkOption { + type = types.str; + }; backupDir = mkOption { type = types.str; }; @@ -26,7 +29,7 @@ in { enable = true; # Use "ve-*" when using nftables instead of iptables internalInterfaces = ["ve-+"]; - externalInterface = "enp2s0"; + externalInterface = cfg.interface; # Lazy IPv6 connectivity for the container enableIPv6 = true; }; diff --git a/modules/network/syncthing.nix b/modules/network/syncthing.nix index fb30c75..a70d23a 100644 --- a/modules/network/syncthing.nix +++ b/modules/network/syncthing.nix @@ -52,6 +52,13 @@ in { id = "documentFolder"; path = "/home/${username}/Documents"; devices = ["artemis" "terra" "solis"]; + ignorePatterns = [ + "node_modules" + ".venv" + "venv" + "dist-newstyle" + "constipated-koala/storage" + ]; }; "Programming" = { id = "programmingFolder"; diff --git a/modules/wm/hyprland/waybar.nix b/modules/wm/hyprland/waybar.nix index a5db4ac..4a822ea 100644 --- a/modules/wm/hyprland/waybar.nix +++ b/modules/wm/hyprland/waybar.nix @@ -88,12 +88,12 @@ in { }; "cpu" = { - interval = 1; + interval = 3; on-click = "kitty btop &"; }; "memory" = { - interval = 1; + interval = 3; on-click = "kitty btop &"; }; @@ -102,7 +102,7 @@ in { }; "network" = { - interval = 1; + interval = 3; tooltip-format = " {bandwidthDownBits} , {bandwidthDownBits} "; tooltip-format-wifi = "{essid}:  {bandwidthDownBits} , {bandwidthDownBits} "; @@ -110,7 +110,7 @@ in { }; "battery" = { - interval = 1; + interval = 3; format-icons = ["󰁻" "󰁽" "󰁿" "󰂁" "󰁹"]; states = { critical = 15;