Files
Nomarchy/hosts/live-iso.nix
2026-04-06 21:41:14 +01:00

35 lines
940 B
Nix

{ 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-nomarchy.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" ];
environment.etc."install-nomarchy.sh" = {
source = ../installer/install-nomarchy.sh;
mode = "0755";
};
environment.etc."disko-ext4.nix" = {
source = ../installer/disko-ext4.nix;
};
environment.etc."disko-btrfs-luks.nix" = {
source = ../installer/disko-btrfs-luks.nix;
};
environment.etc."nomarchy".source = inputs.self;
}