From 7c04c05f8dfb72d23b5ba20775a27b27e465d5aa Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Mon, 30 Sep 2024 07:51:09 +0200 Subject: t14: 44 current 2024-09-30 07:51:02 24.05.20240928.fbca5e7 6.6.52 * --- machines/t14/default.nix | 2 ++ rebuild.sh | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/machines/t14/default.nix b/machines/t14/default.nix index f258a4c..6f54611 100644 --- a/machines/t14/default.nix +++ b/machines/t14/default.nix @@ -47,6 +47,8 @@ # enableSSHSupport = true; # }; + services.printing.drivers = with pkgs; [ cnijfilter2 ]; + # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; diff --git a/rebuild.sh b/rebuild.sh index b6d05a0..eaae8a9 100755 --- a/rebuild.sh +++ b/rebuild.sh @@ -49,7 +49,9 @@ cat nixos-switch.log | grep --color error && exit 1 current=$(nixos-rebuild list-generations | grep current) # Commit all changes witih the generation metadata -$FORCE +if $FORCE; then + exit 0 +fi git commit -am "$(hostname): $current" # Back to where you were -- cgit 1.4.1