This commit is contained in:
DashieTM 2024-08-31 14:29:16 +02:00
parent 4123f8ccac
commit 34d6f22b61
13 changed files with 153 additions and 61 deletions

50
iso/configuration.nix Normal file
View file

@ -0,0 +1,50 @@
{
pkgs,
lib,
modulesPath,
self,
...
}:
{
imports = [ "${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix" ];
nixpkgs.hostPlatform = {
system = "x86_64-linux";
};
environment.systemPackages = with pkgs; [
neovim
disko
git
vesktop
vscodium
firefox
kitty
];
networking = {
wireless.enable = false;
networkmanager.enable = true;
};
services.greetd = {
enable = true;
settings = {
initial_session = {
command = "${pkgs.hyprland}/bin/Hyprland";
user = "nixos";
};
};
};
isoImage = {
isoName = lib.mkForce "DashNix.iso";
makeEfiBootable = true;
makeUsbBootable = true;
contents = [
{
source = "${self}/example";
target = "example-config";
}
];
};
}