Things
- `git-auto-commit-mode` for Emacs - different ZSH prompt for Emacs TRAMP mode - CI test
This commit is contained in:
parent
d99fd6a3e6
commit
0db5318ffe
3 changed files with 10 additions and 1 deletions
4
.github/workflows/check.yml
vendored
4
.github/workflows/check.yml
vendored
|
@ -10,6 +10,9 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.4
|
||||
- run: |
|
||||
DEBIAN_FRONTEND=noninteractive
|
||||
sudo apt-get update -q -y && sudo apt-get install -q -y qemu-system-aarch64 qemu-efi binfmt-support qemu-user-static
|
||||
- uses: cachix/install-nix-action@v17
|
||||
with:
|
||||
extra_nix_config: >
|
||||
|
@ -37,5 +40,6 @@ jobs:
|
|||
- run: echo "hello" # nix -Lv flake check
|
||||
- run: cat flake.nix
|
||||
- run: nix -Lv build ".#nixosConfigurations.pc.config.system.build.toplevel"
|
||||
- run: nix -Lv build ".#nixosConfigurations.pbp.config.system.build.toplevel" --option system aarch64-linux
|
||||
- run: nix -Lv build ".#nixosConfigurations.hs.config.system.build.toplevel"
|
||||
- run: nix -Lv develop -c echo OK
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
let
|
||||
myEmacs = pkgs.emacsPgtkNativeComp;
|
||||
# TODO: when `emcasPgtkNativeComp` will build on aarch64 re-use it
|
||||
myEmacs = with pkgs; if stdenv.hostPlatform.isAarch64 then emacs else emacsPgtkNativeComp;
|
||||
emacsWithPackages = (pkgs.emacsPackagesFor myEmacs).emacsWithPackages;
|
||||
in
|
||||
emacsWithPackages (
|
||||
|
@ -23,6 +24,7 @@ emacsWithPackages (
|
|||
evil-collection
|
||||
evil-tree-edit
|
||||
fira-code-mode
|
||||
git-auto-commit-mode
|
||||
go-translate
|
||||
good-scroll
|
||||
haskell-mode
|
||||
|
|
|
@ -60,6 +60,9 @@
|
|||
if pkgs.stdenv.hostPlatform.isDarwin
|
||||
then "if test -e /etc/static/bashrc; then source /etc/static/bashrc > /dev/null 2>&1; fi"
|
||||
else "";
|
||||
envExtra = ''
|
||||
[ $TERM = "dumb" ] && unsetopt zle && PS1='$ ' # for Emacs TRAMP mode
|
||||
'';
|
||||
};
|
||||
|
||||
programs.command-not-found.enable = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue