update toaster to unstable

This commit is contained in:
Grisha Shipunov 2025-03-18 21:34:07 +01:00
parent b729d2f7d9
commit 0c8d583aca
7 changed files with 51 additions and 116 deletions

View file

@ -1,7 +1,5 @@
{
lib,
pkgs,
inputs,
...
}:
{
@ -16,14 +14,10 @@
# nix output-monitor
environment.systemPackages = [ pkgs.nix-output-monitor ];
# override default nix shell nixpkgs# behaviour to use current flake lock
nix.registry =
let
flakes = lib.filterAttrs (_name: value: value ? outputs) inputs.self.inputs;
in
builtins.mapAttrs (_name: v: { flake = v; }) flakes;
nix.nixPath = lib.mapAttrsToList (name: value: "${name}=${value.outPath}") inputs.self.inputs;
nixpkgs.flake = {
setFlakeRegistry = true;
setNixPath = true;
};
nixpkgs.config.allowUnfree = true;
}