diff options
author | Lily Foster <lily@lily.flowers> | 2022-12-21 07:51:27 -0500 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2022-12-23 17:39:17 +0100 |
commit | ec3ab72d3a7444f18263c0e40fe55c6d26c08da2 (patch) | |
tree | 5eea6f4e38c18c6627cc3068ee2a2aeceeeccdc4 | |
parent | 3ab2a5d98df92f8b5eceee71dd1beb4678da409b (diff) |
swap: fix typo for checking if swap is on
-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 ''; |