Skip to content
This repository was archived by the owner on Jul 1, 2022. It is now read-only.

jakelogemann/mkSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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.

Resources

Stars

Watchers

Forks

Languages