mirror of
https://github.com/danth/stylix
synced 2024-11-25 05:30:24 +00:00
Disable Linux-only modules on Darwin (#130)
Fixes #129 Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
This commit is contained in:
parent
dcf3bcf0ba
commit
34a6d389f3
2 changed files with 3 additions and 3 deletions
|
@ -134,7 +134,7 @@ let
|
|||
|
||||
in {
|
||||
options.stylix.targets.kde.enable =
|
||||
config.lib.stylix.mkEnableTarget "KDE" true;
|
||||
config.lib.stylix.mkEnableTarget "KDE" pkgs.stdenv.hostPlatform.isLinux;
|
||||
|
||||
config = lib.mkIf config.stylix.targets.kde.enable {
|
||||
qt = {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ options, config, lib, ... }:
|
||||
{ pkgs, options, config, lib, ... }:
|
||||
|
||||
with config.lib.stylix.colors;
|
||||
|
||||
|
@ -12,7 +12,7 @@ let
|
|||
|
||||
in {
|
||||
options.stylix.targets.swaylock = {
|
||||
enable = config.lib.stylix.mkEnableTarget "Swaylock" true;
|
||||
enable = config.lib.stylix.mkEnableTarget "Swaylock" pkgs.stdenv.hostPlatform.isLinux;
|
||||
useImage = lib.mkOption {
|
||||
description = lib.mdDoc ''
|
||||
Whether to use your wallpaper image for the Swaylock background.
|
||||
|
|
Loading…
Reference in a new issue