safeguarding k3s & removing fwmgr from machines that have hardware with no upstream updates

This commit is contained in:
ari committed 2026-10-21 14:40:10 -04:00
1 parent 4c8efd185d
commit 39f062a7af
10 files changed
+5 -30

No files matched your search

-1
View File
@@ -33,7 +33,6 @@ in
imports = [
./services
./hardware-configuration
./hardware.nix
];
skyg.user.enable = true;
-4
View File
@@ -1,4 +0,0 @@
{ ... }:
{
services.fwupd.enable = true;
}
+1 -7
View File
@@ -1,14 +1,8 @@
{ pkgs, config, ... }:
let
staticIp = ip: {
lan = { ipv4_address = ip; };
};
in
{ ... }:
{
imports = [
./services
./hardware-configuration
./hardware.nix
./systemd.nix
];
-4
View File
@@ -1,4 +0,0 @@
{ ... }:
{
services.fwupd.enable = true;
}
-1
View File
@@ -2,7 +2,6 @@
{
imports = [
./hardware-configuration
./hardware.nix
./systemd.nix
./services
];
-4
View File
@@ -1,4 +0,0 @@
{ ... }:
{
services.fwupd.enable = true;
}
-3
View File
@@ -15,7 +15,6 @@ in
imports = [
./services.nix
./hardware-configuration
./hardware.nix
./systemd.nix
];
@@ -28,8 +27,6 @@ in
};
skyg.nixos.desktop.enable = false;
skyg.server.admin.enable = true;
environment.systemPackages = with pkgs; [ btrfs-progs ];
networking.firewall.allowedUDPPorts = openPorts;
-4
View File
@@ -1,4 +0,0 @@
{ ... }:
{
services.fwupd.enable = true;
}
@@ -10,8 +10,6 @@
./amdgpu.nix
./coral-tpu-udev.nix
];
# Firmware Updater
services.fwupd.enable = true;
# Enable all license firmware
hardware.enableAllFirmware = true;
}
+4
View File
@@ -216,6 +216,8 @@ in
wantedBy = [ "multi-user.target" ];
serviceConfig = {
Type = "oneshot";
Restart = "on-failure";
RestartSec = "15s";
RemainAfterExit = true;
Environment = "KUBECONFIG=/etc/rancher/k3s/k3s.yaml";
ExecStart = "${pkgs.kubectl}/bin/kubectl apply -f ${agentManifest}";
@@ -230,6 +232,8 @@ in
wantedBy = [ "portainer-agent-k3s.service" ];
serviceConfig = {
Type = "oneshot";
Restart = "on-failure";
RestartSec = "15s";
RemainAfterExit = true;
Environment = "KUBECONFIG=/etc/rancher/k3s/k3s.yaml";
};