Commit Graph
721298 Commits
Author SHA1 Message Date
Thiago Kenji Okada 0212452e27 nixos-rebuild-ng: split get_generations in 2 functions 2024-12-15 12:38:55 +00:00
Thiago Kenji Okada fb69f66d0c nixos-rebuild-ng: WITH_NIX_2_18 should default to true 2024-12-15 05:47:33 +00:00
Thiago Kenji Okada 3742278602 nixos-rebuild-ng: capture output of git rev-parse
Fixt #365222.
2024-12-15 00:32:05 +00:00
Thiago Kenji Okada 38c8c39b6d nixos-rebuild-ng: improve assertion for unreachable code 2024-12-14 14:03:21 +00:00
Thiago Kenji Okada 11bbfac1c9 nixos-rebuild-ng: support --target-host for build-vm/build-vm-with-bootloader 2024-12-14 12:16:42 +00:00
Thiago Kenji Okada b1203ae015 nixos-rebuild-ng: add "Breaking changes" section 2024-12-14 10:30:11 +00:00
Thiago Kenji Okada abda7147ff nixos-rebuild-ng: remove tabulate as dependency 2024-12-13 20:45:09 +00:00
Thiago Kenji Okada df1de458e0 nixos-rebuild-ng: remove --verbose flag hack 2024-12-13 20:43:46 +00:00
Thiago Kenji Okada 49afd97aab nixos-rebuild-ng: run list_generations in parallel 2024-12-13 13:12:50 +00:00
Thiago Kenji Okada 84c6a4e1cc nixos-rebuild-ng: add --debug flag 2024-12-13 13:12:50 +00:00
Thiago Kenji Okada 0051a3dc9a nixos-rebuild-ng: use -s as copy_flags 2024-12-13 13:12:50 +00:00
Thiago Kenji Okada 210faf5166 nixos-rebuild-ng: change copy closure logic when copying from_host -> to_host
- If user is using Nix 2.18+ (the default), we will switch to use `nix
  copy` since it supports using `--from` and `--to` at the same time
- If user is using older versions of Nix, we will call
  `nix-copy-closure` twice, once with `--from` and another with `--to`

The reason for this change is because the previous logic, that SSH'd to
from_host to copy to to_host using `nix-copy-closure --to` means that
`from_host` needs to have credentials to communicate with `to_host`,
that is not always possible nor expected. It breaks even in simple cases
like `--from` and `--to` is the same host because it is not common for a
host to SSH'd itself. This also makes the behavior more consistent,
since `--from` and `--to` is interpreted from the eval host point of
view EXCEPT when they're used together.

