add rust lang
This commit is contained in:
parent
12a8e42562
commit
45cc5eb780
@ -2,7 +2,16 @@
|
|||||||
with rec {
|
with rec {
|
||||||
inherit (config) device deviceSpecific;
|
inherit (config) device deviceSpecific;
|
||||||
};
|
};
|
||||||
with deviceSpecific; {
|
with deviceSpecific;
|
||||||
|
let
|
||||||
|
rust-stable = pkgs.rustChannels.stable.rust.override {
|
||||||
|
extensions = [
|
||||||
|
"rls-preview"
|
||||||
|
"clippy-preview"
|
||||||
|
"rustfmt-preview"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
in {
|
||||||
# programs.adb.enable = true;
|
# programs.adb.enable = true;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
@ -66,6 +75,7 @@ with deviceSpecific; {
|
|||||||
blueman
|
blueman
|
||||||
] ++ lib.optionals (!isVM) [
|
] ++ lib.optionals (!isVM) [
|
||||||
libreoffice
|
libreoffice
|
||||||
|
rust-stable
|
||||||
] ++ lib.optionals (device == "AMD-Workstation") [
|
] ++ lib.optionals (device == "AMD-Workstation") [
|
||||||
xonar-fp
|
xonar-fp
|
||||||
];
|
];
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
{ pkgs, config, lib, ... }: {
|
{ pkgs, config, lib, ... }:
|
||||||
|
let
|
||||||
|
moz_overlay = import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz);
|
||||||
|
in {
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
|
moz_overlay
|
||||||
(self: old: rec {
|
(self: old: rec {
|
||||||
# nerdfonts = nur.balsoft.pkgs.roboto-mono-nerd;
|
# nerdfonts = nur.balsoft.pkgs.roboto-mono-nerd;
|
||||||
youtube-to-mpv = pkgs.callPackage ./applications/youtube-to-mpv.nix {};
|
youtube-to-mpv = pkgs.callPackage ./applications/youtube-to-mpv.nix {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user