From 28d869d906569e42c2e9143c5d0d4c62df226e87 Mon Sep 17 00:00:00 2001 From: buffet Date: Tue, 19 Mar 2024 13:41:50 +0100 Subject: [PATCH] feat: enable automatic mounting --- hosts/alice/default.nix | 5 +++++ users/buffet/default.nix | 2 ++ 2 files changed, 7 insertions(+) diff --git a/hosts/alice/default.nix b/hosts/alice/default.nix index ba3232a..f8eabe4 100644 --- a/hosts/alice/default.nix +++ b/hosts/alice/default.nix @@ -62,5 +62,10 @@ enable = true; package = pkgs.mullvad-vpn; # enable gui }; + + udisks2 = { + enable = true; + mountOnMedia = true; + }; }; } diff --git a/users/buffet/default.nix b/users/buffet/default.nix index ef1f59d..97d4c50 100644 --- a/users/buffet/default.nix +++ b/users/buffet/default.nix @@ -93,5 +93,7 @@ enable = true; nix-direnv.enable = true; }; + + services.udiskie.enable = true; }; }