From 5e910b90ae025f8cd1f899de08da44fcbd519574 Mon Sep 17 00:00:00 2001 From: Alex Mickelson Date: Sat, 29 Mar 2025 08:50:41 -0600 Subject: [PATCH] k3s --- nix/alex-desktop.nix | 10 ++++------ nix/modules/k3s.nix | 1 + 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/nix/alex-desktop.nix b/nix/alex-desktop.nix index 2a69ee1..55dcfdc 100644 --- a/nix/alex-desktop.nix +++ b/nix/alex-desktop.nix @@ -50,14 +50,8 @@ alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; - # use the example session manager (no others are packaged yet so this is enabled by default, - # no need to redefine it in your config for now) - #media-session.enable = true; }; - # Enable touchpad support (enabled default in most desktopManager). - # services.xserver.libinput.enable = true; - users.users.alex = { isNormalUser = true; description = "alex"; @@ -76,6 +70,10 @@ home-manager.backupFileExtension = "backup"; programs.firefox.enable = true; + services.fwupd.enable = true; + hardware.enableAllFirmware = true; + hardware.firmware = with pkgs; [ linux-firmware ]; + nixpkgs.config.allowUnfree = true; environment.systemPackages = with pkgs; [ vim diff --git a/nix/modules/k3s.nix b/nix/modules/k3s.nix index f3e98f6..8308fcf 100644 --- a/nix/modules/k3s.nix +++ b/nix/modules/k3s.nix @@ -7,6 +7,7 @@ services.k3s.extraFlags = toString [ # "--debug" # Optionally add additional args to k3s "--disable=traefik" + "--bind-address 100.122.128.107" "--tls-san 100.122.128.107" ]; networking.firewall.allowedTCPPorts = [