Created
September 6, 2019 07:40
-
-
Save srhb/30a274c41439f2d8ca64c498d42bd662 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
workingRev = "8d1510a"; | |
brokenRev = "57b66eb"; | |
nixpkgs = rev: builtins.fetchTarball "https://github.com/NixOS/nixpkgs/archive/${rev}.tar.gz"; | |
machine = rev: | |
(import (nixpkgs rev + "/nixos") { | |
configuration = { ... }: { | |
services.xserver = { | |
enable = true; | |
displayManager.lightdm.enable = true; | |
}; | |
users.users.test.initialPassword = "test"; | |
}; | |
}).vm; | |
in | |
{ | |
working = machine workingRev; | |
broken = machine brokenRev; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment