mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-07-02 03:18:04 +02:00
59 lines
1.1 KiB
Nix
59 lines
1.1 KiB
Nix
{ pkgs, ... }:
|
|
{
|
|
users.users.root.initialPassword = "rewt";
|
|
nix = {
|
|
package = pkgs.nixFlakes;
|
|
extraOptions = ''
|
|
experimental-features = nix-command flakes
|
|
'';
|
|
autoOptimiseStore = true;
|
|
};
|
|
|
|
console = {
|
|
font = "Lat2-Terminus16";
|
|
keyMap = "uk";
|
|
};
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
i18n.supportedLocales = [
|
|
"en_US.UTF-8/UTF-8"
|
|
"en_US/ISO-8859-1"
|
|
"C.UTF-8/UTF-8"
|
|
];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
git
|
|
htop
|
|
tmux
|
|
(vim_configurable.override {
|
|
guiSupport = false;
|
|
luaSupport = false;
|
|
perlSupport = false;
|
|
pythonSupport = false;
|
|
rubySupport = false;
|
|
cscopeSupport = false;
|
|
netbeansSupport = false;
|
|
})
|
|
wget
|
|
git-crypt
|
|
iftop
|
|
];
|
|
|
|
users.users.root = {
|
|
openssh.authorizedKeys.keyFiles = [
|
|
../keys/ssh/revol-xut
|
|
../keys/ssh/oxa
|
|
../keys/ssh/oxa1
|
|
../keys/ssh/marenz1
|
|
../keys/ssh/marenz2
|
|
../keys/ssh/astro
|
|
];
|
|
};
|
|
services.openssh = {
|
|
enable = true;
|
|
permitRootLogin = "prohibit-password";
|
|
passwordAuthentication = false;
|
|
};
|
|
programs.mosh.enable = true;
|
|
}
|