diff options
| author | Fuwn <[email protected]> | 2025-02-15 03:15:58 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-02-15 03:15:58 -0800 |
| commit | edad8e751dbc78b0cfc63f926f58c88cb59cd774 (patch) | |
| tree | 9d28a7f537c0eec873d59ee62e9a6676e53d16e7 | |
| parent | Nara: Add Google Drive Cask (diff) | |
| download | nixos-config-edad8e751dbc78b0cfc63f926f58c88cb59cd774.tar.xz nixos-config-edad8e751dbc78b0cfc63f926f58c88cb59cd774.zip | |
justfile: Fix switch task
| -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 |