moved automount out of desktop configs

This commit is contained in:
serenity-F 2024-12-11 21:38:35 +10:00
parent 382e947662
commit d6b005e9db
11 changed files with 1 additions and 1 deletions

27
home/automount/default.nix Executable file
View file

@ -0,0 +1,27 @@
## https://mynixos.com/home-manager/options/home.file.%3Cname%3E
## https://nix-community.github.io/home-manager/options.xhtml#opt-home.file
## https://nix-community.github.io/home-manager/options.xhtml#opt-home.activation
{ ... }:
{
## need option for `zfs set mountpoint=/myspecialfolder mypool`
home.file."Disks" = {
source = ../automount/Disks;
recursive = true;
};
services = {
udiskie = {
enable = true;
automount = true;
tray = "always";
notify = true;
#settings = {
#};
};
};
}