diff --git a/.build.yml b/.build.yml index cf21d790..7bed94dd 100644 --- a/.build.yml +++ b/.build.yml @@ -1,17 +1,19 @@ image: nixos/latest sources: - - https://git.sr.ht/~cyplo/dotfiles + - https://git.sr.ht/~cyplo/dotfiles secrets: - - 6c23a8c1-7a30-4a7e-b3b7-0171e898a7d3 + - 6c23a8c1-7a30-4a7e-b3b7-0171e898a7d3 tasks: - check: | - cd dotfiles - nix-shell --pure --run 'nix-experimental flake check' + cd dotfiles + nix-shell --pure --run 'nix-experimental flake info' + nix-shell --pure --run 'nix-experimental flake check' + - github_push: | - set +xv - cd dotfiles - GITHUB_TOKEN=`cat ~/.github_token` - git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git - git push github --all --force + set +xv + cd dotfiles + GITHUB_TOKEN=`cat ~/.github_token` + git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git + git push github --all --force diff --git a/nixos/home-manager/programs/emacs/home.nix b/nixos/home-manager/programs/emacs/home.nix index 5c939b7b..33f73445 100644 --- a/nixos/home-manager/programs/emacs/home.nix +++ b/nixos/home-manager/programs/emacs/home.nix @@ -13,12 +13,15 @@ (progn (add-hook 'comint-preoutput-filter-functions 'xterm-color-filter) (setq comint-output-filter-functions (remove 'ansi-color-process-output comint-output-filter-functions))) - (set-terminal-parameter nil 'background-mode 'dark) (xterm-mouse-mode 1) (require 'evil) (evil-mode 1) + + (setq custom-tab-width 2) + (setq indent-tabs-mode nil) + ''; programs.emacs = { enable = true;