ctucx.git: nixfiles

ctucx' nixfiles

commit 6cbf1e3aef5b38ea34da53a5abe64fe2a5c08928
parent 7a1e0963ffb4a33d63a86440d1817baf8bc75094
Author: Leah (ctucx) <git@ctu.cx>
Date: Sat, 26 Nov 2022 16:02:46 +0100

machines/lollo: remove `airsane`
2 files changed, 1 insertion(+), 19 deletions(-)
diff --git a/machines/lollo/airsane.nix b/machines/lollo/airsane.nix
@@ -1,17 +0,0 @@
-{ pkgs, ... }:
-
-{
-
-  users.users.leah.extraGroups  = [ "scanner" "lp" ];
-
-  environment.systemPackages    = [ pkgs.AirSane ];
-
-  hardware.sane.enable  = true;
-  services.saned.enable = true;
-  services.avahi = {
-    enable               = true;
-    publish.enable       = true;
-    publish.userServices = true;
-  };
-
-}
diff --git a/machines/lollo/configuration.nix b/machines/lollo/configuration.nix
@@ -25,7 +25,6 @@
     ./radicale.nix
 
     ./scanner-sftp.nix
-    ./airsane.nix
 
     ./remote-admin.nix
   ];

@@ -39,7 +38,7 @@
     efi.canTouchEfiVariables = true;
   };
 
-  dns.zones."ctu.cx".subdomains.lollo = (pkgs.dns.lib.combinators.host "195.39.246.41" "2a0f:4ac0:acab::1");
+  dns.zones."ctu.cx".subdomains."${config.networking.hostName}" = (pkgs.dns.lib.combinators.host "195.39.246.41" "2a0f:4ac0:acab::1");
 
   services.email-notify.enable = true;