mirror of
https://github.com/nikdoof/nixos-config.git
synced 2025-12-13 01:32:23 +00:00
45 lines
822 B
Nix
45 lines
822 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./users.nix
|
|
];
|
|
|
|
users.motdFile = builtins.path {
|
|
path = ./files/motd;
|
|
name = "motd";
|
|
};
|
|
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
} |