diff options
author | jopejoe1 <johannes@joens.email> | 2024-01-09 23:49:29 +0100 |
---|---|---|
committer | jopejoe1 <johannes@joens.email> | 2024-01-10 00:24:48 +0100 |
commit | df5728a4f4f5a365be96075a698d2b7013ee725f (patch) | |
tree | 2c4951f17e1b26eca72ed23e17f1c1dc8f333ace /nixos/modules/tasks/filesystems | |
parent | 67afe780d0081dc4fa11984c6395caee90eb8115 (diff) |
nixos/filesystems: init sshfs
Diffstat (limited to 'nixos/modules/tasks/filesystems')
-rw-r--r-- | nixos/modules/tasks/filesystems/sshfs.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nixos/modules/tasks/filesystems/sshfs.nix b/nixos/modules/tasks/filesystems/sshfs.nix new file mode 100644 index 0000000000000..cd71dda16d8b4 --- /dev/null +++ b/nixos/modules/tasks/filesystems/sshfs.nix @@ -0,0 +1,7 @@ +{ config, lib, pkgs, ... }: + +{ + config = lib.mkIf (lib.any (fs: fs == "sshfs" || fs == "fuse.sshfs") config.boot.supportedFilesystems) { + system.fsPackages = [ pkgs.sshfs ]; + }; +} |