feat: try and get automatic mounting of usb drives working
This commit is contained in:
parent
503b539aa5
commit
8249b5921d
5 changed files with 14 additions and 5 deletions
|
|
@ -45,6 +45,7 @@
|
||||||
./alacritty.nix
|
./alacritty.nix
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
./spicetify.nix
|
./spicetify.nix
|
||||||
|
./udiskie.nix
|
||||||
./keyring.nix
|
./keyring.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
7
home/udiskie.nix
Normal file
7
home/udiskie.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
services.udiskie = {
|
||||||
|
enable = true;
|
||||||
|
automount = true;
|
||||||
|
notify = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -57,11 +57,7 @@
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.devmon.enable = true;
|
|
||||||
services.gvfs.enable = true;
|
|
||||||
services.udisks2.enable = true;
|
|
||||||
|
|
||||||
# Enable Flakes
|
# Enable Flakes
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,5 +10,6 @@
|
||||||
./environment.nix
|
./environment.nix
|
||||||
./polkit.nix
|
./polkit.nix
|
||||||
./networking.nix
|
./networking.nix
|
||||||
|
./diskservices.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
4
modules/diskservices.nix
Normal file
4
modules/diskservices.nix
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
services.gvfs.enable = true;
|
||||||
|
services.udisks2.enable = true;
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue