Create a live image configuration for ventoy

This commit is contained in:
TheWanderingCrow 2024-12-25 16:41:29 -05:00
parent db36e7e24a
commit 68b6d76500
3 changed files with 30 additions and 24 deletions

View file

@ -56,6 +56,18 @@
sops-nix.nixosModules.sops
];
};
Parzival-Live = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs;
pkgs = import nixpkgs {
hostPlatform = "x86_64-linux";
config.allowUnfree = true;
};
};
modules = [
./hosts/Parzival-Live
];
};
};
};
}

View file

@ -0,0 +1,18 @@
{
pkgs,
modulesPath,
lib,
...
}: {
imports = [
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
];
boot.supportedFilesystems = lib.mkForce ["btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs"];
desktop.sway.enable = true;
module.gui.enable = true;
module.programming.enable = true;
module.wayland.enable = true;
}

View file

@ -1,24 +0,0 @@
{
lib,
config,
pkgs,
...
}: {
imports = [
./hardware-configuration.nix
../../modules
];
networking.hostName = "Parzival-Work";
user.crow.enable = true;
desktop.sway.enable = true;
desktop.i3.enable = true;
module.gui.enable = true;
module.programming.enable = true;
module.wayland.enable = true;
module.x11.enable = true;
module.mudding.enable = true;
}