From 48f1d47c341a16b43223a7a6a852a215344c16e2 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 6 Dec 2024 20:08:23 +0100 Subject: [PATCH] machines/liveiso: init --- machines/liveiso/config.nix | 11 +++++++++++ machines/liveiso/configuration.nix | 7 +++++++ 2 files changed, 18 insertions(+) create mode 100644 machines/liveiso/config.nix create mode 100644 machines/liveiso/configuration.nix diff --git a/machines/liveiso/config.nix b/machines/liveiso/config.nix new file mode 100644 index 0000000..3b8ece8 --- /dev/null +++ b/machines/liveiso/config.nix @@ -0,0 +1,11 @@ +{ pkgs, modulesPath, ... }: { + imports = [ + (modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix") + ../../2configs + + ]; + # start sshd in any case + systemd.services.sshd.wantedBy = pkgs.lib.mkForce [ "multi-user.target" ]; + isoImage.squashfsCompression = "gzip -Xcompression-level 1"; + +} diff --git a/machines/liveiso/configuration.nix b/machines/liveiso/configuration.nix new file mode 100644 index 0000000..090666a --- /dev/null +++ b/machines/liveiso/configuration.nix @@ -0,0 +1,7 @@ +{ + imports = [ + + ]; + + # New machine! +}