nix-config/modules/base.nix

51 lines
916 B
Nix

{ pkgs, config, ... }:
{
_module.args.buildVM = false;
nix = {
package = pkgs.nixFlakes;
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/ssh/revol-xut
../keys/ssh/oxa
../keys/ssh/marenz1
../keys/ssh/marenz2
];
};
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
atop
fish
git
htop
tmux
vim_configurable
wget
git-crypt
neovim
custom-gnuradio
];
# Enable the OpenSSH daemon.
services.openssh = {
enable = true;
passwordAuthentication = false;
};
programs.mosh.enable = true;
}