Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions nixos/doc/manual/release-notes/rl-1809.xml
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,14 @@ inherit (pkgs.nixos {
<literal>kubectl delete clusterrolebinding kubernetes-dashboard</literal>
</para>
</listitem>
<listitem>
<para>
The <varname>programs.screen</varname> module provides allows to configure
<literal>/etc/screenrc</literal>, however the module behaved fairly counterintuitive as
the config exists, but the package wasn't available. Since 18.09 <literal>pkgs.screen</literal>
will be added to <literal>environment.systemPackages</literal>.
</para>
</listitem>
</itemizedlist>
</section>
</section>
4 changes: 3 additions & 1 deletion nixos/modules/programs/screen.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ config, lib, ... }:
{ config, lib, pkgs, ... }:

let
inherit (lib) mkOption mkIf types;
Expand All @@ -25,6 +25,8 @@ in

config = mkIf (cfg.screenrc != "") {
environment.etc."screenrc".text = cfg.screenrc;

environment.systemPackages = [ pkgs.screen ];
};

}