From 17c4dbbbbb1568943cc89e9945ecfda51b87fa05 Mon Sep 17 00:00:00 2001 From: mc-fucker Date: Mon, 10 Mar 2025 09:17:43 +0100 Subject: [PATCH] added a simple iso.nix --- modules/iso.nix | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 modules/iso.nix diff --git a/modules/iso.nix b/modules/iso.nix new file mode 100644 index 0000000..a41968d --- /dev/null +++ b/modules/iso.nix @@ -0,0 +1,41 @@ +{ config, pkgs, ... }: +{ + imports = [ + + + # Provide an initial copy of the NixOS channel so that the user + # doesn't need to run "nix-channel --update" first. + + ]; + + 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: