From 218e5cd724a37ca33bc2b95b2ff1ad24c01f2ee6 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Fri, 23 Jun 2023 11:46:21 +0800 Subject: [PATCH] hosts/bootstrap: update config --- hosts/bootstrap/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/hosts/bootstrap/default.nix b/hosts/bootstrap/default.nix index 6aaf207e..c9aa8e78 100644 --- a/hosts/bootstrap/default.nix +++ b/hosts/bootstrap/default.nix @@ -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 = ""; }