{ config, pkgs, inputs, lib, ... }: { environment.systemPackages = with pkgs; [ git gum inputs.disko.packages.${pkgs.stdenv.hostPlatform.system}.disko (pkgs.makeDesktopItem { name = "install-nomarchy"; desktopName = "Install Nomarchy"; exec = "alacritty -e sudo /etc/install.sh"; terminal = false; categories = [ "System" ]; }) ]; # Ensure the live environment user has the necessary groups for graphical acceleration and audio users.users.nixos.extraGroups = [ "wheel" "video" "render" "audio" "networkmanager" ]; # Graphics support for live environment boot.initrd.kernelModules = [ "amdgpu" "radeon" "nouveau" "i915" ]; services.xserver.videoDrivers = [ "amdgpu" "radeon" "nouveau" "modesetting" "fbdev" ]; environment.etc."install.sh" = { source = ../installer/install.sh; mode = "0755"; }; environment.etc."disko-golden.nix" = { source = ../installer/disko-golden.nix; }; environment.etc."nomarchy".source = inputs.self; }