Skip to content

Commit

Permalink
iso: pin inputs as flakes
Browse files Browse the repository at this point in the history
This intends to avoid downloading inputs on the iso live image
and is a step towards completely air-gaped installs.

credits: @Pacman99
  • Loading branch information
David Arnold authored and David Arnold committed Mar 16, 2021
1 parent 4034659 commit 974afd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/devos/devosSystem.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, nixos, self, ... }:
{ lib, nixos, self, inputs, ... }:

{ modules, ... } @ args:
lib.nixosSystem (args // {
Expand All @@ -17,6 +17,7 @@ lib.nixosSystem (args // {
source = self;
target = "/devos/";
}];
nix.registry = lib.mapAttrs (n: v: { flake = v; }) inputs;
# confilcts with networking.wireless which might be slightly
# more useful on a stick
networking.networkmanager.enable = lib.mkForce false;
Expand Down

0 comments on commit 974afd3

Please sign in to comment.