Fix warnings for system
This commit is contained in:
@@ -13,7 +13,7 @@ in
|
||||
|
||||
config = (
|
||||
lib.mkIf cfg {
|
||||
programs.gnome-terminal = lib.mkIf (pkgs.system != "x86_64-darwin") {
|
||||
programs.gnome-terminal = lib.mkIf (pkgs.stdenv.hostPlatform.system != "x86_64-darwin") {
|
||||
enable = true;
|
||||
showMenubar = true;
|
||||
themeVariant = "dark";
|
||||
|
||||
+3
-1
@@ -8,7 +8,9 @@
|
||||
let
|
||||
cfg = config.greg.gui;
|
||||
|
||||
excludes = systems: opts: (if (builtins.all (x: pkgs.system != x) systems) then opts else [ ]);
|
||||
excludes =
|
||||
systems: opts:
|
||||
(if (builtins.all (x: pkgs.stdenv.hostPlatform.system != x) systems) then opts else [ ]);
|
||||
|
||||
vars = {
|
||||
XDG_CURRENT_DESKTOP = "GNOME";
|
||||
|
||||
Reference in New Issue
Block a user