Simplify flake.nix

This commit is contained in:
Eelco Dolstra 2019-11-07 18:46:32 +01:00
parent 55b0afa08f
commit 1784c362ed
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -325,8 +325,9 @@
nixosConfigurations.container = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules =
[ { imports = [ self.nixosModules.hydraTest self.nixosModules.hydraProxy ];
system.configurationRevision = self.rev;
[ self.nixosModules.hydraTest
self.nixosModules.hydraProxy
{ system.configurationRevision = self.rev;
boot.isContainer = true;
networking.useDHCP = false;