mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-10 22:24:40 +00:00
nixos/sx: add package option
This commit is contained in:
parent
b01dbc6e72
commit
6a18ff9098
@ -24,11 +24,14 @@ in
|
||||
dependency.
|
||||
'';
|
||||
};
|
||||
|
||||
package = lib.mkPackageOption pkgs "sx" { };
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = [ pkgs.sx ];
|
||||
environment.systemPackages = [ cfg.package ];
|
||||
|
||||
services.xserver = {
|
||||
exportConfiguration = true;
|
||||
logFile = lib.mkDefault null;
|
||||
|
Loading…
Reference in New Issue
Block a user