hosts/bootstrap: update config

This commit is contained in:
Gabriel Arazas 2023-06-23 11:46:21 +08:00
parent c6d2ca1465
commit 218e5cd724
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -1,4 +1,4 @@
{ self, lib, config, pkgs, inputs, modulesPath, ... }:
{ lib, config, pkgs, inputs, ... }:
{
imports = [
@ -6,13 +6,13 @@
];
isoImage = {
isoBaseName = "bootstrap";
isoBaseName = config.networking.hostName;
contents = [{
source = self;
source = inputs.self;
target = "/bootstrap/";
}];
storeContents = [
self.devShells.${config.nixpkgs.system}.default
inputs.self.devShells.${config.nixpkgs.system}.default
] ++ builtins.attrValues inputs;
};
@ -22,7 +22,5 @@
supportedFilesystems = lib.mkForce [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs" ];
};
networking.hostName = "bootstrap";
users.users.root.password = "";
}