From 7dc82821b74db8ea038591588f1efef5eb40c077 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Thu, 21 Nov 2024 20:51:38 +0000 Subject: [PATCH] nixos/system: add nixos-rebuild-ng --- nixos/system/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/system/default.nix b/nixos/system/default.nix index dcc94518..7b015fdb 100644 --- a/nixos/system/default.nix +++ b/nixos/system/default.nix @@ -1,4 +1,4 @@ -{ config, lib, ... }: +{ config, lib, pkgs, ... }: let cfg = config.nixos.system; @@ -116,6 +116,8 @@ in enableNg = lib.mkDefault true; }; + environment.systemPackages = with pkgs; [ nixos-rebuild-ng ]; + # nixos/modules/misc/version.nix users.motd = lib.mkIf cfg.motd.enable ''Welcome to '${config.networking.hostName}' running NixOS ${config.system.nixos.version}!'';