enable screen and set a decent screenrc
This commit is contained in:
parent
fc0eb1a09f
commit
a18802f9db
1 changed files with 6 additions and 1 deletions
|
@ -67,13 +67,18 @@
|
|||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
git htop lsof nano sqlite tcpdump traceroute vim wget
|
||||
git htop lsof nano screen sqlite tcpdump traceroute vim wget
|
||||
];
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
programs.mtr.enable = true;
|
||||
# programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
|
||||
programs.screen.screenrc = ''
|
||||
hardstatus alwayslastline
|
||||
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m-%d %{W}%c:%s %{g}]'
|
||||
defscrollback 1000
|
||||
'';
|
||||
|
||||
# List services that you want to enable:
|
||||
|
||||
|
|
Loading…
Reference in a new issue