Blueprint Editor
Edit & manage your OS configurations
flake.nix50 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
description = "GeLinux-Booting: Universal ISO
Installer";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/
nixos-unstable";
outputs = { self, nixpkgs }: {
nixosConfigurations.GeLinux-Booting = nixpkgs.lib.
nixosSystem {
system = "x86_64-linux";
modules = [
({ config, pkgs, ... }: {
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda"; # USB
# Minimal live env
environment.systemPackages = with pkgs; [
wget curl zenity yad lsblk ntfs3g exfatprogs
ddrescue partclone qemu-kvm virt-manager
websockify novnc adb # Mobile + WebUI
];
# Auto-mount all drives
fileSystems."/mnt".options = [ "defaults"
"user" "exec" ];
services.udisks2.enable = true;
✓ Valid syntax
