Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

cloud-init: add xfs support

+9
+9
nixos/modules/services/system/cloud-init.nix
··· 15 15 ] 16 16 ++ optional cfg.btrfs.enable btrfs-progs 17 17 ++ optional cfg.ext4.enable e2fsprogs 18 + ++ optional cfg.xfs.enable xfsprogs 18 19 ; 19 20 settingsFormat = pkgs.formats.yaml { }; 20 21 cfgfile = settingsFormat.generate "cloud.cfg" cfg.settings; ··· 54 55 default = true; 55 56 description = mdDoc '' 56 57 Allow the cloud-init service to operate `ext4` filesystem. 58 + ''; 59 + }; 60 + 61 + xfs.enable = mkOption { 62 + type = types.bool; 63 + default = false; 64 + description = mdDoc '' 65 + Allow the cloud-init service to operate `xfs` filesystem. 57 66 ''; 58 67 }; 59 68