diff options
-rw-r--r-- | machines/t14/default.nix | 2 | ||||
-rwxr-xr-x | rebuild.sh | 4 |
2 files changed, 5 insertions, 1 deletions
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 |