nixos/screen: add pkgs.screen to the system closure

This commit is contained in:
Maximilian Bosch
2018-06-23 03:31:54 +02:00
parent 9c0ebbe7a3
commit 3fde98e587
2 changed files with 11 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
{ config, lib, ... }:
{ config, lib, pkgs, ... }:
let
inherit (lib) mkOption mkIf types;
@@ -25,6 +25,8 @@ in
config = mkIf (cfg.screenrc != "") {
environment.etc."screenrc".text = cfg.screenrc;
environment.systemPackages = [ pkgs.screen ];
};
}