diff --git a/modules/hm/gnome.nix b/modules/hm/gnome.nix index 84f9077..df44e6b 100644 --- a/modules/hm/gnome.nix +++ b/modules/hm/gnome.nix @@ -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"; diff --git a/modules/hm/gui.nix b/modules/hm/gui.nix index 3286fcc..a573e36 100644 --- a/modules/hm/gui.nix +++ b/modules/hm/gui.nix @@ -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";