From a213d96da800b91e264fcb0e1ee8634efe68ce9f Mon Sep 17 00:00:00 2001 From: fleaz Date: Wed, 26 Jan 2022 18:13:44 +0100 Subject: [PATCH] machines/jimbo: Add avahi and printing for ML-2010 --- machines/jimbo/configuration.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/machines/jimbo/configuration.nix b/machines/jimbo/configuration.nix index 73ec596..b054997 100644 --- a/machines/jimbo/configuration.nix +++ b/machines/jimbo/configuration.nix @@ -11,7 +11,7 @@ in { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix - "${home-manager}/nixos" + ../../home-manager/default.nix ]; # Use the systemd-boot EFI boot loader. @@ -46,6 +46,13 @@ in { networking.useDHCP = false; networking.networkmanager.enable = true; + services.avahi = { + nssmdns = true; + enable = true; + ipv4 = true; + ipv6 = true; +}; + hardware.opengl = { enable = true; driSupport = true; @@ -65,6 +72,7 @@ in { # Enable CUPS to print documents. services.printing.enable = true; + services.printing.drivers = [ pkgs.splix ]; # Enable sound. security.rtkit.enable = true; @@ -86,7 +94,8 @@ in { }; # List packages installed in system profile. To search, run: - environment.systemPackages = with pkgs; [ vim wget curl git ]; + environment.systemPackages = with pkgs; [ vim wget curl git +]; services.openssh.enable = true; programs.ssh.startAgent = true;