feat(iso): place iso inside hive

This commit is contained in:
catvayor 2025-04-23 22:11:57 +02:00 committed by Tom Hubrecht
parent 43abc137dc
commit 427cee0c3e
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc
11 changed files with 112 additions and 248 deletions

View file

@ -0,0 +1,59 @@
# SPDX-FileCopyrightText: 2025 Lubin Bailly <lubin@dgnum.eu>
# SPDX-FileCopyrightText: 2024 Tom Hubrecht <tom.hubrecht@dgnum.eu>
#
# SPDX-License-Identifier: EUPL-1.2
{
pkgs,
modulesPath,
lib,
...
}:
let
inherit (lib) mkForce;
in
{
imports = [
(modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix")
];
isoImage.squashfsCompression = ''zstd -Xcompression-level 1'';
age-secrets.sources = mkForce [ ];
dgn-records.enable = false;
dgn-monitoring.enable = false;
dgn-notify.enable = false;
boot = {
blacklistedKernelModules = [ "snd_pcsp" ];
tmp.cleanOnBoot = true;
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
supportedFilesystems = {
exfat = true;
zfs = true;
};
swraid.enable = mkForce false;
};
networking = {
networkmanager.enable = true;
wireless.enable = false;
};
console.keyMap = "fr";
environment.systemPackages = with pkgs; [
perl
git
];
programs.zsh.enable = true;
services = {
openssh.enable = true;
qemuGuest.enable = true;
getty.autologinUser = mkForce "root";
};
}