mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 11:17:17 +00:00
gptk stuff, exa -> eza
This commit is contained in:
parent
f23a8150d1
commit
2f6fd3f34f
6 changed files with 25 additions and 50 deletions
|
@ -20,17 +20,23 @@
|
|||
pinentry = "${pkgs.pinentry-mac}/bin/pinentry-mac";
|
||||
};
|
||||
|
||||
programs.zsh.envExtra = ''
|
||||
export WINEPREFIX="${config.home.homeDirectory}/.gptk_wineprefix"
|
||||
programs.zsh.envExtra =
|
||||
/*
|
||||
sh
|
||||
*/
|
||||
''
|
||||
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
|
||||
'';
|
||||
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
|
||||
|
||||
gptk-steam(){ wine-gptk "${config.home.homeDirectory}/.gptk_wineprefix/drive_c/Program\ Files\ \(x86\)/Steam/steam.exe"; }
|
||||
'';
|
||||
|
||||
home.packages = with pkgs;
|
||||
[
|
||||
|
|
|
@ -259,36 +259,6 @@ in {
|
|||
"Working Directory" = "/Users/willem";
|
||||
}
|
||||
// profile_defaults)
|
||||
({
|
||||
"Columns" = 120;
|
||||
"Command" = "";
|
||||
"Custom Command" = "No";
|
||||
"Custom Directory" = "No";
|
||||
"Default Bookmark" = "No";
|
||||
"Description" = "Default";
|
||||
"Disable Window Resizing" = true;
|
||||
"Guid" = "00A17AC2-1885-4AE2-B941-A47A5D8C36B4";
|
||||
"Has Hotkey" = true;
|
||||
"HotKey Activated By Modifier" = false;
|
||||
"HotKey Alternate Shortcuts" = {};
|
||||
"HotKey Characters Ignoring Modifiers" = " ";
|
||||
"HotKey Characters" = " ";
|
||||
"HotKey Key Code" = 49;
|
||||
"HotKey Modifier Activation" = 3;
|
||||
"HotKey Modifier Flags" = 1048576;
|
||||
"HotKey Window Animates" = false;
|
||||
"HotKey Window AutoHides" = true;
|
||||
"HotKey Window Dock Click Action" = 0;
|
||||
"HotKey Window Floats" = true;
|
||||
"HotKey Window Reopens On Activation" = false;
|
||||
"Name" = "Hotkey Window";
|
||||
"Rows" = 25;
|
||||
"Screen" = -1;
|
||||
"Space" = -1;
|
||||
"Tags" = [];
|
||||
"Working Directory" = "/Users/willem";
|
||||
}
|
||||
// profile_defaults)
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -68,6 +68,7 @@
|
|||
latest.toolchain
|
||||
targets.thumbv7em-none-eabihf.latest.rust-std
|
||||
]);
|
||||
lua_p = pkgs.lua5_4.withPackages (p: with p; [luacheck]);
|
||||
in {
|
||||
home.packages = with pkgs;
|
||||
[
|
||||
|
@ -94,6 +95,8 @@ in {
|
|||
htop
|
||||
iaito
|
||||
jq
|
||||
lua_p
|
||||
lua-language-server
|
||||
mu
|
||||
nix-zsh-completions
|
||||
nixfmt
|
||||
|
@ -117,6 +120,7 @@ in {
|
|||
spotify-tui
|
||||
spotifyd
|
||||
sqlite
|
||||
stylua
|
||||
texinfo
|
||||
texliveset
|
||||
tldr
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
nix-direnv = {enable = true;};
|
||||
};
|
||||
|
||||
exa = {
|
||||
eza = {
|
||||
enable = true;
|
||||
enableAliases = true;
|
||||
};
|
||||
|
|
|
@ -19,12 +19,6 @@
|
|||
sha256 = "sha256-6aX2S4cUop1rdxweIF5f1qrgNmYd1mtWgT9T1Q1s2h8=";
|
||||
};
|
||||
};
|
||||
mu4e = epkgs.trivialBuild {
|
||||
pname = "mu4e";
|
||||
version = pkgs.mu.version;
|
||||
|
||||
src = "${pkgs.mu}/share/emacs/site-lisp/mu4e";
|
||||
};
|
||||
mu4e-accounts = epkgs.trivialBuild {
|
||||
pname = "mu4e-accounts";
|
||||
version = "0.1";
|
||||
|
@ -117,6 +111,7 @@
|
|||
ivy-bibtex
|
||||
lean4-mode
|
||||
lsp-mode
|
||||
lua-mode
|
||||
magit
|
||||
magit-section
|
||||
meow
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
direnv allow
|
||||
fi
|
||||
if [[ ! -e shell.nix ]] && [[ ! -e default.nix ]]; then
|
||||
cat > default.nix <<'EOF'
|
||||
cat > default.nix <<EOF
|
||||
with import <nixpkgs> {};
|
||||
mkShell {
|
||||
nativeBuildInputs = [
|
||||
|
@ -56,7 +56,7 @@
|
|||
];
|
||||
}
|
||||
EOF
|
||||
${config.home.sessionVariables.EDITOR} default.nix
|
||||
'${config.home.sessionVariables.EDITOR}' default.nix
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -67,7 +67,7 @@
|
|||
echo "use flake" > .envrc
|
||||
direnv allow
|
||||
fi
|
||||
${config.home.sessionVariables.EDITOR} flake.nix
|
||||
'${config.home.sessionVariables.EDITOR}' flake.nix
|
||||
}
|
||||
'';
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue