Merge pull request #241526 from Mic92/cloud-init

This commit is contained in:
Lassulus 2023-07-05 13:31:27 +02:00 committed by GitHub
commit 7e37c051c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,7 @@ let
]
++ optional cfg.btrfs.enable btrfs-progs
++ optional cfg.ext4.enable e2fsprogs
++ optional cfg.xfs.enable xfsprogs
;
settingsFormat = pkgs.formats.yaml { };
cfgfile = settingsFormat.generate "cloud.cfg" cfg.settings;
@ -57,6 +58,14 @@ in
'';
};
xfs.enable = mkOption {
type = types.bool;
default = false;
description = mdDoc ''
Allow the cloud-init service to operate `xfs` filesystem.
'';
};
network.enable = mkOption {
type = types.bool;
default = false;