mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
update
This commit is contained in:
1 parent
3e93fdfcda
commit
7a34ae4cc8
2 files changed
+2
-3
No files matched your search
@@ -1,14 +1,12 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
KERNEL=="ttyACM[0-9]*", MODE="0666"
|
KERNEL=="ttyACM[0-9]*", MODE="0666"
|
||||||
KERNEL=="ttyUSB[0-9]*", MODE="0666"
|
KERNEL=="ttyUSB[0-9]*", MODE="0666"
|
||||||
|
SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", MODE="0666", GROUP="plugdev"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
services.udisks2.enable = true;
|
services.udisks2.enable = true;
|
||||||
services.gvfs.enable = true;
|
services.gvfs.enable = true;
|
||||||
|
|
||||||
security.polkit.extraConfig = ''
|
security.polkit.extraConfig = ''
|
||||||
polkit.addRule(function(action, subject) {
|
polkit.addRule(function(action, subject) {
|
||||||
if (action.id.match("org.freedesktop.udisks2.") &&
|
if (action.id.match("org.freedesktop.udisks2.") &&
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
"lp"
|
"lp"
|
||||||
"scanner"
|
"scanner"
|
||||||
"libvirtd"
|
"libvirtd"
|
||||||
|
"plugdev"
|
||||||
];
|
];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user