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