From d47b43f664c3dcd2f5b5ecfe20e0947dda015deb Mon Sep 17 00:00:00 2001 From: ulic-youthlic Date: Thu, 23 Jan 2025 23:26:34 +0800 Subject: [PATCH] add spacer for more human-readable log --- Justfile | 5 ++++- home/david/modules/default.nix | 7 ++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Justfile b/Justfile index 1b6d070..6720300 100644 --- a/Justfile +++ b/Justfile @@ -6,7 +6,10 @@ default: switch: nh os switch {{FLAKE_HOME}} update: - nix flake update + nix flake update | spacer +push host target: + nixos-rebuild switch --flake {{FLAKE_HOME}}#{{host}} --target-host {{target}} | spacer alias s := switch alias u := update +alias p := push diff --git a/home/david/modules/default.nix b/home/david/modules/default.nix index 888d809..989300c 100644 --- a/home/david/modules/default.nix +++ b/home/david/modules/default.nix @@ -1,6 +1,11 @@ -{ ... }: +{ pkgs, ... }: { imports = [ ./wallpaper ]; + config = { + home.packages = with pkgs; [ + spacer + ]; + }; }