Tristan Ross
f49e820fbc
24.11 beta release
2024-11-14 09:02:09 -08:00
Robert Hensing
2d9a686483
nixos/nix-channel.nix: shellcheck and fix the activation check
2024-07-16 22:09:33 +02:00
Robert Hensing
34fee8c804
nixos/nix-channel: Highlight and tidy the warnings
2024-07-16 21:34:40 +02:00
Vladimir Panteleev
1e6acabaeb
nix-channel: do not set empty nix-path when disabling channels
...
An empty nix-path in nix.conf will disable NIX_PATH environment variable
entirely, which is not necessarily implied by users who want to disable
nix channels. NIX_PATH also has some usages in tools like nixos-rebuild
or just as user aliases.
That change is surprising and debatable, and also caused breakages in
nixpkgs-review and user configs.
See:
- https://github.com/NixOS/nixpkgs/pull/242098/files#r1269891427
- https://github.com/Mic92/nixpkgs-review/issues/343
- https://github.com/NixOS/nix/pull/10998
Co-authored-by: oxalica <oxalicc@pm.me>
2024-07-14 18:17:16 +00:00
stuebinm
6afb255d97
nixos: remove all uses of lib.mdDoc
...
these changes were generated with nixq 0.0.2, by running
nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix
two mentions of the mdDoc function remain in nixos/, both of which
are inside of comments.
Since lib.mdDoc is already defined as just id, this commit is a no-op as
far as Nix (and the built manual) is concerned.
2024-04-13 10:07:35 -07:00
nikstur
0ebd39b541
nixos/nix-channel: remove unused stringAfter
2023-12-29 03:41:45 +01:00
Artturin
be6349fdee
Revert "23.11 beta release"
...
This line shouldn't be changed from pre to beta on master, only in the beta branch
https://nixos.github.io/release-wiki/Branch-Off.html#on-the-release-branch
This reverts commit dc7b3febf8
.
Revert "nixos/release: fix versionSuffix eval"
This reverts commit 625c450024
.
2023-11-22 22:39:48 +02:00
figsoda
dc7b3febf8
23.11 beta release
...
Signed-off-by: figsoda <figsoda@pm.me>
2023-11-21 14:04:49 -05:00
nikstur
7d0b5b3a94
nixos/nix-channnel: fix setting up the default channel again
2023-11-01 16:23:28 +01:00
nikstur
8c1739cafe
nixos/nix-channel: fix subscribing to default channel
...
Fixes https://github.com/NixOS/nixpkgs/issues/264602
2023-10-31 16:51:23 +01:00
nikstur
cb08d3dd72
nixos/nix-channel: replace activationScript via tmpfiles
2023-10-25 23:43:58 +02:00
r-vdp
b825f65c90
nixos/nix-channel: only try to remove the nix-channel binary if it exists
...
It may not be there if `system.disableInstallerTools = true`.
2023-07-24 10:34:48 +02:00
r-vdp
668e2dafb6
nixos/nix-channel: fix editorconfig warnings and apply nixpkgs-fmt
2023-07-23 15:39:32 +02:00
Robert Hensing
a1d0ee8c50
nixos/nix-channel: Apply suggestions from code review
...
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-07-08 20:49:37 +02:00
Robert Hensing
61afc4d166
nixos/nix-channel: Take care of NIX_PATH's non-empty default when disabled
2023-07-07 23:12:39 +02:00
Robert Hensing
d00e242b80
nixos: Add nixos.channel.enable
...
For those who wish to get rid of nix-channel.
2023-07-07 19:00:06 +02:00
Robert Hensing
12cb2b0b40
nixos: flakes.nix -> nix-flakes.nix
...
I guess this is what people expect to find. Thanks Sandro.
2023-07-06 23:27:17 +02:00
Robert Hensing
c83ad0598b
nixos/*nix*: Update module impl docs and link related modules
...
Something extra for the readers.
2023-07-06 20:00:10 +02:00
Robert Hensing
fad172a366
nixos/config/nix-channel: Move NIX_PATH logic
2023-07-05 14:54:29 +02:00
Robert Hensing
5c0c96a828
nixos/config/nix-channel: Factor out root channel initialization
2023-07-05 14:54:29 +02:00