feat(nix): use nix-monitored
Automatically pipes all nix output through `nix-output-monitor` Deprecates the manual pipe in the `rebuild` script
This commit is contained in:
parent
8feb5245ea
commit
ac66ed6530
4 changed files with 32 additions and 3 deletions
|
@ -118,6 +118,9 @@ rec {
|
|||
modules = [
|
||||
(lib.path.append root "configuration.nix")
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
{
|
||||
nixpkgs.overlays = builtins.attrValues outputs.overlays;
|
||||
}
|
||||
{
|
||||
home-manager = {
|
||||
useGlobalPkgs = false;
|
||||
|
@ -154,6 +157,9 @@ rec {
|
|||
modules = [
|
||||
(lib.path.append root "configuration.nix")
|
||||
{ nix.registry.nixpkgs.flake = nixpkgs; }
|
||||
{
|
||||
nixpkgs.overlays = builtins.attrValues outputs.overlays;
|
||||
}
|
||||
{
|
||||
home-manager = {
|
||||
config = (lib.path.append root "home.nix");
|
||||
|
@ -183,6 +189,12 @@ rec {
|
|||
|
||||
modules = [
|
||||
(lib.path.append root "configuration.nix")
|
||||
{
|
||||
nixpkgs.hostPlatform = system;
|
||||
}
|
||||
{
|
||||
nixpkgs.overlays = builtins.attrValues outputs.overlays;
|
||||
}
|
||||
inputs.home-manager.darwinModules.home-manager
|
||||
{
|
||||
home-manager = {
|
||||
|
@ -200,9 +212,8 @@ rec {
|
|||
}
|
||||
] ++ (builtins.attrValues nixDarwinModules);
|
||||
|
||||
inputs = {
|
||||
specialArgs = {
|
||||
inherit inputs outputs;
|
||||
inherit nixpkgs;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -211,6 +222,9 @@ rec {
|
|||
|
||||
modules = [
|
||||
(lib.path.append root "home.nix")
|
||||
{
|
||||
nixpkgs.overlays = builtins.attrValues outputs.overlays;
|
||||
}
|
||||
] ++ (builtins.attrValues homeManagerModules);
|
||||
|
||||
extraSpecialArgs = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue