mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-07-02 03:18:04 +02:00
67 lines
1.4 KiB
Nix
67 lines
1.4 KiB
Nix
{ pkgs, ... }:
|
|
{
|
|
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;
|
|
users.motd = ''
|
|
_._ _,-'""`-._
|
|
(,-.`._,'( |\`-/| Be vewy vewy quiet!
|
|
`-.-' \ )-`( , o o) We're hunting tewegwams!
|
|
`- \`_`"'-
|
|
'';
|
|
|
|
dump-dvb.stopsJson = "${pkgs.stops}/json/stops.json";
|
|
dump-dvb.graphJson = "${pkgs.stops}/json/graph.json";
|
|
}
|