Move more packages into sets
This commit is contained in:
parent
a3911022e5
commit
07705b4dca
|
@ -136,11 +136,7 @@ in
|
|||
llvm.clang
|
||||
llvm.lld
|
||||
nasm
|
||||
nixpkgs-fmt
|
||||
nodejs
|
||||
patchelf
|
||||
python37Packages.python-language-server
|
||||
rnix-lsp
|
||||
rustup
|
||||
valgrind
|
||||
yarn
|
||||
|
|
2
private
2
private
|
@ -1 +1 @@
|
|||
Subproject commit 2075554bdfc0515af6990199514a82bb74ac533f
|
||||
Subproject commit 23bbfd25c49e4eeb2e2127c1dd73c97db330b1ba
|
|
@ -1,26 +1,21 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
openocd = if pkgs.stdenv.cc.isGNU then (pkgs.openocd.overrideAttrs ( old: {
|
||||
NIX_CFLAGS_COMPILE = old.NIX_CFLAGS_COMPILE ++ [ "-Wno-error=strict-prototypes" ];
|
||||
})) else pkgs.openocd;
|
||||
in
|
||||
{
|
||||
services.udev.packages = [
|
||||
(pkgs.callPackage ../externals/rules/adafruit.nix { })
|
||||
(pkgs.callPackage ../externals/rules/limesuite.nix { })
|
||||
openocd
|
||||
];
|
||||
{
|
||||
services.udev.packages = [
|
||||
(pkgs.callPackage ../externals/rules/adafruit.nix { })
|
||||
(pkgs.callPackage ../externals/rules/limesuite.nix { })
|
||||
pkgs.openocd
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
kicad-unstable
|
||||
openocd
|
||||
stlink
|
||||
(callPackage ../externals/packages/jlink { })
|
||||
];
|
||||
environment.systemPackages = with pkgs; [
|
||||
kicad-unstable
|
||||
openocd
|
||||
stlink
|
||||
(callPackage ../externals/packages/jlink { })
|
||||
];
|
||||
|
||||
users = {
|
||||
users.artemis.extraGroups = [ "plugdev" "dialout" ];
|
||||
extraGroups.plugdev = {};
|
||||
};
|
||||
}
|
||||
users = {
|
||||
users.artemis.extraGroups = [ "plugdev" "dialout" ];
|
||||
extraGroups.plugdev = {};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -26,4 +26,12 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
nixpkgs-fmt
|
||||
nodejs
|
||||
python3Packages.python-language-server
|
||||
rnix-lsp
|
||||
rust-analyzer
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue