refactor: use nixos-rebuild option instead of manual wrapping (nixos-rebuild-ng is the default now)

This commit is contained in:
Gerg-L 2025-11-06 21:14:39 -05:00
parent 9532bfa8a4
commit fc5d56ddd5
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI

View file

@ -14,14 +14,6 @@
pciutils # lspci
nix-janitor
;
nixos-rebuild-ng = pkgs.symlinkJoin {
name = "nixos-rebuild-ng";
paths = [ pkgs.nixos-rebuild-ng ];
postBuild = ''
ln -s "$out/bin/nixos-rebuild-ng" "$out/bin/nixos-rebuild"
'';
};
};
programs.git.enable = true;
@ -69,7 +61,10 @@
# Useless with flakes (without configuring)
programs.command-not-found.enable = false;
system.disableInstallerTools = true;
system = {
disableInstallerTools = true;
tools.nixos-rebuild.enable = true;
};
services.userborn.enable = true;
boot.enableContainers = false;