diff options
| -rw-r--r-- | justfile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -16,10 +16,10 @@ darwin_action target action: nix run nix-darwin -- {{action}} --flake .#{{target}} switch target=hostname: - @uname | \ - grep -q Darwin \ - && just darwin_action {{target}} switch \ - || just action {{target}} switch + case "$(uname)" in \ + Darwin) just darwin_action {{target}} switch ;; \ + *) just action {{target}} switch ;; \ + esac news user='ebisu': rui home news --user {{user}} -- --impure |