diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2022-03-10 15:40:27 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2022-03-10 15:40:27 +0900 |
commit | 931b1872b2f54334e3a35b05c591492cf998847d (patch) | |
tree | a503c6a3ac507279acb79c105d49443366886913 | |
parent | 7d0b169dc69036aa04e4dff3a596b254635f8d55 (diff) | |
download | dotfiles-931b1872b2f54334e3a35b05c591492cf998847d.tar.gz |
Improve time management
-rw-r--r-- | nix/awesome.nix | 7 | ||||
-rw-r--r-- | nix/configuration.nix | 5 | ||||
-rw-r--r-- | nix/devel.nix | 2 | ||||
-rw-r--r-- | nix/games.nix | 8 | ||||
-rw-r--r-- | vim/.vim/vimrc | 2 |
5 files changed, 13 insertions, 11 deletions
diff --git a/nix/awesome.nix b/nix/awesome.nix index f46f4e6..9cc0076 100644 --- a/nix/awesome.nix +++ b/nix/awesome.nix @@ -39,9 +39,10 @@ environment.systemPackages = with pkgs; [ gnome.adwaita-icon-theme networkmanagerapplet qt5ct clipbuzz keynav playerctl pulsemixer xclip xdotool xorg.xkill - aerc amfora calcurse dante ncdu ranger ueberzug vim_configurable - arandr audacious keepassx-community liferea scrot rxvt-unicode zathura - firefox gajim libreoffice mepo nheko tor-browser-bundle-bin transmission-gtk + aerc amfora calcurse dante khard ncdu ranger ueberzug vim_configurable + arandr audacious keepassx liferea scrot rxvt-unicode zathura + firefox gajim libreoffice mepo nheko tor-browser-bundle-bin + nextcloud-client transmission-gtk ]; hardware.brillo.enable = true; diff --git a/nix/configuration.nix b/nix/configuration.nix index c80e89e..f81fccb 100644 --- a/nix/configuration.nix +++ b/nix/configuration.nix @@ -29,6 +29,11 @@ networking = { hostName = "nix"; nameservers = [ "9.9.9.11" "149.112.112.11" ]; + extraHosts = '' + 0.0.0.0 9gag.com + 0.0.0.0 old.reddit.com + 0.0.0.0 soap2day.md + ''; networkmanager.enable = true; # The global useDHCP flag is deprecated, therefore explicitly set diff --git a/nix/devel.nix b/nix/devel.nix index b7321a9..d819def 100644 --- a/nix/devel.nix +++ b/nix/devel.nix @@ -2,7 +2,7 @@ { environment.systemPackages = with pkgs; [ - exa fd gitAndTools.gitFull glow jq kvm minicom manpages ripgrep rlwrap + exa fd gitAndTools.gitFull glow jq minicom man-pages ripgrep rlwrap gcc lua python3 rakudo zig bintools gdb gnumake luaPackages.luacheck mypy pkg-config plantuml texlive.combined.scheme-full diff --git a/nix/games.nix b/nix/games.nix index 63e3ccf..958a3df 100644 --- a/nix/games.nix +++ b/nix/games.nix @@ -6,16 +6,12 @@ astromenace chromium-bsu # scrolling azimuth cdogs-sdl taisei # shmup bastet moon-buggy n2048 # text - blackshades redeclipse xonotic-glx + blackshades redeclipse xonotic-glx # fps blobwars openclonk sienna superTux # platformer - bonzomatic love # engine + bonzomatic # engine extremetuxracer gl117 gltron superTuxKart # vehicle flare freedroidrpg hyperrogue # slash frozen-bubble gnujump gtetrinet pinball xbill # coffeebreak neverball orthorobot # puzzle - (steam.override { - nativeOnly = true; - extraPkgs = pkgs: [ SDL2_net ]; - }).run # launcher ]; } diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc index 1b7c421..2c766c2 100644 --- a/vim/.vim/vimrc +++ b/vim/.vim/vimrc @@ -24,7 +24,7 @@ augroup vimrc autocmd BufNewFile,BufRead *.ms setlocal filetype=groff autocmd BufNewFile,BufRead *.m setlocal filetype=octave autocmd BufNewFile,BufRead *.h setlocal filetype=c - autocmd FileType asm,c,cpp,h,diff,gitconfig,gitsendemail,go,glsl,mail,sshconfig,php,tsv + autocmd FileType asm,c,cpp,h,diff,gitconfig,gitsendemail,go,glsl,mail,make,sshconfig,php,tsv \ setlocal cindent cinoptions=(0 noexpandtab shiftwidth=8 tabstop=8 autocmd FileType vim,sh,scheme,lua,tex,cmake,cpp,plantuml,html,octave,pascal \ setlocal shiftwidth=2 |