diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2024-09-30 07:51:09 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2024-09-30 07:51:09 +0200 |
commit | 7c04c05f8dfb72d23b5ba20775a27b27e465d5aa (patch) | |
tree | 0fe6c1a1e382c0e0e26ff2f9b2357859c44fb315 | |
parent | 0c733ee356748d8a35b6170357a6da2631b1b449 (diff) | |
download | dots-7c04c05f8dfb72d23b5ba20775a27b27e465d5aa.tar.gz dots-7c04c05f8dfb72d23b5ba20775a27b27e465d5aa.zip |
t14: 44 current 2024-09-30 07:51:02 24.05.20240928.fbca5e7 6.6.52 *
-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 |