some hard lessons from ruby development
This commit is contained in:
parent
982f4260c8
commit
64c9f073e6
1 changed files with 10 additions and 4 deletions
14
nix/home.nix
14
nix/home.nix
|
|
@ -13,8 +13,9 @@ let
|
|||
sha256 = "06gh3v35bdr0qsp459183br4hpmwm36d2r9fjyx9j5jfpzggqg51";
|
||||
};
|
||||
|
||||
cargoSha256 = "1aqjgfpqsasy9qvw08ill7ig6k9n9rdkwxlg1z5g61z7cmi1p3i4";
|
||||
buildInputs = [ pkgs.pkg-config pkgs.openssl ] ++ (if pkgs.stdenv.isDarwin then [ pkgs.libiconv pkgs.darwin.apple_sdk.frameworks.Security ] else []);
|
||||
cargoSha256 = "0f0a88pv4myavdrznz68f5jfc82y8whrdwcyp1q8i6nrn606csi7";
|
||||
nativeBuildInputs = [ pkgs.pkgconfig ];
|
||||
buildInputs = [ pkgs.openssl ] ++ (if pkgs.stdenv.isDarwin then [ pkgs.libiconv pkgs.darwin.apple_sdk.frameworks.Security ] else []);
|
||||
};
|
||||
in {
|
||||
home.packages = with pkgs; [
|
||||
|
|
@ -24,6 +25,7 @@ in {
|
|||
jq
|
||||
keybase
|
||||
lastpass-cli
|
||||
lorri
|
||||
nox
|
||||
tree
|
||||
ranger
|
||||
|
|
@ -31,7 +33,9 @@ in {
|
|||
zsh-autosuggestions
|
||||
zsh-history-substring-search
|
||||
zsh-syntax-highlighting
|
||||
];
|
||||
] ++ (if pkgs.stdenv.isDarwin then [
|
||||
skhd # keyboard shortcut daemon for macOS
|
||||
] else []);
|
||||
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
|
|
@ -72,6 +76,8 @@ in {
|
|||
".tools-info"
|
||||
"*~"
|
||||
"*.swp"
|
||||
".yardoc/"
|
||||
"doc/"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
@ -167,7 +173,7 @@ in {
|
|||
\ 'javascript.jsx': ['prettier'],
|
||||
\ 'javascriptreact': ['prettier'],
|
||||
\ 'typescriptreact': ['prettier'],
|
||||
\ 'ruby': ['rubocop', 'sorbet'],
|
||||
\ 'ruby': [],
|
||||
\ 'rust': ['rustfmt'],
|
||||
\}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue