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