Kill channels

This commit is contained in:
2025-05-01 23:44:55 +02:00
parent 0fe1354cc0
commit c3469efba3
+2 -15
View File
@@ -1,20 +1,7 @@
{
pkgs,
lib,
inputs,
config,
...
}: {
{pkgs, ...}: {
nix = {
# This will add each flake input as a registry
# To make nix3 commands consistent with your flake
registry = lib.mapAttrs (_: value: {flake = value;}) inputs;
# This will additionally add your inputs to the system's legacy channels
# Making legacy nix commands consistent as well, awesome!
nixPath = lib.mapAttrsToList (key: value: "${key}=${value.to.path}") config.nix.registry;
optimise.automatic = true;
channel.enable = false;
settings = {
warn-dirty = false;
experimental-features = ["nix-command" "flakes"];