mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
refactor: use nixos-rebuild option instead of manual wrapping (nixos-rebuild-ng is the default now)
This commit is contained in:
parent
9532bfa8a4
commit
fc5d56ddd5
1 changed files with 4 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue