Fil-C on Nix

Filnix wiki

mbrock/filnix

virt/vm-config.nix

λconfig, modulesPath, pkgs, lib, …
9imports=
modulesPath + "/profiles/qemu-guest.nix"
11networking.hostName=
"filc-vm"

Root with no password for testing

14users.users.root.initialPassword=
""
16boot.kernelParams=
"console=ttyS0"
17boot.consoleLogLevel=
lib.mkDefault7
18boot.growPartition=
true
20boot.loader.grub=
21efiSupport=
true
22efiInstallAsRemovable=
true
23device=
"nodev"
26fileSystems."/"=
27device=
"/dev/vda2"
28fsType=
"ext4"
30fileSystems."/boot"=
31device=
"/dev/vda1"
32fsType=
"vfat"
35system.stateVersion=
"24.05"