This may of course break in the cases where this old behavior was
assumed, e.g.: deploying with a bastion host. I am not sure how common
this was, and I think this change in behavior should enable more cases
than break, but let's see. For that particular case, running
`nixos-rebuild-ng` inside SSH command (e.g.: `ssh build_host --
nixos-rebuild-ng switch --target-host target_host`) should do the
trick.
2024-12-13 13:12:50 +00:00
rewineandGitHub f98a28c1f0 wlroots: 0.18.1 -> 0.18.2 (#364488) 2024-12-13 00:12:17 +08:00
Maximilian BoschandGitHub 4c092f5bcd Merge: nixos/postgresql: Add finalPackage attribute (#364261) 2024-12-12 17:03:33 +01:00
Arne KellerandGitHub 0a324bb35b scanservjs: init at 2.27.1; nixos/scanservjs: init (#249806) 2024-12-12 17:01:22 +01:00
nixpkgs-merge-bot[bot]andGitHub fe4fe1f7fd dbcsr: 2.7.0 -> 2.8.0 (#364216) 2024-12-12 16:00:27 +00:00
Tom HubrechtandMaximilian Bosch 0bdb7a72b1 nixos/postgresql: Add finalPackage attribute
This allows refering to the actual installed package, which is necessary
when using plugins and wanting to use postgres in scripts
2024-12-12 16:54:06 +01:00
EmilyandGitHub 59dfbd4393 ungoogled-chromium: 131.0.6778.108-1 -> 131.0.6778.139-1 (#364545) 2024-12-12 16:51:02 +01:00
Bobby RongandGitHub 2fcb6baf02 pantheon.elementary-iconbrowser: 2.2.0 -> 8.0.0 (#364607) 2024-12-12 23:46:10 +08:00
Robert SchützandGitHub 5411c396fa immich: reduce closure size (#364098) 2024-12-12 07:44:43 -08:00
Maximilian BoschandGitHub 4fb843e646 Merge: nixos/doc: document how to allow-list tablespaces (#364312) 2024-12-12 16:43:10 +01:00
Arne KellerandGitHub f45e52bc6a screenconfig: init at 0.1.0 (#334104) 2024-12-12 16:40:00 +01:00
Nick CaoandGitHub 467cfdb23d systeroid: 0.4.4 -> 0.4.5 (#364411) 2024-12-12 10:39:26 -05:00
Nick CaoandGitHub 9c326ca146 rustypaste-cli: 0.9.1 -> 0.9.2 (#364415) 2024-12-12 10:39:00 -05:00
Nick CaoandGitHub d33d146445 ssocr: 2.24.0 -> 2.24.1 (#364414) 2024-12-12 10:38:39 -05:00
Nick CaoandGitHub 845cf866c1 kubernetes-kcp: 0.26.0 -> 0.26.1 (#364418) 2024-12-12 10:34:21 -05:00
Nick CaoandGitHub d6f864157c microdnf: 3.10.0 -> 3.10.1 (#364420) 2024-12-12 10:32:18 -05:00
Arne KellerandGitHub 8bbf8450e4 extlinux-conf-builder: don't emit MENU when timeout is zero (#318778) 2024-12-12 16:31:02 +01:00
Nick CaoandGitHub 43cb7e624e odpic: 5.4.0 -> 5.4.1 (#364422) 2024-12-12 10:30:41 -05:00
Nick CaoandGitHub 1f086fbb0e kuma: 2.9.1 -> 2.9.2 (#364430) 2024-12-12 10:29:40 -05:00
Nick CaoandGitHub 6082fc7f1a starlark: 0-unstable-2024-11-19 -> 0-unstable-2024-11-25 (#364331) 2024-12-12 10:27:46 -05:00
Nick CaoandGitHub ad742c92b4 godns: 3.1.9 -> 3.2.0 (#364344) 2024-12-12 10:27:22 -05:00
Nick CaoandGitHub e48d6912c8 jsonwatch: 0.7.0 -> 0.8.0 (#364345) 2024-12-12 10:26:46 -05:00
Nick CaoandGitHub 8072fe5133 agate: 3.3.10 -> 3.3.11 (#364359) 2024-12-12 10:26:10 -05:00
Nick CaoandGitHub b59108b804 wttrbar: 0.11.2 -> 0.12.0 (#364377) 2024-12-12 10:25:08 -05:00
Nick CaoandGitHub 8e037150fe terraform-providers.digitalocean: 2.44.1 -> 2.45.0 (#364380) 2024-12-12 10:24:31 -05:00
Jan Christoph EbersbachandLeah Amelia Chen ed9d230795 screenconfig: init at 0.1.0
Co-authored-by: Leah Amelia Chen <github@acc.pluie.me>
2024-12-12 16:24:01 +01:00
Nick CaoandGitHub b632f0cbd0 roddhjav-apparmor-rules: 0-unstable-2024-11-24 -> 0-unstable-2024-11-29 (#364383) 2024-12-12 10:23:59 -05:00
Nick CaoandGitHub 885a8d4d89 python312Packages.facedancer: 3.0.5 -> 3.0.6 (#364399) 2024-12-12 10:22:56 -05:00
Nick CaoandGitHub dda80d0c5d terraform-providers.buildkite: 1.13.0 -> 1.13.1 (#364402) 2024-12-12 10:22:08 -05:00
Nick CaoandGitHub 46848b4503 sesh: 2.6.0 -> 2.7.0 (#364311) 2024-12-12 10:20:51 -05:00
Nick CaoandGitHub 8f01dc89d3 terragrunt: 0.69.1 -> 0.69.10 (#364314) 2024-12-12 10:20:16 -05:00
Fabián Heredia MontielandGitHub e7a5a80b79 egl-wayland: 1.1.16 -> 1.1.17 (#363780) 2024-12-12 09:17:43 -06:00
Nick CaoandGitHub 0dac1d9f16 nginx-sso: 0.27.3 -> 0.27.4 (#364599) 2024-12-12 10:16:00 -05:00
Nick CaoandGitHub eee0203e13 fh: 0.1.19 -> 0.1.21 (#364612) 2024-12-12 10:13:23 -05:00
Nick CaoandGitHub 8545674731 crossplane-cli: 1.18.0 -> 1.18.1 (#364556) 2024-12-12 10:12:35 -05:00
Nick CaoandGitHub 9cfd6d75d3 livepeer: 0.8.0 -> 0.8.1 (#364570) 2024-12-12 10:11:33 -05:00
Nick CaoandGitHub b2770a01e8 factoriolab: 3.8.4 -> 3.8.5 (#364573) 2024-12-12 10:10:31 -05:00
Nick CaoandGitHub eac1633a08 python312Packages.lion-pytorch: 0.2.2 -> 0.2.3 (#364581) 2024-12-12 10:04:56 -05:00
Nick CaoandGitHub ceada99eae audacity: 3.7.0 -> 3.7.1 (#364584) 2024-12-12 10:04:00 -05:00