mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-28 06:19:00 +00:00
hosts/bootstrap: update config
A little update which should result in a smaller closure size.
This commit is contained in:
parent
9d7584bc82
commit
5a57c1886b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user