diff options
author | zimbatm <zimbatm@zimbatm.com> | 2018-01-06 13:52:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-06 13:52:51 +0000 |
commit | eddf30cc93e1b778b6bc10d0eb1bb175385d034f (patch) | |
tree | b95f3a695c0794e674743e6551e47476a5b22ec6 /nixos/modules/virtualisation/amazon-image.nix | |
parent | 51110e2a0fc9c415973b61adf09cd1dae16abff7 (diff) | |
download | nixpkgs-eddf30cc93e1b778b6bc10d0eb1bb175385d034f.tar nixpkgs-eddf30cc93e1b778b6bc10d0eb1bb175385d034f.tar.gz nixpkgs-eddf30cc93e1b778b6bc10d0eb1bb175385d034f.tar.bz2 nixpkgs-eddf30cc93e1b778b6bc10d0eb1bb175385d034f.tar.lz nixpkgs-eddf30cc93e1b778b6bc10d0eb1bb175385d034f.tar.xz nixpkgs-eddf30cc93e1b778b6bc10d0eb1bb175385d034f.tar.zst nixpkgs-eddf30cc93e1b778b6bc10d0eb1bb175385d034f.zip |
nixos: introduce boot.growPartition (#33521)
Move it from being a profile
Diffstat (limited to 'nixos/modules/virtualisation/amazon-image.nix')
-rw-r--r-- | nixos/modules/virtualisation/amazon-image.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/virtualisation/amazon-image.nix b/nixos/modules/virtualisation/amazon-image.nix index 6cb9e07ae82..f74c42a777f 100644 --- a/nixos/modules/virtualisation/amazon-image.nix +++ b/nixos/modules/virtualisation/amazon-image.nix @@ -11,7 +11,7 @@ with lib; let cfg = config.ec2; in { - imports = [ ../profiles/headless.nix ./ec2-data.nix ./grow-partition.nix ./amazon-init.nix ]; + imports = [ ../profiles/headless.nix ./ec2-data.nix ./amazon-init.nix ]; config = { @@ -21,7 +21,7 @@ let cfg = config.ec2; in } ]; - virtualisation.growPartition = cfg.hvm; + boot.growPartition = cfg.hvm; fileSystems."/" = { device = "/dev/disk/by-label/nixos"; |