From 21f3477e67ae4ef557d9b829cad3649373109c23 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Mon, 4 Dec 2023 17:24:24 +0100 Subject: [PATCH] Remove nix-output-monitor It looks nice but causes some problems with tmux and doesn't work properly on 23.11 for me. --- home-manager/modules/common/default.nix | 3 +-- home-manager/profiles/work-wsl.nix | 6 ++++-- shell.nix | 1 - 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/home-manager/modules/common/default.nix b/home-manager/modules/common/default.nix index 2ba7b00..7aa0fb5 100644 --- a/home-manager/modules/common/default.nix +++ b/home-manager/modules/common/default.nix @@ -79,7 +79,7 @@ format-modules = "nixpkgs-fmt **/*.nix"; nix-generations = "sudo nix-env --list-generations --profile /nix/var/nix/profiles/system"; rebuild = '' - nixos-rebuild -j auto switch --use-remote-sudo |& nom + nixos-rebuild -j auto switch --use-remote-sudo ''; htop = "btm"; find-garbage = "ls -l /nix/var/nix/gcroots/auto/ | sort | grep '/home/'"; @@ -95,7 +95,6 @@ killall ncdu nixpkgs-fmt - nix-output-monitor nmon tree unzip diff --git a/home-manager/profiles/work-wsl.nix b/home-manager/profiles/work-wsl.nix index a50599a..6cfb18d 100644 --- a/home-manager/profiles/work-wsl.nix +++ b/home-manager/profiles/work-wsl.nix @@ -59,10 +59,12 @@ shellAliases = { work-management = "mosh --ssh='ssh -i ~/.ssh/zweili.key' zweili@10.49.0.100 -- tmux new -A -s 0"; work-vm = ''ssh andreas@localhost -p 2222 -t "$@" "tmux new -A -s 0"''; - hm-rebuild = "home-manager switch |& nom"; + rebuild = "home-manager switch"; }; }; }; services.emacs.package = pkgs.emacs29-pgtk; - systemd.user.startServices = "suggest"; + systemd.user.startServices = " suggest "; } + + diff --git a/shell.nix b/shell.nix index 6209896..8721cec 100644 --- a/shell.nix +++ b/shell.nix @@ -4,7 +4,6 @@ pkgs.mkShell { nativeBuildInputs = with pkgs; [ git nixFlakes - nix-output-monitor python310 python310Packages.black python310Packages.mypy