update dotfiles

This commit is contained in:
Haak Saxberg 2020-05-27 03:02:05 -07:00
commit e44b14438a
3 changed files with 12 additions and 3 deletions

View file

@ -45,10 +45,13 @@
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
cachix
firefox
inkscape
unzip
vim
wget
xclip
zathura
zsh
];
@ -119,6 +122,8 @@
shell = pkgs.zsh;
};
nix.trustedUsers = [ "root" "haak" ];
# This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you

View file

@ -14,7 +14,8 @@ let
};
cargoSha256 = "1aqjgfpqsasy9qvw08ill7ig6k9n9rdkwxlg1z5g61z7cmi1p3i4";
buildInputs = [ pkgs.pkg-config pkgs.openssl ] ++ (if pkgs.stdenv.isDarwin then [ pkgs.libiconv pkgs.darwin.apple_sdk.frameworks.Security ] else []);
nativeBuildInputs = [ pkgs.pkgconfig ];
buildInputs = [ pkgs.openssl ] ++ (if pkgs.stdenv.isDarwin then [ pkgs.libiconv pkgs.darwin.apple_sdk.frameworks.Security ] else []);
};
vim-goyo = pkgs.vimUtils.buildVimPlugin {
@ -46,6 +47,7 @@ in {
zsh-syntax-highlighting
] ++ (if pkgs.stdenv.isDarwin then [
lorri
skhd # keyboard shortcut daemon for macOS
] else [
slack
]);
@ -89,6 +91,8 @@ in {
".tools-info"
"*~"
"*.swp"
".yardoc/"
"doc/"
];
};
@ -191,7 +195,7 @@ in {
\ 'javascript.jsx': ['prettier'],
\ 'javascriptreact': ['prettier'],
\ 'typescriptreact': ['prettier'],
\ 'ruby': ['rubocop', 'sorbet'],
\ 'ruby': [],
\ 'rust': ['rustfmt'],
\ 'elixir': ['mix_format']
\}