From f06509d74ac44410a50c410462f8d0c473375647 Mon Sep 17 00:00:00 2001 From: pegasust Date: Thu, 12 Jan 2023 23:51:50 -0700 Subject: [PATCH] logseq not available on x64-darwin --- nix-conf/home-manager/base/productive_desktop.nix | 4 +++- nix-conf/home-manager/home.nix | 8 +++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/nix-conf/home-manager/base/productive_desktop.nix b/nix-conf/home-manager/base/productive_desktop.nix index 64cc0ba..944fbff 100644 --- a/nix-conf/home-manager/base/productive_desktop.nix +++ b/nix-conf/home-manager/base/productive_desktop.nix @@ -3,7 +3,9 @@ inputs@{ pkgs, ... }: { imports = [ # slack ({ pkgs, ... }: { - home.packages = [ pkgs.slack ]; + home.packages = [ + pkgs.slack + ]; }) ./private_chromium.nix ]; diff --git a/nix-conf/home-manager/home.nix b/nix-conf/home-manager/home.nix index 3e14e2c..6fc5db7 100644 --- a/nix-conf/home-manager/home.nix +++ b/nix-conf/home-manager/home.nix @@ -34,8 +34,8 @@ in # cool utilities pkgs.yq # Yaml adaptor for jq (only pretty print, little query) - pkgs.xorg.xclock # TODO: only include if have gui # For testing GL installation - pkgs.logseq # TODO: only include if have GL # Obsidian alt + # pkgs.xorg.xclock # TODO: only include if have gui # For testing GL installation + # pkgs.logseq # TODO: only include if have GL # Obsidian alt pkgs.mosh # Parsec for SSH # pkgs.nixops_unstable # nixops v2 # insecure for now pkgs.lynx # Web browser at your local terminal @@ -46,7 +46,9 @@ in # pkgs.python310.numpy # pkgs.python310Packages.tensorflow # pkgs.python310Packages.scikit-learn - ] ++ (myHome.packages or [ ]) + ] ++ (myHome.packages or [ ]) ++ (if pkgs.system == "x86_64-linux" then [ + pkgs.logseq + ] else [ ]) ); ## Configs ##