nixos-config/modules/iso.nix

45 lines
985 B
Nix
Raw 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>
];
2026-03-25 15:18:05 +01:00
isoImage.squashfsCompression = "zstd";
2025-03-10 09:17:43 +01:00
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;
2026-03-25 15:18:05 +01:00
vim.enable = true;
2025-03-10 09:17:43 +01:00
};
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: