home: jj: use unstable package

Gotta get the latest version!
This commit is contained in:
Antoine Martin 2025-12-17 17:52:22 +01:00
parent 968e0f2e26
commit 24b7435c7b
3 changed files with 11 additions and 11 deletions

12
flake.lock generated
View file

@ -155,18 +155,18 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-unstable-small": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1742541432, "lastModified": 1765779637,
"narHash": "sha256-hPzDbmo3T64R1rt8i8WonR/4VrSbE8ZxY6wFIguC4sc=", "narHash": "sha256-KJ2wa/BLSrTqDjbfyNx70ov/HdgNBCBBSQP3BIzKnv4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "fa6ab1d7fdf29a4ff0ac65f01ffdaea84f105280", "rev": "1306659b587dc277866c7b69eb97e5f07864d8c4",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-unstable-small", "ref": "nixos-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -211,7 +211,7 @@
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_3",
"nixpkgs-unstable-small": "nixpkgs-unstable-small" "nixpkgs-unstable": "nixpkgs-unstable"
} }
}, },
"systems": { "systems": {

View file

@ -8,11 +8,11 @@
ref = "nixos-25.11"; ref = "nixos-25.11";
}; };
nixpkgs-unstable-small = { nixpkgs-unstable = {
type = "github"; type = "github";
owner = "NixOS"; owner = "NixOS";
repo = "nixpkgs"; repo = "nixpkgs";
ref = "nixos-unstable-small"; ref = "nixos-unstable";
}; };
agenix = { agenix = {
@ -70,7 +70,7 @@
}; };
nix-registry = { nix-registry = {
nix.registry.nixpkgs.flake = nixpkgs; nix.registry.nixpkgs.flake = nixpkgs;
nix.registry.unstable.flake = inputs.nixpkgs-unstable-small; nix.registry.unstable.flake = inputs.nixpkgs-unstable;
}; };
}; };
@ -84,7 +84,7 @@
packages = import ./pkgs {pkgs = super;}; packages = import ./pkgs {pkgs = super;};
# packages accessible through pkgs.unstable.package # packages accessible through pkgs.unstable.package
unstable = import inputs.nixpkgs-unstable-small { unstable = import inputs.nixpkgs-unstable {
inherit system; inherit system;
config.allowUnfree = true; config.allowUnfree = true;
}; };

View file

@ -1,6 +1,6 @@
{pkgs, ...}: { {pkgs, ...}: {
home.packages = [ home.packages = [
pkgs.jujutsu pkgs.unstable.jujutsu
]; ];
xdg.configFile = { xdg.configFile = {
"jj/config.toml".source = ./jj/config.toml; "jj/config.toml".source = ./jj/config.toml;