Use kicad from nixos-unstable-small
This commit is contained in:
parent
47e01bff98
commit
b7dce5eed5
17
flake.lock
17
flake.lock
|
@ -37,6 +37,22 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs-unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1638873506,
|
||||
"narHash": "sha256-BCZS7lDqQKgKbkTbmMtV8DI4MQDTCelbCI4f2FPjzAc=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "ebb7f07eec7dc57fc14acdc0b8206b4d4fe1da07",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-unstable-small",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"private": {
|
||||
"locked": {
|
||||
"lastModified": 1637382407,
|
||||
|
@ -57,6 +73,7 @@
|
|||
"inputs": {
|
||||
"home-manager": "home-manager",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||
"private": "private",
|
||||
"rustybar": "rustybar",
|
||||
"wip-pinebook-pro": "wip-pinebook-pro"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-21.11";
|
||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable-small";
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-21.11";
|
||||
|
@ -20,12 +21,13 @@
|
|||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, rustybar, private, wip-pinebook-pro, ... } @ inputs:
|
||||
outputs = { self, nixpkgs, home-manager, rustybar, private, wip-pinebook-pro, nixpkgs-unstable, ... } @ inputs:
|
||||
let
|
||||
makeSystem = conf: nixpkgs.lib.nixosSystem (nixpkgs.lib.recursiveUpdate conf
|
||||
rec {
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
pkgs-unstable = nixpkgs-unstable.legacyPackages."${conf.system}";
|
||||
};
|
||||
modules = [
|
||||
private.nixosModules.base
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, pkgs-unstable, ... }:
|
||||
let
|
||||
jlink = pkgs.callPackage ../externals/packages/jlink { };
|
||||
in
|
||||
|
@ -12,7 +12,7 @@ in
|
|||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
kicad-unstable
|
||||
pkgs-unstable.kicad-unstable
|
||||
openocd
|
||||
picocom
|
||||
stlink
|
||||
|
|
Loading…
Reference in a new issue