feat: try and get automatic mounting of usb drives working

This commit is contained in:
EinEtwas 2024-10-22 16:18:00 +02:00
parent 503b539aa5
commit 8249b5921d
5 changed files with 14 additions and 5 deletions

View file

@ -45,6 +45,7 @@
./alacritty.nix
./zsh.nix
./spicetify.nix
./udiskie.nix
./keyring.nix
];

7
home/udiskie.nix Normal file
View file

@ -0,0 +1,7 @@
{
services.udiskie = {
enable = true;
automount = true;
notify = true;
};
}

View file

@ -58,10 +58,6 @@
NIXOS_OZONE_WL = "1";
};
services.devmon.enable = true;
services.gvfs.enable = true;
services.udisks2.enable = true;
# Enable Flakes
nix.settings.experimental-features = [ "nix-command" "flakes" ];

View file

@ -10,5 +10,6 @@
./environment.nix
./polkit.nix
./networking.nix
./diskservices.nix
];
}

4
modules/diskservices.nix Normal file
View file

@ -0,0 +1,4 @@
{
services.gvfs.enable = true;
services.udisks2.enable = true;
}