this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(nixos): new installer upload script

Khue Doan 9817f7e1 744778d6

+19 -5
+2 -4
infra/_modules/nixos/flake.nix
··· 16 16 hosts = builtins.fromJSON (builtins.readFile ./hosts.json); 17 17 in 18 18 { 19 - nixos = nixpkgs.lib.nixosSystem { 19 + installer = nixpkgs.lib.nixosSystem { 20 20 system = "x86_64-linux"; 21 21 modules = [ 22 - disko.nixosModules.disko 23 - ./configuration.nix 24 - ./disks.nix 22 + ./profiles/installer.nix 25 23 ]; 26 24 }; 27 25 kube-1 = nixpkgs.lib.nixosSystem {
+16
infra/_modules/nixos/upload-installer-proxmox.sh
··· 1 + #!/usr/bin/env sh 2 + 3 + # TODO auto run this and avoid chicken and eggs 4 + # Currently running ./upload-installer-proxmox.sh manually 5 + 6 + set -euo pipefail -x 7 + 8 + PROMOX_HOST="proxmox" 9 + 10 + nix build -L .#nixosConfigurations.installer.config.system.build.isoImage 11 + ISO="$(readlink -e result/iso/*.iso)" 12 + 13 + echo "Uploading ${ISO} to Proxmox" 14 + scp "${ISO}" root@proxmox:/var/lib/vz/template/iso/nixos-installer.iso 15 + 16 + rm result
+1 -1
infra/_modules/proxmox-vm/variables.tf
··· 17 17 }) 18 18 19 19 default = { 20 - file = "nixos-minimal-25.05.808723.b1b329146965-x86_64-linux.iso" 20 + file = "nixos-installer.iso" 21 21 } 22 22 } 23 23