use niv and add device elias-e525
This commit is contained in:
parent
8fd7ece12c
commit
2e74a2172c
22 changed files with 572 additions and 20 deletions
14
shell.nix
14
shell.nix
|
@ -1,21 +1,23 @@
|
|||
{ ... }:
|
||||
|
||||
let
|
||||
channels-nixos-stable-path = (builtins.fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/dbacfa172f9a6399f180bcd0aef7998fdec0d55a.tar.gz);
|
||||
channels-nixos-stable = import channels-nixos-stable-path { overlays = builtins.attrValues (import ./nix/overlays); };
|
||||
pkgsPath = (import ./nix/sources.nix).nixpkgs;
|
||||
pkgs = import pkgsPath { overlays = builtins.attrValues (import ./nix/overlays); };
|
||||
|
||||
in
|
||||
with channels-nixos-stable;
|
||||
stdenv.mkDerivation {
|
||||
|
||||
pkgs.stdenv.mkDerivation {
|
||||
name = "infra-env";
|
||||
buildInputs = [
|
||||
(with import (channels-nixos-stable-path+"/nixos") { configuration = {}; }; with config.system.build; [ nixos-generate-config nixos-install nixos-enter manual.manpages ])
|
||||
(with import (pkgsPath+"/nixos") { configuration = {}; }; with config.system.build; [ nixos-generate-config nixos-install nixos-enter manual.manpages ])
|
||||
] ++ (with pkgs; [
|
||||
just
|
||||
git-crypt
|
||||
vcsh
|
||||
gnupg
|
||||
git
|
||||
nixUnstable
|
||||
niv
|
||||
|
||||
vncdo
|
||||
tesseract
|
||||
|
@ -28,7 +30,7 @@ stdenv.mkDerivation {
|
|||
sysstat
|
||||
lshw
|
||||
xxHash
|
||||
];
|
||||
]);
|
||||
|
||||
# Set Environment Variables
|
||||
RUST_BACKTRACE = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue