try with flake info first

This commit is contained in:
Cyryl Płotnicki 2022-03-05 11:05:52 +00:00
parent fc40629c73
commit 08957ea9bd
2 changed files with 15 additions and 10 deletions

View file

@ -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

View file

@ -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;