Compare commits
2 Commits
10130114cd
...
93d8144c50
Author | SHA1 | Date | |
---|---|---|---|
93d8144c50 | |||
17212228f8 |
|
@ -1,19 +1,7 @@
|
|||
{ pkgs, cornelis, cornelis-vim, agda, ... }:
|
||||
let username = "rachel";
|
||||
homeDir = "/home/${username}";
|
||||
SAX2 = pkgs.fetchurl {
|
||||
name = "SAX2";
|
||||
url = "https://abrudz.github.io/SAX2/SAX2.ttf";
|
||||
sha256 = "sha256-DgvDWXO2fnKZNu9EvQOq8GNMTU3PUdp85+/0ZHdRXZc=";
|
||||
|
||||
recursiveHash = true;
|
||||
|
||||
downloadToTemp = true;
|
||||
postFetch = ''
|
||||
mkdir -p "$out/share/fonts/truetype"
|
||||
mv "$downloadedFile" "$out/share/fonts/truetype/SAX2.ttf"
|
||||
'';
|
||||
};
|
||||
SAX2 = import ../shared/sax2.nix { inherit pkgs; };
|
||||
hpkgs = pkgs.haskellPackages;
|
||||
hls_wrapper = pkgs.writeScript "hls" ''
|
||||
export PATH="${hpkgs.haskell-language-server}/bin:$PATH"
|
||||
|
@ -90,6 +78,7 @@ in
|
|||
sage
|
||||
typst
|
||||
ttyper
|
||||
idris2
|
||||
];
|
||||
stateVersion = "23.05";
|
||||
};
|
||||
|
@ -244,7 +233,7 @@ in
|
|||
tmux-nvim
|
||||
cornelis-vim
|
||||
nvim-lspconfig
|
||||
magma-nvim-goose
|
||||
idris2-vim
|
||||
];
|
||||
};
|
||||
|
||||
|
|
14
shared/sax2.nix
Normal file
14
shared/sax2.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ pkgs, ... }:
|
||||
pkgs.fetchurl {
|
||||
name = "SAX2";
|
||||
url = "https://abrudz.github.io/SAX2/SAX2.ttf";
|
||||
sha256 = "sha256-DgvDWXO2fnKZNu9EvQOq8GNMTU3PUdp85+/0ZHdRXZc=";
|
||||
|
||||
recursiveHash = true;
|
||||
|
||||
downloadToTemp = true;
|
||||
postFetch = ''
|
||||
mkdir -p "$out/share/fonts/truetype"
|
||||
mv "$downloadedFile" "$out/share/fonts/truetype/SAX2.ttf"
|
||||
'';
|
||||
}
|
Loading…
Reference in New Issue
Block a user