Skip to content

Commit

Permalink
nixos/system: add nixos-rebuild-ng
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Nov 21, 2024
1 parent 6572731 commit 7dc8282
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nixos/system/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ config, lib, ... }:
{ config, lib, pkgs, ... }:

let
cfg = config.nixos.system;
Expand Down Expand Up @@ -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}!'';

Expand Down

0 comments on commit 7dc8282

Please sign in to comment.