From daf734ba0cb403a447449d7a134fc004e55f2354 Mon Sep 17 00:00:00 2001 From: liv Date: Sat, 10 Aug 2024 19:30:55 +0200 Subject: [PATCH] set up external device automounting --- nixos/common/default.nix | 5 +++++ nixos/enoko/configuration.nix | 2 +- nixos/yukari/configuration.nix | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/nixos/common/default.nix b/nixos/common/default.nix index 2b53c32..c659113 100644 --- a/nixos/common/default.nix +++ b/nixos/common/default.nix @@ -2,4 +2,9 @@ imports = [ ./audio.nix ]; + + # auto mount external drives + services.devmon.enable = true; + services.gvfs.enable = true; + services.udisks2.enable = true; } diff --git a/nixos/enoko/configuration.nix b/nixos/enoko/configuration.nix index 5cf6689..069d918 100644 --- a/nixos/enoko/configuration.nix +++ b/nixos/enoko/configuration.nix @@ -60,7 +60,7 @@ lu = { shell = pkgs.fish; isNormalUser = true; - extraGroups = ["wheel"]; + extraGroups = ["wheel" "storage"]; }; }; diff --git a/nixos/yukari/configuration.nix b/nixos/yukari/configuration.nix index d6bfbbe..231477a 100644 --- a/nixos/yukari/configuration.nix +++ b/nixos/yukari/configuration.nix @@ -60,7 +60,7 @@ lu = { shell = pkgs.fish; isNormalUser = true; - extraGroups = ["wheel"]; + extraGroups = ["wheel" "storage"]; }; };