Compare commits
12 Commits
8948970733
...
01f0524153
| Author | SHA1 | Date | |
|---|---|---|---|
| 01f0524153 | |||
| 109d31e210 | |||
| 36bafd2602 | |||
| c9646e20ae | |||
| 438c4dcb2d | |||
| a29d1d15a6 | |||
| 62158a3cdb | |||
| 4fe32a1600 | |||
| 6d638e6fed | |||
| 8aab928228 | |||
| af23a4089a | |||
| 1c3e28612f |
@@ -95,6 +95,7 @@
|
|||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
bash
|
||||||
vim
|
vim
|
||||||
wget
|
wget
|
||||||
curl
|
curl
|
||||||
@@ -295,10 +296,11 @@
|
|||||||
tokenFile = "/data/runner/gitea-infrastructure-token.txt";
|
tokenFile = "/data/runner/gitea-infrastructure-token.txt";
|
||||||
labels = [
|
labels = [
|
||||||
"home-server"
|
"home-server"
|
||||||
"home-server:host"
|
"native:host"
|
||||||
];
|
];
|
||||||
hostPackages = with pkgs; [
|
hostPackages = with pkgs; [
|
||||||
bashNonInteractive
|
bashNonInteractive
|
||||||
|
bash
|
||||||
coreutils
|
coreutils
|
||||||
docker
|
docker
|
||||||
git
|
git
|
||||||
@@ -310,24 +312,16 @@
|
|||||||
kubectl
|
kubectl
|
||||||
kubernetes-helm
|
kubernetes-helm
|
||||||
];
|
];
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
container = {
|
container = { enabled = false; };
|
||||||
enabled = false;
|
|
||||||
};
|
|
||||||
runner = {
|
|
||||||
shell = "${pkgs.bashNonInteractive}/bin/bash";
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
systemd.services.gitea-runner-infrastructure.environment = {
|
|
||||||
RUNNER_SHELL = "${pkgs.bashNonInteractive}/bin/bash";
|
environment.pathsToLink = [
|
||||||
PATH = lib.makeBinPath [
|
"/bin"
|
||||||
pkgs.bashNonInteractive
|
];
|
||||||
pkgs.coreutils
|
|
||||||
pkgs.git
|
|
||||||
];
|
|
||||||
};
|
|
||||||
systemd.services.gitea-runner-infrastructure.serviceConfig = {
|
systemd.services.gitea-runner-infrastructure.serviceConfig = {
|
||||||
ReadWritePaths = [
|
ReadWritePaths = [
|
||||||
"/data/cloudflare/"
|
"/data/cloudflare/"
|
||||||
@@ -356,7 +350,7 @@
|
|||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
kubernetes-helm
|
kubernetes-helm
|
||||||
];
|
];
|
||||||
shell = pkgs.bashNonInteractive;
|
shell = pkgs.bash;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -6,12 +6,17 @@
|
|||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
#boot.kernelPackages = pkgs.linuxKernel.kernels.linux_6_6;
|
||||||
# boot.extraModulePackages = with config.boot.kernelPackages; [ xpadneo ];
|
# boot.extraModulePackages = with config.boot.kernelPackages; [ xpadneo ];
|
||||||
# boot.kernelModules = [ "hid_xpadneo" ];
|
# boot.kernelModules = [ "hid_xpadneo" ];
|
||||||
# boot.kernelModules = [
|
# boot.kernelModules = [
|
||||||
# "hid_microsoft" # Xbox One Elite 2 controller driver preferred by Steam
|
# "hid_microsoft" # Xbox One Elite 2 controller driver preferred by Steam
|
||||||
# "uinput"
|
# "uinput"
|
||||||
# ];
|
# ];
|
||||||
|
boot.kernelPackages = pkgs.linuxPackages_6_6;
|
||||||
|
boot.kernelParams = [
|
||||||
|
"amdgpu.discovery=1"
|
||||||
|
];
|
||||||
|
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|
||||||
@@ -104,4 +109,4 @@
|
|||||||
|
|
||||||
system.stateVersion = "25.11"; # Did you read the comment?
|
system.stateVersion = "25.11"; # Did you read the comment?
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,23 +24,3 @@ jobs:
|
|||||||
--no-privilege-elevation \
|
--no-privilege-elevation \
|
||||||
data-ssd/media \
|
data-ssd/media \
|
||||||
backup/media
|
backup/media
|
||||||
# steps:
|
|
||||||
# - name: run syncoid
|
|
||||||
# run: |
|
|
||||||
# zpool status
|
|
||||||
# echo ""
|
|
||||||
# zfs list
|
|
||||||
# echo ""
|
|
||||||
# syncoid \
|
|
||||||
# --recursive \
|
|
||||||
# --no-privilege-elevation \
|
|
||||||
# --no-rollback \
|
|
||||||
# data-ssd/data \
|
|
||||||
# backup/data
|
|
||||||
|
|
||||||
# syncoid \
|
|
||||||
# --recursive \
|
|
||||||
# --no-privilege-elevation \
|
|
||||||
# --no-rollback \
|
|
||||||
# data-ssd/media \
|
|
||||||
# backup/media
|
|
||||||
Reference in New Issue
Block a user