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" "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": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1711703276, "lastModified": 1711703276,
@ -152,6 +168,7 @@
"cornelis": "cornelis", "cornelis": "cornelis",
"home-manager": "home-manager", "home-manager": "home-manager",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable",
"ssbm-nix": "ssbm-nix" "ssbm-nix": "ssbm-nix"
} }
}, },

View File

@ -4,6 +4,7 @@
inputs = { inputs = {
nixpkgs.url = "github:NixOs/nixpkgs/nixos-23.11"; 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.url = "github:nix-community/home-manager/release-23.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
agda.url = "github:agda/agda/v2.6.4.1"; agda.url = "github:agda/agda/v2.6.4.1";
@ -13,7 +14,7 @@
ssbm-nix.url = "github:lytedev/ssbm-nix"; 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 = let nix-config-module =
{ {
nix.registry.nixpkgs.flake = nixpkgs; nix.registry.nixpkgs.flake = nixpkgs;
@ -28,6 +29,7 @@
useUserPackages = true; useUserPackages = true;
users.rachel = import ./home/rachel.nix { users.rachel = import ./home/rachel.nix {
pkgs = pkgs; pkgs = pkgs;
unstable = nixpkgs-unstable.legacyPackages.${system};
agda = agda.packages.${system}.Agda; agda = agda.packages.${system}.Agda;
cornelis = cornelis.packages.${system}.cornelis; cornelis = cornelis.packages.${system}.cornelis;
cornelis-vim = cornelis.packages.${system}.cornelis-vim; 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"; let username = "rachel";
homeDir = "/home/${username}"; homeDir = "/home/${username}";
SAX2NF = import ../shared/sax2nf.nix { inherit pkgs; }; SAX2NF = import ../shared/sax2nf.nix { inherit pkgs; };
@ -85,6 +85,7 @@ in
whalebird whalebird
lean4 lean4
slippi-netplay slippi-netplay
unstable.kicad
]; ];
stateVersion = "23.11"; stateVersion = "23.11";
}; };