added auto-mounting
This commit is contained in:
parent
e9254767dc
commit
08e4ab1838
1 changed files with 5 additions and 0 deletions
|
@ -15,6 +15,11 @@
|
||||||
./virt.nix
|
./virt.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Auto-mount new devices
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
ACTION=="add", SUBSYSTEMS=="usb", SUBSYSTEM=="block", ENV{ID_FS_USAGE}=="filesystem", RUN{program}+="${pkgs.systemd}/bin/systemd-mount --no-block --automount=yes --collect $devnode /media"
|
||||||
|
'';
|
||||||
|
|
||||||
services.xserver.displayManager.gdm.enable = true;
|
services.xserver.displayManager.gdm.enable = true;
|
||||||
|
|
||||||
# Wayland in electron
|
# Wayland in electron
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue