hosts/bootstrap: update config

A little update which should result in a smaller closure size.
This commit is contained in:
Gabriel Arazas 2023-07-14 19:59:21 +08:00
parent 9d7584bc82
commit 5a57c1886b
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -7,13 +7,12 @@
isoImage = { isoImage = {
isoBaseName = config.networking.hostName; isoBaseName = config.networking.hostName;
# Store the source code in a easy-to-locate path.
contents = [{ contents = [{
source = inputs.self; source = inputs.self;
target = "/bootstrap/"; target = "/etc/nixos/";
}]; }];
storeContents = [
inputs.self.devShells.${config.nixpkgs.system}.default
] ++ builtins.attrValues inputs;
}; };
boot = { boot = {
@ -22,6 +21,7 @@
supportedFilesystems = lib.mkForce [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs" ]; supportedFilesystems = lib.mkForce [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs" ];
}; };
# Assume that this will be used for remote installations.
services.openssh = { services.openssh = {
enable = true; enable = true;
allowSFTP = true; allowSFTP = true;