Compare commits

...

12 Commits

Author SHA1 Message Date
01f0524153 only gitea apply kube
Some checks failed
Apply Kuberentes Configs / update-repo (push) Failing after 0s
Apply Kuberentes Configs / update-infrastructure (push) Has been skipped
2026-02-07 13:32:27 -07:00
109d31e210 Update tv-computer.nix 2026-01-31 09:33:19 -07:00
36bafd2602 Update tv-computer.nix 2026-01-31 09:32:49 -07:00
c9646e20ae Update tv-computer.nix 2026-01-31 09:32:15 -07:00
438c4dcb2d test 2026-01-31 09:31:02 -07:00
a29d1d15a6 Merge branch 'main' of github.com:alexmickelson/infrastructure 2026-01-31 09:30:29 -07:00
62158a3cdb test 2026-01-31 09:30:08 -07:00
4fe32a1600 Update tv-computer.nix 2026-01-31 09:27:40 -07:00
6d638e6fed trying again 2026-01-27 22:57:38 -07:00
8aab928228 trying again 2026-01-27 22:57:20 -07:00
af23a4089a trying again 2026-01-27 22:55:26 -07:00
1c3e28612f trying again 2026-01-27 22:54:30 -07:00
6 changed files with 16 additions and 37 deletions

View File

@@ -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;
}; };

View File

@@ -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?
} }

View File

@@ -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