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"
|
"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": {
|
"private": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1637382407,
|
"lastModified": 1637382407,
|
||||||
|
@ -57,6 +73,7 @@
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
"private": "private",
|
"private": "private",
|
||||||
"rustybar": "rustybar",
|
"rustybar": "rustybar",
|
||||||
"wip-pinebook-pro": "wip-pinebook-pro"
|
"wip-pinebook-pro": "wip-pinebook-pro"
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-21.11";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-21.11";
|
||||||
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable-small";
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager/release-21.11";
|
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
|
let
|
||||||
makeSystem = conf: nixpkgs.lib.nixosSystem (nixpkgs.lib.recursiveUpdate conf
|
makeSystem = conf: nixpkgs.lib.nixosSystem (nixpkgs.lib.recursiveUpdate conf
|
||||||
rec {
|
rec {
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
|
pkgs-unstable = nixpkgs-unstable.legacyPackages."${conf.system}";
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
private.nixosModules.base
|
private.nixosModules.base
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, pkgs-unstable, ... }:
|
||||||
let
|
let
|
||||||
jlink = pkgs.callPackage ../externals/packages/jlink { };
|
jlink = pkgs.callPackage ../externals/packages/jlink { };
|
||||||
in
|
in
|
||||||
|
@ -12,7 +12,7 @@ in
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
kicad-unstable
|
pkgs-unstable.kicad-unstable
|
||||||
openocd
|
openocd
|
||||||
picocom
|
picocom
|
||||||
stlink
|
stlink
|
||||||
|
|
Loading…
Reference in a new issue