Compare commits
2 commits
945c7ec79d
...
97a9238d03
| Author | SHA1 | Date | |
|---|---|---|---|
| 97a9238d03 | |||
| ae81782b72 |
2 changed files with 24 additions and 2 deletions
|
|
@ -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 = [
|
imports = [
|
||||||
./../programs/shells.nix
|
./../programs/shells.nix
|
||||||
./../programs/bat.nix
|
./../programs/bat.nix
|
||||||
|
|
@ -9,7 +18,16 @@
|
||||||
];
|
];
|
||||||
home = {
|
home = {
|
||||||
stateVersion = "23.11";
|
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; [
|
packages = with pkgs; [
|
||||||
btop
|
btop
|
||||||
cowsay
|
cowsay
|
||||||
|
|
@ -72,6 +90,9 @@
|
||||||
run echo '*' | tee $HOME/.cache/hm-git-hash
|
run echo '*' | tee $HOME/.cache/hm-git-hash
|
||||||
fi
|
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 = {
|
programs = {
|
||||||
|
|
|
||||||
|
|
@ -112,6 +112,7 @@
|
||||||
"ybeapps/sourcegit/sourcegit"
|
"ybeapps/sourcegit/sourcegit"
|
||||||
"zed"
|
"zed"
|
||||||
"zotero"
|
"zotero"
|
||||||
|
"zulip"
|
||||||
];
|
];
|
||||||
masApps = {
|
masApps = {
|
||||||
"Bitwarden" = 1352778147;
|
"Bitwarden" = 1352778147;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue