From b3fde742e9119e6ff99a8cf32ce584b476f3b382 Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 23 Aug 2023 22:46:54 +0900 Subject: [PATCH] test --- home-manager/common/software/cli/bash.nix | 4 ++-- lib/default.nix | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/home-manager/common/software/cli/bash.nix b/home-manager/common/software/cli/bash.nix index a792b0d4..a9e1f4a5 100644 --- a/home-manager/common/software/cli/bash.nix +++ b/home-manager/common/software/cli/bash.nix @@ -96,8 +96,8 @@ nrb = "sudo nixos-rebuild build"; # Rebuild everything - rebuild-home = "home-manager switch -b backup --flake /etc/nixos/git"; - rebuild-host = "sudo nixos-rebuild switch --flake /etc/nixos/git"; + rebuild-home = "git -C /etc/nixos/git pull && home-manager switch -b backup --flake /etc/nixos/git"; + rebuild-host = "git -C /etc/nixos/git pull && sudo nixos-rebuild switch --flake /etc/nixos/git"; rebuild-all = "rebuild-home && rebuild-host"; }; }; diff --git a/lib/default.nix b/lib/default.nix index cfbcb56d..3b0edf21 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -18,6 +18,7 @@ ../nixos inputs.sops-nix.nixosModules.sops # Handle secrets inputs.lanzaboote.nixosModules.lanzaboote # SecureBoot Configuration + inputs.nur.nixosModules.nur # NixOS User Repository ] ++ (inputs.nixpkgs.lib.optionals (installer != null) [ installer ]); };