diff options
author | Nguyễn Gia Phong <cnx@loang.net> | 2024-05-13 02:10:05 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <cnx@loang.net> | 2024-05-13 02:10:05 +0900 |
commit | 849a7ad18688358489f315d5a8c69e0ae76cbd16 (patch) | |
tree | 5b743c2e6ebfd40d4f75c73c088594ac1c19803b /nix/devel.nix | |
parent | e445f6ad4c4665e83523c85406ccde2084d6d2a7 (diff) | |
download | dotfiles-849a7ad18688358489f315d5a8c69e0ae76cbd16.tar.gz |
Clean up laptop env
Diffstat (limited to 'nix/devel.nix')
-rw-r--r-- | nix/devel.nix | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/nix/devel.nix b/nix/devel.nix index d977dd4..fd3d4b4 100644 --- a/nix/devel.nix +++ b/nix/devel.nix @@ -1,13 +1,12 @@ -{ lib, pkgs, ... }: +{ config, lib, pkgs, ... }: { - environment.systemPackages = with pkgs; [ + users.users.sea.packages = with pkgs; [ bintools gdb gnumake pkg-config - gcc go guile_3_0 lua rakudo zig + gcc go janet lua python3 zig fd htmlq jq ripgrep rlwrap - man-pages man-pages-posix stdman + man-pages-posix stdman texlive.combined.scheme-full - (python3.withPackages (pypkgs: with pypkgs; [ flit rsskey ])) (vim_configurable.customize { vimrcConfig = { customRC = '' @@ -74,7 +73,9 @@ autocmd FileType vim,sh,scheme,lua,tex,cmake,plantuml,html,pascal \ setlocal shiftwidth=2 autocmd FileType cpp - \ setlocal cindent cinoptions=>4,n-2,{2,^-2,:2,=2,g0,h2,p5,t0,+2,(0,u0,w1,m1 + \ setlocal cindent tabstop=8 + autocmd FileType cpp + \ setlocal cinoptions=>4,n-2,{2,^-2,:2,=2,g0,h2,p5,t0,+2,(0,u0,w1,m1 autocmd FileType rst setlocal shiftwidth=3 autocmd FileType mail,markdown,rst,tex setlocal spell autocmd BufWinEnter * |