Compare commits
No commits in common. "0fa99255f73eaac47cd80391ccf1727bffcf430d" and "cfdbed06d5326fd32c555550d45d3a26dad79efa" have entirely different histories.
0fa99255f7
...
cfdbed06d5
3 changed files with 5 additions and 62 deletions
|
|
@ -3,7 +3,6 @@ jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
# - uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
# - uses: DeterminateSystems/magic-nix-cache-action@main
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
# - run: nix flake check .
|
- run: nix flake check .
|
||||||
- run: echo hi
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
self.nixosModules.default
|
self.nixosModules.default
|
||||||
# "${modulesPath}/virtualisation/lxc-container.nix"
|
"${modulesPath}/virtualisation/lxc-container.nix"
|
||||||
];
|
];
|
||||||
deploy = {
|
deploy = {
|
||||||
enable = false;
|
enable = false;
|
||||||
|
|
@ -22,7 +22,7 @@ in
|
||||||
};
|
};
|
||||||
networking = {
|
networking = {
|
||||||
|
|
||||||
hostName = "base";
|
hostName = "tofu";
|
||||||
};
|
};
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
];
|
];
|
||||||
|
|
@ -1,56 +0,0 @@
|
||||||
{
|
|
||||||
flake,
|
|
||||||
modulesPath,
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
let
|
|
||||||
inherit (flake) inputs;
|
|
||||||
inherit (inputs) self;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
self.nixosModules.default
|
|
||||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
|
||||||
];
|
|
||||||
|
|
||||||
nix.settings = {
|
|
||||||
allowed-users = [ "gitea-runner" ];
|
|
||||||
trusted-users = [ "gitea-runner" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
services.gitea-actions-runner = {
|
|
||||||
package = pkgs.forgejo-runner;
|
|
||||||
instances = {
|
|
||||||
native = {
|
|
||||||
enable = true;
|
|
||||||
url = "https://git.skdevstuios.com";
|
|
||||||
name = "nix";
|
|
||||||
labels = [ "native:host" ];
|
|
||||||
tokenFile = config.sops.secrets.forgejo-runners-token.path;
|
|
||||||
hostPackages = with pkgs; [
|
|
||||||
nix
|
|
||||||
nodejs
|
|
||||||
git
|
|
||||||
bash
|
|
||||||
coreutils
|
|
||||||
curl
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
deploy = {
|
|
||||||
enable = false;
|
|
||||||
};
|
|
||||||
services = {
|
|
||||||
tty-ips.enable = true;
|
|
||||||
};
|
|
||||||
networking = {
|
|
||||||
hostName = "base";
|
|
||||||
};
|
|
||||||
environment.systemPackages = [
|
|
||||||
];
|
|
||||||
system.stateVersion = "25.05";
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue