diff --git a/hosts/weebill/default.nix b/hosts/weebill/default.nix index 411b0c1..78b7017 100644 --- a/hosts/weebill/default.nix +++ b/hosts/weebill/default.nix @@ -13,24 +13,19 @@ }; }; - # Root filesystem. fileSystems = { + # Root filesystem. "/" = { device = "/dev/disk/by-label/NIXOS_SD"; fsType = "ext4"; options = ["noatime"]; }; - }; - # Printer Sharing. - services.printing = { - enable = true; - drivers = [pkgs.cups-dymo]; # Dymo label printer. - listenAddresses = ["*:631"]; - allowFrom = ["all"]; - browsing = true; - defaultShared = true; - openFirewall = true; + # AFP share. + "/srv/iMac" = { + device = "/dev/disk/by-uuid/48843b25-4d8c-4638-a5f8-fb3901e1165e"; + fsType = "ext4"; + }; }; # Enable WebOne HTTP proxy. @@ -51,21 +46,12 @@ }; }; - systemd.tmpfiles.settings = { - "10-netatalk" = { - "/srv/netatalk" = { - d = { - group = "users"; - mode = "0755"; - user = "fern"; - }; - }; - }; - }; - # Open ports for services. networking.firewall = { - allowedUDPPorts = [53 67]; # DHCP server. + allowedUDPPorts = [ + 53 # DHCP server. + 67 # DHCP server. + ]; allowedTCPPorts = [8080 548]; # WebOne & Netatalk. }; } diff --git a/suites/desktop/default.nix b/suites/desktop/default.nix index e6937b1..c4ad504 100755 --- a/suites/desktop/default.nix +++ b/suites/desktop/default.nix @@ -314,12 +314,6 @@ with lib; { drivers = [pkgs.brlaser pkgs.cups-dymo]; # Brother laser printer & Dymo label printer. }; - # Scanner drivers. - hardware.sane = { - enable = true; - extraBackends = [pkgs.cnijfilter2]; - }; - # https://github.com/tailscale/tailscale/issues/4432#issuecomment-1112819111 networking.firewall.checkReversePath = false;