mailtngbert/modules/base.nix

31 lines
575 B
Nix
Raw Normal View History

2022-02-24 21:25:18 +01:00
{ pkgs, lib, config, ... }:
2022-02-20 18:26:28 +01:00
{
_module.args.buildVM = false;
users.users.root = {
openssh.authorizedKeys.keyFiles = [
./keys/revol-xut
2022-02-24 21:25:18 +01:00
./keys/nek0
2022-02-20 18:26:28 +01:00
];
};
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
atop
fish
git
htop
tmux
vim_configurable
wget
2022-02-24 21:25:18 +01:00
neovim
];
2022-02-20 18:26:28 +01:00
# Enable the OpenSSH daemon.
services.openssh.enable = true;
services.openssh.passwordAuthentication = false;
2022-02-24 21:25:18 +01:00
services.openssh.permitRootLogin = "without-password";
2022-02-20 18:26:28 +01:00
}