tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
nixos/screen: add `pkgs.screen` to the system closure
Maximilian Bosch
7 years ago
3fde98e5
9c0ebbe7
+11
-1
2 changed files
expand all
collapse all
unified
split
nixos
doc
manual
release-notes
rl-1809.xml
modules
programs
screen.nix
+8
nixos/doc/manual/release-notes/rl-1809.xml
···
322
322
<literal>kubectl delete clusterrolebinding kubernetes-dashboard</literal>
323
323
</para>
324
324
</listitem>
325
325
+
<listitem>
326
326
+
<para>
327
327
+
The <varname>programs.screen</varname> module provides allows to configure
328
328
+
<literal>/etc/screenrc</literal>, however the module behaved fairly counterintuitive as
329
329
+
the config exists, but the package wasn't available. Since 18.09 <literal>pkgs.screen</literal>
330
330
+
will be added to <literal>environment.systemPackages</literal>.
331
331
+
</para>
332
332
+
</listitem>
325
333
</itemizedlist>
326
334
</section>
327
335
</section>
+3
-1
nixos/modules/programs/screen.nix
···
1
1
-
{ config, lib, ... }:
1
1
+
{ config, lib, pkgs, ... }:
2
2
3
3
let
4
4
inherit (lib) mkOption mkIf types;
···
25
25
26
26
config = mkIf (cfg.screenrc != "") {
27
27
environment.etc."screenrc".text = cfg.screenrc;
28
28
+
29
29
+
environment.systemPackages = [ pkgs.screen ];
28
30
};
29
31
30
32
}