...
 
Commits (4)
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
environment.systemPackages = (with pkgs; [
# toolchain
protobuf awscli hugo aws-sam-cli
protobuf hugo awscli
# language
go goimports google-app-engine-go-sdk dep
......@@ -13,8 +13,7 @@
# container
linuxkit moby docker_compose
];
]);
virtualisation.docker = {
enable = true;
storageDriver = "overlay2";
......
......@@ -2,6 +2,26 @@
"version": 2,
"current_profile_name": "default",
"repos": [
{
"type": "git",
"path": "github.com/Chiel92/vim-autoformat",
"version": "4f993fad63f98b844a5bd728c5a963c0da404e1a"
},
{
"type": "git",
"path": "github.com/ElmCast/elm-vim",
"version": "165107a9fd2b20c8f050fc4f977b4e41c790b1e7"
},
{
"type": "git",
"path": "github.com/LnL7/vim-nix",
"version": "a3eed01f4de995a51dfdd06287e44fcb231f6adf"
},
{
"type": "git",
"path": "github.com/MaxMEllon/vim-jsx-pretty",
"version": "007b85e1d51f4dbbba2c15ca4a34b5ff7a8db9ef"
},
{
"type": "git",
"path": "github.com/ajh17/VimCompletesMe",
......@@ -17,11 +37,6 @@
"path": "github.com/cespare/vim-toml",
"version": "2295e612d936671048035dbc447f5400cbee60de"
},
{
"type": "git",
"path": "github.com/Chiel92/vim-autoformat",
"version": "4f993fad63f98b844a5bd728c5a963c0da404e1a"
},
{
"type": "git",
"path": "github.com/derekwyatt/vim-scala",
......@@ -30,37 +45,37 @@
{
"type": "git",
"path": "github.com/dim13/smyck.vim",
"version": "206048fe924b36c1b6388ca9872c7cab2c95b630"
"version": "538c55741a4e08229a72bf4d72f00389be6fc7e7"
},
{
"type": "git",
"path": "github.com/editorconfig/editorconfig-vim",
"version": "68f8136d2b018bfa9b23403e87d3d65bc942cbc3"
"version": "37bedf88cabb61d4580295b6e347058df7e7f1b4"
},
{
"type": "git",
"path": "github.com/ekalinin/Dockerfile.vim",
"version": "bc54e8bd3e4aef739458a8662b4428e13d8d1eb9"
},
{
"type": "git",
"path": "github.com/ElmCast/elm-vim",
"version": "165107a9fd2b20c8f050fc4f977b4e41c790b1e7"
"version": "f647f90dcecb8738cd53ac8dd293d93570039e00"
},
{
"type": "git",
"path": "github.com/fatih/vim-go",
"version": "203366598ff157b0d81e83ff91b8a26728929f04"
"version": "255f903c14350fb5d615b316661bac93db1544ce"
},
{
"type": "git",
"path": "github.com/hail2u/vim-css3-syntax",
"version": "1d8006de19ed9780406641d9e4afd6d88d7f49aa"
"version": "22c5e8078ddee05c2f447442be5542839aea042c"
},
{
"type": "git",
"path": "github.com/isRuslan/vim-es6",
"version": "c0ca7bcef2cf0095a598ce1f556eb9fbd2b1d4b4"
"version": "3f080e31dc712ca52e4cb443b5e9cbfd543ba73c"
},
{
"type": "git",
"path": "github.com/itchyny/lightline.vim",
"version": "3b7c7b83d2ef5f559158c84c5afb0f51656ccade"
},
{
"type": "git",
......@@ -80,22 +95,22 @@
{
"type": "git",
"path": "github.com/leafgarland/typescript-vim",
"version": "f50fed442f8e75e714efeaf015225af9eaf67cf4"
"version": "7704fac2c765aaf975ad4034933bf63113dd4a64"
},
{
"type": "git",
"path": "github.com/LnL7/vim-nix",
"version": "be0c6bb409732b79cc86c177ca378b0b334e1efe"
"path": "github.com/neoclide/coc.nvim",
"version": "0b97d1b56aa60983c891ae9104d110d6a1b791fa"
},
{
"type": "git",
"path": "github.com/MaxMEllon/vim-jsx-pretty",
"version": "75f027712dd837c4723e150bd4eeef7051141994"
"path": "github.com/posva/vim-vue",
"version": "c7b133a66ec9dcf2200d1d2a4a7ad38909c5f539"
},
{
"type": "git",
"path": "github.com/posva/vim-vue",
"version": "c7b133a66ec9dcf2200d1d2a4a7ad38909c5f539"
"path": "github.com/prabirshrestha/async.vim",
"version": "f3014550d7a799097e56b094104dd2cd66cf2612"
},
{
"type": "git",
......@@ -112,11 +127,6 @@
"path": "github.com/prabirshrestha/asyncomplete.vim",
"version": "f4a5b881c86e8a6a7701db023c0631417851815d"
},
{
"type": "git",
"path": "github.com/prabirshrestha/async.vim",
"version": "f3014550d7a799097e56b094104dd2cd66cf2612"
},
{
"type": "git",
"path": "github.com/prabirshrestha/vim-lsp",
......@@ -125,7 +135,7 @@
{
"type": "git",
"path": "github.com/racer-rust/vim-racer",
"version": "a8771a84d7f7305c14ba16e817d7cea8f26030d9"
"version": "4649e13a1f5a9c31781db570ac7de97e57dc0b3c"
},
{
"type": "git",
......@@ -140,7 +150,7 @@
{
"type": "git",
"path": "github.com/rust-lang/rust.vim",
"version": "9984b9753606fe2c8d7f3d4f9d67c1777a967cd6"
"version": "6d6c410d5997bda6b9de065049636be4ad3682f4"
},
{
"type": "git",
......@@ -150,7 +160,7 @@
{
"type": "git",
"path": "github.com/scrooloose/nerdtree",
"version": "e126b8745dc40931ae8da03d92c78264e8e4b029"
"version": "28eb47e2678cf629d92b4f1f00dd56cba22fc4ae"
},
{
"type": "git",
......@@ -161,48 +171,38 @@
"type": "git",
"path": "github.com/yami-beta/asyncomplete-omni.vim",
"version": "4ea03f5f8320ae46557d040912e16790b6722983"
},
{
"type": "git",
"path": "github.com/itchyny/lightline.vim",
"version": "83ae633be323a7fb5baf77e493232cf3358d02bf"
},
{
"type": "git",
"path": "github.com/neoclide/coc.nvim",
"version": "f7874ec7d7f8d2c72a603d10c40915c74ca2dcaa"
}
],
"profiles": [
{
"name": "default",
"repos_path": [
"github.com/Chiel92/vim-autoformat",
"github.com/ElmCast/elm-vim",
"github.com/LnL7/vim-nix",
"github.com/MaxMEllon/vim-jsx-pretty",
"github.com/ajh17/VimCompletesMe",
"github.com/alunny/pegjs-vim",
"github.com/cespare/vim-toml",
"github.com/Chiel92/vim-autoformat",
"github.com/derekwyatt/vim-scala",
"github.com/dim13/smyck.vim",
"github.com/editorconfig/editorconfig-vim",
"github.com/ekalinin/Dockerfile.vim",
"github.com/ElmCast/elm-vim",
"github.com/fatih/vim-go",
"github.com/hail2u/vim-css3-syntax",
"github.com/isRuslan/vim-es6",
"github.com/itchyny/lightline.vim",
"github.com/jparise/vim-graphql",
"github.com/keith/swift.vim",
"github.com/leafgarland/typescript-vim",
"github.com/LnL7/vim-nix",
"github.com/MaxMEllon/vim-jsx-pretty",
"github.com/neoclide/coc.nvim",
"github.com/posva/vim-vue",
"github.com/racer-rust/vim-racer",
"github.com/rhysd/vim-gfm-syntax",
"github.com/rust-lang/rust.vim",
"github.com/ryanoasis/vim-devicons",
"github.com/scrooloose/nerdtree",
"github.com/vim-perl/vim-perl",
"github.com/itchyny/lightline.vim",
"github.com/neoclide/coc.nvim",
"github.com/ajh17/VimCompletesMe"
"github.com/vim-perl/vim-perl"
]
}
]
......
......@@ -51,14 +51,6 @@ function! s:on_load_pre()
\ 'filetype': 'WebDevIconsGetFileTypeSymbol',
\ 'cocstatus': 'coc#status',
\ },
\ 'tabline': {
\ 'left': [ ['tabs'] ],
\ 'right': [ [ 'close' ] ],
\ },
\ 'tab': {
\ 'active': [ 'tabnum', 'filename', 'modified' ],
\ 'inactive': [ 'tabnum', 'filename', 'modified' ],
\ },
\ }
endfunction
......
......@@ -9,6 +9,7 @@ function! s:on_load_pre()
set updatetime=300
set shortmess+=c
set signcolumn=yes
set shell=/bin/sh
endfunction
function! s:on_load_post()
......
......@@ -16,7 +16,7 @@ fi
if type nix-env 2>&1 >/dev/null ; then
if test -e /etc/nixpkgs ; then
alias nix-build="nix-build -I nixpkgs=/etc/nixpkgs"
alias nix-env="nix-build -I nixpkgs=/etc/nixpkgs"
alias nix-env="nix-env -I nixpkgs=/etc/nixpkgs"
alias nix-shell="nix-shell -I nixpkgs=/etc/nixpkgs"
alias nix-search="nix search -I nixpkgs=/etc/nixpkgs"
else
......
self: super: let
require = path: args: super.callPackage (import path) args ;
in {
playonlinux = require ./pkgs/playonlinux/default.nix { };
python2 = let
packageOverrides = mod: orig: {
pycdio = orig.pycdio.overrideAttrs(old: rec {
nativeBuildInputs = old.nativeBuildInputs ++ [
super.swig
];
strictDeps = false;
});
};
in super.python2.override { inherit packageOverrides; };
virtmanager = super.virtmanager.overrideAttrs (old: rec {
strictDeps = false;
});
in {
}