Do not restrict VMs to a single config

Also "allows" full-system build without install.
This commit is contained in:
Geoffrey Frogeye 2023-11-30 18:59:50 +01:00
parent 3806e023f6
commit 224f769324
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
8 changed files with 80 additions and 17 deletions

6
full/README.md Normal file
View file

@ -0,0 +1,6 @@
# full profile
Fake configuration that contains everything I could ever need,
used for debugging.
Can't build a full system due to not having a filesystem / bootloader configuration,
build as a VM (without bootloader).

14
full/options.nix Normal file
View file

@ -0,0 +1,14 @@
{ ... }:
{
frogeye = {
desktop.xorg = true;
dev = {
ansible = true;
c = true;
docker = true;
fpga = true;
python = true;
};
extra = true;
};
}

10
full/os.nix Normal file
View file

@ -0,0 +1,10 @@
{ ... }:
{
imports = [
../os
./options.nix
];
# Create a different disk image depending on the architecture
networking.hostName = "${builtins.currentSystem}";
}