diff --git a/types.nix b/types.nix index 41a7c13..a65f2c1 100644 --- a/types.nix +++ b/types.nix @@ -655,7 +655,7 @@ rec { type = types.functionTo diskoLib.jsonType; default = dev: { fs.${dev} = '' - if ! $(swapon --show | grep -q '^${dev} '); then + if ! swapon --show | grep -q '^${dev} '; then swapon ${dev} fi '';