feat(asusd): add asusd service
This commit is contained in:
parent
b606aa73b8
commit
27349be332
18
faucet/asusd/default.nix
Normal file
18
faucet/asusd/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ... }: with lib; let
|
||||
cfg = config.faucet.asusd;
|
||||
in {
|
||||
options.faucet.asusd = {
|
||||
enable = mkEnableOption "ASUS laptop userland support daemon";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.asusd.enable = true;
|
||||
|
||||
environment.persistence."/nix/persist/fhs".directories = [
|
||||
"/etc/asusd"
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue