nixos-config/modules/iso.nix

42 lines
920 B
Nix
Raw Permalink Normal View History

2025-03-10 09:17:43 +01:00
{ 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: