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 image: nixos/latest
sources: sources:
- https://git.sr.ht/~cyplo/dotfiles - https://git.sr.ht/~cyplo/dotfiles
secrets: secrets:
- 6c23a8c1-7a30-4a7e-b3b7-0171e898a7d3 - 6c23a8c1-7a30-4a7e-b3b7-0171e898a7d3
tasks: tasks:
- check: | - check: |
cd dotfiles cd dotfiles
nix-shell --pure --run 'nix-experimental flake check' nix-shell --pure --run 'nix-experimental flake info'
nix-shell --pure --run 'nix-experimental flake check'
- github_push: | - github_push: |
set +xv set +xv
cd dotfiles cd dotfiles
GITHUB_TOKEN=`cat ~/.github_token` GITHUB_TOKEN=`cat ~/.github_token`
git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git
git push github --all --force git push github --all --force

View file

@ -13,12 +13,15 @@
(progn (add-hook 'comint-preoutput-filter-functions 'xterm-color-filter) (progn (add-hook 'comint-preoutput-filter-functions 'xterm-color-filter)
(setq comint-output-filter-functions (remove 'ansi-color-process-output comint-output-filter-functions))) (setq comint-output-filter-functions (remove 'ansi-color-process-output comint-output-filter-functions)))
(set-terminal-parameter nil 'background-mode 'dark) (set-terminal-parameter nil 'background-mode 'dark)
(xterm-mouse-mode 1) (xterm-mouse-mode 1)
(require 'evil) (require 'evil)
(evil-mode 1) (evil-mode 1)
(setq custom-tab-width 2)
(setq indent-tabs-mode nil)
''; '';
programs.emacs = { programs.emacs = {
enable = true; enable = true;