aboutsummaryrefslogtreecommitdiff
path: root/hosts/iso
diff options
context:
space:
mode:
authorIsabella Bastaja <isabella@sorre.xyz>2026-10-26 17:33:37 +0100
committerIsabella Bastaja <isabella@sorre.xyz>2026-10-27 01:27:22 +0100
commitda98688efb973e79dd36e31483d5c945641d954d (patch)
tree8ff7a46e18166410b5f73cd9245100da5adc0020 /hosts/iso
parent9bea436a74286fecd8647025dce2000f3d1c4f39 (diff)
WIP: minimal custom ISO output
Diffstat (limited to 'hosts/iso')
-rw-r--r--hosts/iso/default.nix47
1 files changed, 47 insertions, 0 deletions
diff --git a/hosts/iso/default.nix b/hosts/iso/default.nix
new file mode 100644
index 0000000..334b31d
--- /dev/null
+++ b/hosts/iso/default.nix
@@ -0,0 +1,47 @@
+{
+ modulesPath,
+ pkgs,
+ ...
+}:
+{
+ imports = [
+ "${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
+ ];
+
+ users = {
+ users.isabella = {
+ isNormalUser = true;
+ description = "Isabella Morgana Bastaja";
+ extraGroups = [ "wheel" ];
+ initialPassword = "isabella";
+ openssh.authorizedKeys.keys = [
+ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM4aG8NI25TgjcDevjsY/Y6d3iYsQxSEtIpsqprMHmad osiris@underworld"
+ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPUcWGKF3uIf/gqbo1/lxb8XLoi67Bc2tVi1Bd/Ddhoz isabella@wonderland"
+ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEvtzeVHgenfSUrpZeyZBoBTzN96rdYMy3KEJoRXja0O isabella@nyaan"
+ ];
+ };
+ mutableUsers = false;
+ };
+ console.keyMap = "us";
+
+ services.openssh = {
+ enable = true;
+ ports = [ 22 ];
+ openFirewall = true;
+ settings = {
+ PermitRootLogin = "no";
+ PasswordAuthentication = false;
+ AllowUsers = [
+ "isabella"
+ ];
+ };
+ };
+
+ environment = {
+ systemPackages = [
+ pkgs.git
+ pkgs.helix
+ pkgs.disko
+ ];
+ };
+}