Skip to content

Commit

Permalink
Avoid to install goldwarden in unsupported macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Aug 1, 2024
1 parent 89a3ceb commit 8fcecd6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
3 changes: 0 additions & 3 deletions home-manager/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@
LESSCHARSET = "utf-8";

STACK_XDG = "https://github.com/commercialhaskell/stack/blob/72f0a1273dd1121740501a159988fc23df2fb362/doc/stack_root.md?plain=1#L7-L11";

# For implementation, handling bitwarden logins which contains space seprared text here looks complex and buggy. So extracted to a script.
RCLONE_PASSWORD_COMMAND = lib.getExe homemade-pkgs.get-rclone-config-password;
};

sessionPath = [
Expand Down
11 changes: 10 additions & 1 deletion home-manager/linux.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{ pkgs, lib, ... }:
{
pkgs,
lib,
homemade-pkgs,
...
}:

# https://github.com/nix-community/home-manager/issues/414#issuecomment-427163925
lib.mkMerge [
Expand All @@ -12,5 +17,9 @@ lib.mkMerge [
};

xdg.configFile."hypr/hyprland.conf".source = ../config/hyprland/hyprland.conf;

# For implementation, handling bitwarden logins which contains space seprared text here looks complex and buggy. So extracted to a script.
# And the dependent goldwarden does not support darwin yet: https://github.com/NixOS/nixpkgs/pull/278362/files#diff-062253d551cb2a1ebc07a298c69c8b69b1fb1152e8b08dc805e170ffe8134ae3R45
home.sessionVariables.RCLONE_PASSWORD_COMMAND = lib.getExe homemade-pkgs.get-rclone-config-password;
})
]

0 comments on commit 8fcecd6

Please sign in to comment.