safeguarding k3s & removing fwmgr from machines that have hardware with no upstream updates
This commit is contained in:
1 parent
4c8efd185d
commit
39f062a7af
10 files changed
+5
-30
No files matched your search
@@ -33,7 +33,6 @@ in
|
||||
imports = [
|
||||
./services
|
||||
./hardware-configuration
|
||||
./hardware.nix
|
||||
];
|
||||
|
||||
skyg.user.enable = true;
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
{ ... }:
|
||||
{
|
||||
services.fwupd.enable = true;
|
||||
}
|
||||
@@ -1,14 +1,8 @@
|
||||
{ pkgs, config, ... }:
|
||||
let
|
||||
staticIp = ip: {
|
||||
lan = { ipv4_address = ip; };
|
||||
};
|
||||
in
|
||||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./services
|
||||
./hardware-configuration
|
||||
./hardware.nix
|
||||
./systemd.nix
|
||||
];
|
||||
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
{ ... }:
|
||||
{
|
||||
services.fwupd.enable = true;
|
||||
}
|
||||
@@ -2,7 +2,6 @@
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration
|
||||
./hardware.nix
|
||||
./systemd.nix
|
||||
./services
|
||||
];
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
{ ... }:
|
||||
{
|
||||
services.fwupd.enable = true;
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
@@ -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";
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user