diff options
-rw-r--r-- | types.nix | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ''; |