iso: pin inputs as flakes
This intends to avoid downloading inputs on the iso live image and is a step towards completely air-gaped installs. credits: @Pacman99 closes: #190
This commit is contained in:
parent
4034659350
commit
17aee57df4
@ -1,4 +1,4 @@
|
||||
{ lib, nixos, self, ... }:
|
||||
{ lib, nixos, self, inputs, ... }:
|
||||
|
||||
{ modules, ... } @ args:
|
||||
lib.nixosSystem (args // {
|
||||
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user