diff options
author | Jan Malakhovski <oxij@oxij.org> | 2018-04-06 01:19:06 +0000 |
---|---|---|
committer | Jan Malakhovski <oxij@oxij.org> | 2018-05-12 19:27:09 +0000 |
commit | 095fe5b43def40279a243e663c662b02caac5318 (patch) | |
tree | 943f7d7550221ba6f3b7cd855e00b265bbbcf316 /nixos/modules/services/network-filesystems | |
parent | b0d29e7e179f20c92f18e2eff13b871d015adc5a (diff) | |
download | nixlib-095fe5b43def40279a243e663c662b02caac5318.tar nixlib-095fe5b43def40279a243e663c662b02caac5318.tar.gz nixlib-095fe5b43def40279a243e663c662b02caac5318.tar.bz2 nixlib-095fe5b43def40279a243e663c662b02caac5318.tar.lz nixlib-095fe5b43def40279a243e663c662b02caac5318.tar.xz nixlib-095fe5b43def40279a243e663c662b02caac5318.tar.zst nixlib-095fe5b43def40279a243e663c662b02caac5318.zip |
nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1
Diffstat (limited to 'nixos/modules/services/network-filesystems')
-rw-r--r-- | nixos/modules/services/network-filesystems/ipfs.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/network-filesystems/ipfs.nix b/nixos/modules/services/network-filesystems/ipfs.nix index 39a4fd6beff8..e2122ddb8ede 100644 --- a/nixos/modules/services/network-filesystems/ipfs.nix +++ b/nixos/modules/services/network-filesystems/ipfs.nix @@ -14,7 +14,7 @@ let (optionalString (cfg.defaultMode == "norouting") "--routing=none") ] ++ cfg.extraFlags); - defaultDataDir = if versionAtLeast config.system.stateVersion "17.09" then + defaultDataDir = if versionAtLeast config.system.nixos.stateVersion "17.09" then "/var/lib/ipfs" else "/var/lib/ipfs/.ipfs"; |