Compare commits

..

No commits in common. "43ae058c279fc280bba1e0d589a7562ac44d61ef" and "21ed23a8dfb121ebdf4afb8277658e3176273312" have entirely different histories.

2 changed files with 13 additions and 17 deletions

View File

@ -44,7 +44,7 @@ in rec {
# nodePackages.typescript
# nodePackages.typescript-language-server
rust-analyzer
# rust-analyzer
zulip-term
# (extras.challtools python311Packages)

View File

@ -2,25 +2,21 @@
let
alacritty = import ./alacritty/alacritty.nix pkgs;
alloy6-mac = pkgs.stdenv.mkDerivation rec {
name = "alloy6";
version = "6.0.0";
src = pkgs.fetchurl {
url = "https://github.com/AlloyTools/org.alloytools.alloy/releases/download/v${version}/alloy.dmg";
sha256 = "sha256-tRMAQQuWq+aWvhS+mLUnfIpzLw1ydepiuD16uFFRvlI=";
};
nativeBuildInputs = [ pkgs.undmg ];
sourceRoot = ".";
installPhase = ''
mkdir -p $out/Applications
cp -r Alloy.app $out/Applications
'';
};
in rec {
home.packages = with pkgs; [
fira-code ibm-plex
] ++ (if pkgs.stdenv.isDarwin then [alloy6-mac] else [pkgs.alloy6]);
];
programs.alacritty = alacritty;
programs.emacs = {
package = pkgs.emacs;
enable = true;
extraPackages = epkgs: with epkgs; [
vterm bind-key rust-mode lsp-mode company meow agda2-mode haskell-mode
terraform-mode nix-mode insert-kaomoji
];
extraConfig = builtins.readFile ../dotfiles/init.el;
};
}