mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-13 03:37:18 +00:00
updates
This commit is contained in:
parent
5a8062c71a
commit
408ca41e75
4 changed files with 47 additions and 17 deletions
|
@ -20,6 +20,18 @@
|
||||||
pinentry = "${pkgs.pinentry-mac}/bin/pinentry-mac";
|
pinentry = "${pkgs.pinentry-mac}/bin/pinentry-mac";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.zsh.envExtra = ''
|
||||||
|
export WINEPREFIX="${config.home.homeDirectory}/.gptk_wineprefix"
|
||||||
|
|
||||||
|
if [ "$(arch)" = "arm64" ]; then
|
||||||
|
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||||
|
wine-gptk(){ arch -x86_64 /bin/zsh -c "WINEESYNC=1 \$(brew --prefix game-porting-toolkit)/bin/wine64 $@"; }
|
||||||
|
else
|
||||||
|
eval "$(/usr/local/bin/brew shellenv)"
|
||||||
|
wine-gptk(){ WINEESYNC=1 $(brew --prefix game-porting-toolkit)/bin/wine64 "$@"; }
|
||||||
|
fi
|
||||||
|
'';
|
||||||
|
|
||||||
home.packages = with pkgs;
|
home.packages = with pkgs;
|
||||||
[
|
[
|
||||||
colima
|
colima
|
||||||
|
|
|
@ -84,6 +84,7 @@ in {
|
||||||
curl
|
curl
|
||||||
docker
|
docker
|
||||||
docker-compose
|
docker-compose
|
||||||
|
elan
|
||||||
fd
|
fd
|
||||||
fenix-rust
|
fenix-rust
|
||||||
findutils
|
findutils
|
||||||
|
|
|
@ -8,15 +8,15 @@
|
||||||
(pkgs.emacsPackagesFor pkgs.emacs29).emacsWithPackages
|
(pkgs.emacsPackagesFor pkgs.emacs29).emacsWithPackages
|
||||||
(epkgs:
|
(epkgs:
|
||||||
(with epkgs; let
|
(with epkgs; let
|
||||||
company-mode = epkgs.trivialBuild {
|
company-mode = epkgs.trivialBuild rec {
|
||||||
pname = "company-mode";
|
pname = "company-mode";
|
||||||
version = "4203cfb";
|
version = "7c24dc8668af5aea8a5d07aeceda5fac7a2a85b5";
|
||||||
|
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "company-mode";
|
owner = pname;
|
||||||
repo = "company-mode";
|
repo = pname;
|
||||||
rev = "4203cfbe1303ca86e61ffa31cb88d75782dbb893";
|
rev = version;
|
||||||
sha256 = "sha256-wj0vXlVkNEA1gD1oT3phzK5Dr/LNkiE2oRzzRmLE+20=";
|
sha256 = "sha256-6aX2S4cUop1rdxweIF5f1qrgNmYd1mtWgT9T1Q1s2h8=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
mu4e = epkgs.trivialBuild {
|
mu4e = epkgs.trivialBuild {
|
||||||
|
@ -65,7 +65,7 @@
|
||||||
(provide 'mu4e-accounts)
|
(provide 'mu4e-accounts)
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
org-auctex = epkgs.trivialBuild {
|
org-auctex = epkgs.trivialBuild rec {
|
||||||
pname = "org-auctex";
|
pname = "org-auctex";
|
||||||
version = "e1271557b9f36ca94cabcbac816748e7d0dc989c";
|
version = "e1271557b9f36ca94cabcbac816748e7d0dc989c";
|
||||||
|
|
||||||
|
@ -73,19 +73,28 @@
|
||||||
|
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "karthink";
|
owner = "karthink";
|
||||||
repo = "org-auctex";
|
repo = pname;
|
||||||
rev = "e1271557b9f36ca94cabcbac816748e7d0dc989c";
|
rev = version;
|
||||||
sha256 = "sha256-cMAhwybnq5HA1wOaUqDPML3nnh5m1iwEETTPWqPbAvw=";
|
sha256 = "sha256-cMAhwybnq5HA1wOaUqDPML3nnh5m1iwEETTPWqPbAvw=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
rustic = epkgs.rustic.overrideAttrs (old: {
|
lean4-mode = epkgs.trivialBuild rec {
|
||||||
patches = [
|
pname = "lean4-mode";
|
||||||
(builtins.fetchurl {
|
version = "d1c936409ade7d93e67107243cbc0aa55cda7fd5";
|
||||||
url = "https://github.com/yuuyins/rustic/commit/12a3a962ff4aad605bfdfcc2ded99878b2d7de6e.patch";
|
|
||||||
sha256 = "sha256-x4JI0zwjj/3jP4ArVt6WTXfuNdbZX8ah9ZEcRiOKW5U=";
|
buildInputs = [epkgs.dash epkgs.f epkgs.magit-section epkgs.lsp-mode epkgs.s epkgs.flycheck];
|
||||||
})
|
|
||||||
];
|
postInstall = ''
|
||||||
});
|
cp -r data $out/share/emacs/site-lisp/data
|
||||||
|
'';
|
||||||
|
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "leanprover";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-tD5Ysa24fMIS6ipFc50OjabZEUge4riSb7p4BR05ReQ=";
|
||||||
|
};
|
||||||
|
};
|
||||||
in [
|
in [
|
||||||
all-the-icons
|
all-the-icons
|
||||||
all-the-icons-dired
|
all-the-icons-dired
|
||||||
|
@ -95,15 +104,21 @@
|
||||||
company-mode
|
company-mode
|
||||||
company-sourcekit
|
company-sourcekit
|
||||||
counsel
|
counsel
|
||||||
|
dash
|
||||||
editorconfig
|
editorconfig
|
||||||
edit-indirect
|
edit-indirect
|
||||||
|
f
|
||||||
|
flycheck
|
||||||
format-all
|
format-all
|
||||||
gnuplot
|
gnuplot
|
||||||
graphviz-dot-mode
|
graphviz-dot-mode
|
||||||
htmlize
|
htmlize
|
||||||
ivy
|
ivy
|
||||||
ivy-bibtex
|
ivy-bibtex
|
||||||
|
lean4-mode
|
||||||
|
lsp-mode
|
||||||
magit
|
magit
|
||||||
|
magit-section
|
||||||
meow
|
meow
|
||||||
mu4e
|
mu4e
|
||||||
mu4e-accounts
|
mu4e-accounts
|
||||||
|
@ -119,6 +134,7 @@
|
||||||
polymode
|
polymode
|
||||||
poly-org
|
poly-org
|
||||||
rustic
|
rustic
|
||||||
|
s
|
||||||
separedit
|
separedit
|
||||||
solarized-theme
|
solarized-theme
|
||||||
swift-mode
|
swift-mode
|
||||||
|
|
|
@ -74,6 +74,7 @@
|
||||||
(require 'htmlize)
|
(require 'htmlize)
|
||||||
(require 'ivy)
|
(require 'ivy)
|
||||||
(require 'ivy-bibtex)
|
(require 'ivy-bibtex)
|
||||||
|
(require 'lean4-mode)
|
||||||
(require 'magit)
|
(require 'magit)
|
||||||
(require 'meow)
|
(require 'meow)
|
||||||
(require 'mu4e)
|
(require 'mu4e)
|
||||||
|
|
Loading…
Add table
Reference in a new issue