add unstable packages

This commit is contained in:
Rachel Lambda Samuelsson 2024-04-19 15:24:00 +02:00
parent 5b15769ad5
commit e51088400f
3 changed files with 22 additions and 2 deletions

View File

@ -130,6 +130,22 @@
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1713297878,
"narHash": "sha256-hOkzkhLT59wR8VaMbh1ESjtZLbGi+XNaBN6h49SPqEc=",
"owner": "NixOs",
"repo": "nixpkgs",
"rev": "66adc1e47f8784803f2deb6cacd5e07264ec2d5c",
"type": "github"
},
"original": {
"owner": "NixOs",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1711703276,
@ -152,6 +168,7 @@
"cornelis": "cornelis",
"home-manager": "home-manager",
"nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable",
"ssbm-nix": "ssbm-nix"
}
},

View File

@ -4,6 +4,7 @@
inputs = {
nixpkgs.url = "github:NixOs/nixpkgs/nixos-23.11";
nixpkgs-unstable.url = "github:NixOs/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager/release-23.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
agda.url = "github:agda/agda/v2.6.4.1";
@ -13,7 +14,7 @@
ssbm-nix.url = "github:lytedev/ssbm-nix";
};
outputs = { self, nixpkgs, home-manager, agda, cornelis, ssbm-nix }:
outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, agda, cornelis, ssbm-nix }:
let nix-config-module =
{
nix.registry.nixpkgs.flake = nixpkgs;
@ -28,6 +29,7 @@
useUserPackages = true;
users.rachel = import ./home/rachel.nix {
pkgs = pkgs;
unstable = nixpkgs-unstable.legacyPackages.${system};
agda = agda.packages.${system}.Agda;
cornelis = cornelis.packages.${system}.cornelis;
cornelis-vim = cornelis.packages.${system}.cornelis-vim;

View File

@ -1,4 +1,4 @@
{ pkgs, cornelis, cornelis-vim, agda, slippi-netplay, ... }:
{ pkgs, unstable, cornelis, cornelis-vim, agda, slippi-netplay, ... }:
let username = "rachel";
homeDir = "/home/${username}";
SAX2NF = import ../shared/sax2nf.nix { inherit pkgs; };
@ -85,6 +85,7 @@ in
whalebird
lean4
slippi-netplay
unstable.kicad
];
stateVersion = "23.11";
};