repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
python312Packages.dissect-extfs: 3.11 -> 3.12
[NixPkgs.git]
/
nixos
/
modules
/
services
/
hardware
/
spacenavd.nix
blob
db3ab37dc267733b351358856ca7550598909fdb
1
{
2
config,
3
lib,
4
pkgs,
5
...
6
}:
7
let
8
cfg = config.hardware.spacenavd;
9
in
10
{
11
options = {
12
hardware.spacenavd = {
13
enable = lib.mkEnableOption "spacenavd to support 3DConnexion devices";
14
};
15
};
16
17
config = lib.mkIf cfg.enable {
18
systemd = {
19
packages = [ pkgs.spacenavd ];
20
services.spacenavd.enable = true;
21
};
22
};
23
}