nix-git/modules/headless.nix

31 lines
864 B
Nix
Raw Normal View History

2023-09-27 12:06:14 +02:00
{ config, pkgs, ... }:
{
users.users.yoda = {
packages = with pkgs; [
2024-12-03 20:16:39 +01:00
zenith # Terminal resource monitor / task manager
btop # Terminal resource monitor / task manager
htop # Terminal resource monitor / task manager
2023-09-27 12:06:14 +02:00
];
};
2023-10-05 12:40:35 +02:00
2024-07-12 23:05:22 +02:00
# Terminal multiplexer
programs.screen.enable = true;
2023-10-05 12:40:35 +02:00
programs.screen.screenrc = ''
defscrollback 10000
2024-07-12 23:05:22 +02:00
startup_message off
2023-10-05 12:40:35 +02:00
'';
2024-01-17 20:54:38 +01:00
# Small storage space savings.
#
# Don't install documentation to `/share/doc`.
documentation.doc.enable = false;
# Don't install man pages.
documentation.man.enable = false;
# Don't install install info pages and the info command.
documentation.info.enable = false;
# To enable port forwarding to a headless NixOS server,
# we don't want the suffix if its global IPv6 address to change regularly.
networking.tempAddresses = "disabled";
2023-09-27 12:06:14 +02:00
}