Files
nixos-config/common.nix
2024-03-30 16:52:03 +00:00

46 lines
891 B
Nix

{ config, lib, pkgs, ... }:
{
imports = [
./users.nix
];
users.motd = "^[[1;49;95m __ ___ __
___/ /__ ___ / _/__ ___ / /_
/ _ / _ \/ _ \/ _/ _ \/ -_) __/
\_,_/\___/\___/_//_//_/\__/\__/
^[[0m";
system.copySystemConfiguration = true;
# Set your time zone.
time.timeZone = "Europe/London";
# Select internationalisation properties.
i18n.defaultLocale = "en_GB.UTF-8";
console = {
font = "Lat2-Terminus16";
useXkbConfig = true; # use xkb.options in tty.
};
programs = {
zsh.enable = true;
};
environment.systemPackages = with pkgs; [
git
gnupg
lsof
gnumake
python3
];
services = {
openssh = {
enable = true;
settings = {
PermitRootLogin = "yes";
};
};
};
}