summaryrefslogtreecommitdiff
path: root/ilex/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ilex/configuration.nix')
-rw-r--r--ilex/configuration.nix25
1 files changed, 18 insertions, 7 deletions
diff --git a/ilex/configuration.nix b/ilex/configuration.nix
index 2fa26cd..d648adc 100644
--- a/ilex/configuration.nix
+++ b/ilex/configuration.nix
@@ -5,11 +5,26 @@
./hardware-configuration.nix
];
- networking.firewall.allowedTCPPorts = [ 5000 ];
+ specialisation.printing = {
+ configuration = {
+ services.avahi.enable = true;
+ services.avahi.nssmdns4 = true;
+ services.avahi.nssmdns6 = true;
+ services.ipp-usb.enable = true;
+ hardware.sane.enable = true;
+ users.users.stuebinm.extraGroups = [ "scanner" "lp" ];
+ };
+ inheritParentConfig = true;
+ };
+
+ services.tailscale.enable = true;
+
+ networking.firewall.allowedTCPPorts = [ 5000 14054 ];
+ networking.firewall.allowedUDPPorts = [ 9100 9103 ];
boot.kernelPackages =
pkgs.linuxKernel.packageAliases.linux_latest;
- hardware.opengl.driSupport32Bit = true;
+ hardware.graphics.enable32Bit = true;
hardware.bluetooth.enable = true;
services.blueman.enable = true;
@@ -55,13 +70,9 @@
host all all 127.0.0.1/32 trust
host all all ::1/127 trust
'';
+ extensions = ps: [ ps.postgis ];
};
- # services.redis.servers."bookwyrm" = {
- # enable = true;
- # port = 6379;
- # };
-
services.tlp = {
enable = true;
settings = {