This repository was archived by the owner on Jul 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
jakelogemann/mkSystem
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Start the REPL and load this flake.
```
➜ nix repl
Welcome to Nix 2.9.0. Type :? for help.
nix-repl> :lf .
Added 13 variables.
nix-repl>
```
Define a new system's configuration
```
nix-repl> sys = (mkSystem {})
```
Build a test VM!
```
nix-repl> :b sys.config.system.build.vm
This derivation produced the following outputs:
out -> /nix/store/sk2hka3z57hqgx94zqgr53amwdsdays5-nixos-vm
nix-repl>
```
Test the new system
```sh
/nix/store/sk2hka3z57hqgx94zqgr53amwdsdays5-nixos-vm/bin/run-fnctl-vm
```
About
mkSystem wraps nixosSystem w/ our customizations.