Skip to content

Instantly share code, notes, and snippets.

@lovesegfault
Created January 16, 2020 23:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lovesegfault/7892ceae560161bd0880972dc8930f63 to your computer and use it in GitHub Desktop.
Save lovesegfault/7892ceae560161bd0880972dc8930f63 to your computer and use it in GitHub Desktop.
let
systemPkg = path: arch:
(import <nixpkgs/nixos> {
configuration = path;
system = arch;
}).system;
in {
bohr = systemPkg ./machines/bohr.nix "aarch64-linux";
camus = systemPkg ./machines/camus.nix "aarch64-linux";
foucault = systemPkg ./machines/foucault.nix "x86_64-linux";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment