diff --git a/homes/common.nix b/homes/common.nix index f4f1014..20f18da 100644 --- a/homes/common.nix +++ b/homes/common.nix @@ -1,4 +1,13 @@ -{ config, lib, pkgs, pkgs-unstable, ... }: { +{ config, lib, pkgs, pkgs-unstable, ... }: +let + runic_version = "1.5.0"; + runic = pkgs.fetchFromGitHub { + owner = "fredrikekre"; + repo = "Runic.jl"; + rev = "v${runic_version}"; + hash = "sha256-y+kiBA94vUMHH0fEEBg7+c9PEgzjGqh6nCuSRnawhQI="; + }; +in { imports = [ ./../programs/shells.nix ./../programs/bat.nix @@ -9,7 +18,16 @@ ]; home = { stateVersion = "23.11"; - file = { }; + file = { + ".local/bin/runic" = { + source = runic + "/bin/runic"; + executable = true; + }; + ".local/bin/git-runic" = { + source = runic + "/bin/git-runic"; + executable = true; + }; + }; packages = with pkgs; [ btop cowsay @@ -72,6 +90,9 @@ run echo '*' | tee $HOME/.cache/hm-git-hash fi ''; + installRunic = lib.hm.dag.entryAfter [ "writeBoundary" ] '' + run ${pkgs.julia-bin}/bin/julia --project=@runic --startup-file=no -e 'using Pkg; Pkg.add(name="Runic", version="${runic_version}")' + ''; }; }; programs = { diff --git a/systems/darwin/corianne.nix b/systems/darwin/corianne.nix index fca7366..18263d8 100644 --- a/systems/darwin/corianne.nix +++ b/systems/darwin/corianne.nix @@ -112,6 +112,7 @@ "ybeapps/sourcegit/sourcegit" "zed" "zotero" + "zulip" ]; masApps = { "Bitwarden" = 1352778147;