Add Gitea deploy and NixOS switch workflows
Deploy cloud-pc / deploy (push) Failing after 1s
Deploy mini-pc / deploy (push) Failing after 4s
NixOS switch mini-pc / switch (push) Failing after 10m19s
NixOS switch cloud-pc / switch (push) Has been cancelled

This commit is contained in:
Dmitry
2026-05-29 17:17:27 +03:00
parent 0f6c4525b2
commit 86fb248d85
7 changed files with 113 additions and 0 deletions
+2
View File
@@ -33,6 +33,8 @@
};
};
services.resolved.enable = false;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
+12
View File
@@ -37,6 +37,18 @@
};
};
security.sudo.extraRules = [
{
users = [ "ada" ];
commands = [
{
command = "/run/current-system/sw/bin/nixos-rebuild";
options = [ "NOPASSWD" ];
}
];
}
];
environment.systemPackages = with pkgs; [
git
restic