From 692e3f5ccb9e7c1a2e39ac6c31ebd8c8f285864a Mon Sep 17 00:00:00 2001 From: xqtc161 Date: Mon, 1 Jul 2024 20:36:17 +0200 Subject: [PATCH] Some debugging --- home/modules/home-pkgs.nix | 4 ++-- justfile | 12 +++++++++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/home/modules/home-pkgs.nix b/home/modules/home-pkgs.nix index 77d5a64..61da2b2 100644 --- a/home/modules/home-pkgs.nix +++ b/home/modules/home-pkgs.nix @@ -11,6 +11,7 @@ pkgs.protonup-qt pkgs.via pkgs.telegram-desktop + pkgs.jetbrains.rust-rover # pkgs.ida-free # pkgs.yubioath-flutter # pkgs.spotify @@ -29,6 +30,7 @@ in { pkgs.ranger pkgs.just + pkgs.fzf pkgs.catppuccin-kde @@ -68,8 +70,6 @@ in { pkgs.imhex pkgs.ghidra - pkgs.jetbrains.rust-rover - pkgs.nerdfonts pkgs.ipafont diff --git a/justfile b/justfile index 63b4aca..7ed281b 100644 --- a/justfile +++ b/justfile @@ -1,8 +1,18 @@ beleth-host := "root@88.99.90.90" beleth-user-host:= "xqtc@88.99.90.90" +default: + @just --choose + rebuild: - nh os switch . -- -vv + #!/usr/bin/env bash + HOSTNAME=$(hostname) + if [ $HOSTNAME == "alastor" ]; then + nh os switch . -- -vv --impure -j 4; + exit + fi + nh os switch . -- -vv --impure -j 4; + beleth: nixos-rebuild switch --flake '.#beleth' --build-host {{beleth-host}} --target-host {{beleth-host}}