This commit is contained in:
@@ -14,6 +14,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
entrypoint: ["/etc/gitea-runner-entrypoint.sh"]
|
||||||
|
|
||||||
- name: Validate NixOS configuration
|
- name: Validate NixOS configuration
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -41,6 +41,13 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
environment.etc."gitea-runner-entrypoint.sh" = {
|
||||||
|
mode = "0755";
|
||||||
|
text = ''
|
||||||
|
#!/bin/sh
|
||||||
|
exec ${pkgs.coreutils}/bin/sleep "$@"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,6 +83,7 @@
|
|||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA6LLy8IibZsCar/hC2U86lFTp4Of2YO+SMm69p+jh6k Marcus macbook"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA6LLy8IibZsCar/hC2U86lFTp4Of2YO+SMm69p+jh6k Marcus macbook"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
extraGroups = [ "wheel" ];
|
extraGroups = [ "wheel" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user