42 lines
920 B
Nix
42 lines
920 B
Nix
|
|
{ config, pkgs, ... }:
|
||
|
|
{
|
||
|
|
imports = [
|
||
|
|
<nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix>
|
||
|
|
|
||
|
|
# Provide an initial copy of the NixOS channel so that the user
|
||
|
|
# doesn't need to run "nix-channel --update" first.
|
||
|
|
<nixpkgs/nixos/modules/installer/cd-dvd/channel.nix>
|
||
|
|
];
|
||
|
|
|
||
|
|
users.users.root.openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFyGaBZIZYjiBhOFD2drvG316B9NUVSbMpTIhOCQur8P arch" ];
|
||
|
|
|
||
|
|
users.defaultUserShell = pkgs.zsh;
|
||
|
|
|
||
|
|
time.timeZone = "Europe/Berlin";
|
||
|
|
i18n = {
|
||
|
|
defaultLocale = "en_GB.UTF-8";
|
||
|
|
extraLocaleSettings = {
|
||
|
|
LC_TIME = "de_DE.UTF-8";
|
||
|
|
};
|
||
|
|
};
|
||
|
|
|
||
|
|
programs = {
|
||
|
|
zsh = import ./zsh.nix;
|
||
|
|
vim.defaultEditor = true;
|
||
|
|
};
|
||
|
|
|
||
|
|
environment.systemPackages = with pkgs; [
|
||
|
|
dig
|
||
|
|
eza
|
||
|
|
git
|
||
|
|
htop
|
||
|
|
nmap
|
||
|
|
pv
|
||
|
|
rxvt-unicode-unwrapped.terminfo
|
||
|
|
screen
|
||
|
|
wget
|
||
|
|
(import ./vim.nix)
|
||
|
|
];
|
||
|
|
}
|
||
|
|
# vim: set et ts=2 sw=2 ai:
|