Adding an iso configuration

This commit is contained in:
Lyes Saadi 2024-07-07 13:23:54 +02:00
parent 33782949ce
commit 35af3efeff
No known key found for this signature in database
GPG key ID: 17418538BAA17767
3 changed files with 84 additions and 63 deletions

View file

@ -0,0 +1,19 @@
{ pkgs, lib, ... }:
let
calamares-auto-start = pkgs.makeAutostartItem { name = "io.calamares.calamares"; package = pkgs.calamares-nixos; };
in {
# VMs
services.spice-vdagentd.enable = true;
services.qemuGuest.enable = true;
# Calamares for graphical installation
environment.systemPackages = with pkgs; [
libsForQt5.kpmcore
calamares-nixos
calamares-auto-start
calamares-nixos-extensions
];
networking.hostName = "lyes-iso";
networking.wireless.enable = lib.mkForce false;
}