Split common options into base

This commit is contained in:
2021-12-18 22:07:27 +01:00
committed by System administrator
parent 70aa493f43
commit cae766b85f
2 changed files with 33 additions and 71 deletions

31
base.nix Normal file
View File

@@ -0,0 +1,31 @@
{ config, pkgs, ... }:
{
imports = [
./users
];
networking.domain = "pvv.ntnu.no";
time.timeZone = "Europe/Oslo";
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "Lat2-Terminus16";
keyMap = "no";
};
environment.systemPackages = with pkgs; [
git
vim
nano
wget
tmux
file
kitty.terminfo
];
services.openssh.enable = true;
services.openssh.permitRootLogin = "yes";
}