44 lines
829 B
Nix
44 lines
829 B
Nix
|
{ pkgs, config, ... }:
|
||
|
|
||
|
{
|
||
|
_module.args.buildVM = false;
|
||
|
|
||
|
# use Nix 2.4 for flakes support
|
||
|
nix = {
|
||
|
package = pkgs.nix_2_4;
|
||
|
extraOptions = ''
|
||
|
experimental-features = nix-command flakes
|
||
|
'';
|
||
|
};
|
||
|
|
||
|
# Select internationalisation properties.
|
||
|
# i18n.defaultLocale = "en_US.UTF-8";
|
||
|
console = {
|
||
|
font = "Lat2-Terminus16";
|
||
|
keyMap = "uk";
|
||
|
};
|
||
|
|
||
|
users.users.root = {
|
||
|
openssh.authorizedKeys.keyFiles = [
|
||
|
./keys/revol-xut
|
||
|
];
|
||
|
};
|
||
|
|
||
|
# List packages installed in system profile. To search, run:
|
||
|
# $ nix search wget
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
atop
|
||
|
fish
|
||
|
git
|
||
|
htop
|
||
|
tmux
|
||
|
vim_configurable
|
||
|
wget
|
||
|
];
|
||
|
|
||
|
# Enable the OpenSSH daemon.
|
||
|
services.openssh.enable = true;
|
||
|
services.openssh.passwordAuthentication = false;
|
||
|
programs.mosh.enable = true;
|
||
|
}
|