mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-01 14:39:39 +00:00
Revert "tree-wide: remove nix-monitored"
This reverts commit da7e72db64.
This commit is contained in:
parent
efbb62df7e
commit
621944c7d2
4 changed files with 30 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
10
nix/overlays/nix-monitored.nix
Normal file
10
nix/overlays/nix-monitored.nix
Normal 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
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue