uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
20
nixos/modules/services/hardware/xow.nix
Normal file
20
nixos/modules/services/hardware/xow.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.services.hardware.xow;
|
||||
in {
|
||||
options.services.hardware.xow = {
|
||||
enable = lib.mkEnableOption "xow as a systemd service";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
hardware.uinput.enable = true;
|
||||
|
||||
boot.extraModprobeConfig = lib.readFile "${pkgs.xow}/lib/modprobe.d/xow-blacklist.conf";
|
||||
|
||||
systemd.packages = [ pkgs.xow ];
|
||||
systemd.services.xow.wantedBy = [ "multi-user.target" ];
|
||||
|
||||
services.udev.packages = [ pkgs.xow ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue