nix/roles/dev.nix
2020-08-28 20:38:31 +02:00

36 lines
932 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, ... }:
let
moz_overlay = import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz);
nixpkgs = import <nixpkgs> { overlays = [ moz_overlay ]; } ;
ruststable = (
nixpkgs.latest.rustChannels.stable.rust.override {
extensions = [ "rust-src" "rls-preview" "rust-analysis" "rustfmt-preview" ];
}
);
unstable = import <nixos-unstable> {};
in {
environment.systemPackages = with pkgs; [
cmake
gcc
go
nasm
openssl.dev
pkg-config
python37
python37Packages.pyls-black
python37Packages.pyls-isort
python37Packages.pyls-mypy
rustup
ruststable
sops
tig
unstable.gopls
unstable.rust-analyzer
zlib
];
}