Revert "tree-wide: remove nix-monitored"

This reverts commit da7e72db64.
This commit is contained in:
Primrose 2026-01-01 16:23:52 +01:00
parent efbb62df7e
commit 621944c7d2
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
4 changed files with 30 additions and 0 deletions

View file

@ -40,9 +40,12 @@ in
# use lix everywhere and wrap it with nom
../overlays/lix.nix
../overlays/nix-monitored.nix
];
};
nix.package = pkgs.nix-monitored;
system.nixos =
let
rev = lib.substring 0 8 sources.nixpkgs.revision;

View file

@ -45,9 +45,12 @@ in
# use lix everywhere and wrap it with nom
../overlays/lix.nix
../overlays/nix-monitored.nix
];
};
nix.package = pkgs.nix-monitored;
system.nixos =
let
rev = lib.substring 0 8 sources.nixpkgs.revision;

View file

@ -0,0 +1,10 @@
let
sources = import ../../npins;
in
# The final nix is lix in this case
final: prev: {
nix-monitored = sources.nix-monitored.asFlake.packages.${final.stdenv.hostPlatform.system}.default.override {
inherit (final) nix;
withNotify = false; # noisy, spams "command completed" even for nix shells
};
}

View file

@ -148,6 +148,20 @@
"url": "https://github.com/oxalica/nil/archive/504599f7e555a249d6754698473124018b80d121.tar.gz",
"hash": "1mzx60999jciq2ax1l5ajmks6fb3cmjavn7fsyh4aysvcdgzrj6p"
},
"nix-monitored": {
"type": "Git",
"repository": {
"type": "GitHub",
"owner": "ners",
"repo": "nix-monitored"
},
"branch": "master",
"submodules": false,
"revision": "60f3baa4701d58eab86c2d1d9c3d7e820074d461",
"url": "https://github.com/ners/nix-monitored/archive/60f3baa4701d58eab86c2d1d9c3d7e820074d461.tar.gz",
"hash": "1rdyjmxkvyqd5blbzbwfv2b99krx6rkpdzi1ckyby8i676gf9hv7",
"frozen": true
},
"nixos-hardware": {
"type": "Git",
"repository": {