rust-iot: setup

This commit is contained in:
Ingolf Wagner 2020-05-21 01:37:01 +02:00
parent f0e74ba8f6
commit 1f67f58a81
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 18 additions and 0 deletions

View file

@ -21,6 +21,10 @@
password = lib.fileContents <secrets/zigbee/password>; password = lib.fileContents <secrets/zigbee/password>;
acl = [ "topic readwrite #" ]; acl = [ "topic readwrite #" ];
}; };
rust-iot = {
password = "password"
acl = [ "topic readwrite #" ];
};
}; };
}; };

View file

@ -2,6 +2,9 @@
let unstable = import <nixpkgs-unstable> { }; let unstable = import <nixpkgs-unstable> { };
in { in {
# overlay included
nixpkgs.overlays = [ (import <mozilla-overlay/rust-overlay.nix>) ];
nixpkgs.config.packageOverrides = pkgs: { nixpkgs.config.packageOverrides = pkgs: {
nur = import (builtins.fetchTarball nur = import (builtins.fetchTarball
"https://github.com/nix-community/NUR/archive/master.tar.gz") { "https://github.com/nix-community/NUR/archive/master.tar.gz") {
@ -12,8 +15,19 @@ in {
environment.systemPackages = with pkgs; environment.systemPackages = with pkgs;
[ [
bitwig-studio bitwig-studio
sononym-crawler
# rust development environment
rustup
jetbrains.clion
# python
python3Full
#unstable.pypi2nix #unstable.pypi2nix
#nur.repos.mic92.nixos-shell #nur.repos.mic92.nixos-shell
]; ];
} }