add lean4

This commit is contained in:
Maciej Jur 2024-07-22 23:55:51 +02:00
parent 9b17adb594
commit e43516374d
Signed by: kamov
GPG key ID: 191CBFF5F72ECAFD
7 changed files with 28 additions and 10 deletions

View file

@ -84,7 +84,6 @@ in
# services.printing.enable = true;
# Enable sound.
sound.enable = true;
security.rtkit.enable = true;
services.pipewire = {
enable = true;

View file

@ -2,8 +2,10 @@
{
imports = [
./gaming.nix
./ghci
./modules/gaming.nix
./modules/ghci
./modules/lean.nix
./modules/ocaml.nix
];
home = {
@ -22,13 +24,8 @@
krita
obs-studio
qbittorrent
unrar
vlc
# OCaml
ocaml
ocamlformat
opam
dune_3
];
};
@ -47,7 +44,8 @@
set fish_greeting # Disable greeting
'';
shellAliases = {
shell = "nix-shell --command fish";
shell = "nix-shell --command fish";
upgrade = "sudo nixos-rebuild switch --upgrade";
};
};

View file

@ -0,0 +1,11 @@
{ pkgs, config, ... }:
{
home.packages = with pkgs; [
elan
];
# home.sessionVariables = {
# ELAN_HOME = "${config.xdg.cacheHome}/elan";
# };
}

View file

@ -0,0 +1,10 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
ocaml
ocamlformat
opam
dune_3
];
}