From b1c545ab074428f3231a05ef46d6ec54b75cb578 Mon Sep 17 00:00:00 2001 From: EinEtwas Date: Sun, 13 Oct 2024 20:07:23 +0200 Subject: [PATCH] feat: try adding support to mount usb drives on plugging them in --- home/default.nix | 3 ++- modules/configuration.nix | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/home/default.nix b/home/default.nix index d078641..ec2fc3f 100644 --- a/home/default.nix +++ b/home/default.nix @@ -19,6 +19,7 @@ imports = [ ./hyprland.nix + ./git.nix ]; }; }; @@ -26,7 +27,7 @@ users.users.rhea = { isNormalUser = true; description = "Rhea"; - extraGroups = [ "networkmanager" "wheel" ]; + extraGroups = [ "networkmanager" "wheel" "storage" ]; shell = pkgs.zsh; }; diff --git a/modules/configuration.nix b/modules/configuration.nix index 5693f6b..635f4f7 100644 --- a/modules/configuration.nix +++ b/modules/configuration.nix @@ -66,12 +66,14 @@ environment.systemPackages = with pkgs; [ # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. # wget - git - kitty chromium #home-manager ]; + services.devmon.enable = true; + services.gvfs.enable = true; + services.udisks2.enable = true; + # Enable Flakes nix.settings.experimental-features = [ "nix-command" "flakes" ];