mirror of
https://codeberg.org/mart-w/nixos-x13s.git
synced 2024-11-24 07:54:48 +01:00
add camera udev rule and modem symlink
This commit is contained in:
parent
eb0287f9c0
commit
ce01289423
13
module.nix
13
module.nix
|
@ -112,6 +112,14 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
# https://github.com/jhovold/linux/wiki/X13s#modem
|
||||
networking.networkmanager.fccUnlockScripts = [
|
||||
{
|
||||
id = "105b:e0c3";
|
||||
path = "${pkgs.modemmanager}/share/ModemManager/fcc-unlock.available.d/105b";
|
||||
}
|
||||
];
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(_: super: {
|
||||
# don't try and use zfs
|
||||
|
@ -127,6 +135,11 @@ in
|
|||
# default is performance
|
||||
powerManagement.cpuFreqGovernor = "ondemand";
|
||||
|
||||
# https://github.com/jhovold/linux/wiki/X13s#camera
|
||||
services.udev.extraRules = ''
|
||||
ACTION=="add", SUBSYSTEM=="dma_heap", KERNEL=="system", GROUP="video", MODE="0660"
|
||||
'';
|
||||
|
||||
systemd.services.bluetooth-x13s-mac = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
before = [ "bluetooth.service" ];
|
||||
|
|
Loading…
Reference in a new issue