summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--types.nix2
1 files changed, 1 insertions, 1 deletions
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
'';