summary refs log tree commit diff
path: root/nixos/modules/tasks/filesystems.nix
diff options
context:
space:
mode:
authorMatthieu Coudron <mcoudron@hotmail.com>2020-12-03 12:39:23 +0100
committerMatthieu Coudron <mcoudron@hotmail.com>2020-12-03 12:40:03 +0100
commit3562533edc568e156870d262490868e9f1bcafd4 (patch)
treec342dd2fc63b5941780e38a4a1275aab080dd5ce /nixos/modules/tasks/filesystems.nix
parent24eb3f87fc610f18de7076aee7c5a84ac5591e3e (diff)
downloadnixpkgs-3562533edc568e156870d262490868e9f1bcafd4.tar
nixpkgs-3562533edc568e156870d262490868e9f1bcafd4.tar.gz
nixpkgs-3562533edc568e156870d262490868e9f1bcafd4.tar.bz2
nixpkgs-3562533edc568e156870d262490868e9f1bcafd4.tar.lz
nixpkgs-3562533edc568e156870d262490868e9f1bcafd4.tar.xz
nixpkgs-3562533edc568e156870d262490868e9f1bcafd4.tar.zst
nixpkgs-3562533edc568e156870d262490868e9f1bcafd4.zip
filesystems: add syntax to /etc/fstab header
ubuntu displays it and it helps in case you forgot the syntax and dont want to consult the man
Diffstat (limited to 'nixos/modules/tasks/filesystems.nix')
-rw-r--r--nixos/modules/tasks/filesystems.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/tasks/filesystems.nix b/nixos/modules/tasks/filesystems.nix
index a055072f9c9..7883c5899a6 100644
--- a/nixos/modules/tasks/filesystems.nix
+++ b/nixos/modules/tasks/filesystems.nix
@@ -244,6 +244,8 @@ in
         #
         # To make changes, edit the fileSystems and swapDevices NixOS options
         # in your /etc/nixos/configuration.nix file.
+        #
+        # <file system> <mount point>   <type>  <options>       <dump>  <pass>
 
         # Filesystems.
         ${concatMapStrings (fs: