hopefully set up 'neat' automount?
This commit is contained in:
parent
a02a5f7442
commit
b62cb9abe5
6 changed files with 27 additions and 17 deletions
1
home/desktop/automount/Disks/Asphodel
Symbolic link
1
home/desktop/automount/Disks/Asphodel
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
/run/media/serenity/Asphodel/
|
||||||
1
home/desktop/automount/Disks/Orcus
Symbolic link
1
home/desktop/automount/Disks/Orcus
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
/run/media/serenity/Orcus
|
||||||
1
home/desktop/automount/Disks/Tartarus
Symbolic link
1
home/desktop/automount/Disks/Tartarus
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
/run/media/serenity/Tartarus
|
||||||
23
home/desktop/automount/default.nix
Executable file
23
home/desktop/automount/default.nix
Executable file
|
|
@ -0,0 +1,23 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
home.file.disks = {
|
||||||
|
enable = true;
|
||||||
|
source = "./Disks";
|
||||||
|
target = "/Disks";
|
||||||
|
recursive = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
services = {
|
||||||
|
udiskie = {
|
||||||
|
enable = true;
|
||||||
|
automount = true;
|
||||||
|
tray = "always";
|
||||||
|
notify = true;
|
||||||
|
#settings = {
|
||||||
|
#};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -7,13 +7,13 @@
|
||||||
## Import misc desktop files
|
## Import misc desktop files
|
||||||
#./xdg-mime.nix
|
#./xdg-mime.nix
|
||||||
#./gtk-qt.nix
|
#./gtk-qt.nix
|
||||||
|
./automount
|
||||||
../scripts
|
../scripts
|
||||||
|
|
||||||
## Import common desktop configs
|
## Import common desktop configs
|
||||||
./hyprcursor.nix
|
./hyprcursor.nix
|
||||||
./hyprlock.nix
|
./hyprlock.nix
|
||||||
./hypridle.nix
|
./hypridle.nix
|
||||||
./udiskie.nix
|
|
||||||
./wlogout.nix
|
./wlogout.nix
|
||||||
./waybar.nix
|
./waybar.nix
|
||||||
./dunst.nix
|
./dunst.nix
|
||||||
|
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
{ self, inputs, outputs, lib, config, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
services = {
|
|
||||||
udiskie = {
|
|
||||||
enable = true;
|
|
||||||
tray = "always";
|
|
||||||
automount = true;
|
|
||||||
notify = true;
|
|
||||||
#settings = {
|
|
||||||
#};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue