machines/jimbo: Add avahi and printing for ML-2010

This commit is contained in:
fleaz 2022-01-26 18:13:44 +01:00
parent 4954008d13
commit a213d96da8

View file

@ -11,7 +11,7 @@ in {
imports = [ imports = [
# Include the results of the hardware scan. # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
"${home-manager}/nixos" ../../home-manager/default.nix
]; ];
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
@ -46,6 +46,13 @@ in {
networking.useDHCP = false; networking.useDHCP = false;
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
services.avahi = {
nssmdns = true;
enable = true;
ipv4 = true;
ipv6 = true;
};
hardware.opengl = { hardware.opengl = {
enable = true; enable = true;
driSupport = true; driSupport = true;
@ -65,6 +72,7 @@ in {
# Enable CUPS to print documents. # Enable CUPS to print documents.
services.printing.enable = true; services.printing.enable = true;
services.printing.drivers = [ pkgs.splix ];
# Enable sound. # Enable sound.
security.rtkit.enable = true; security.rtkit.enable = true;
@ -86,7 +94,8 @@ in {
}; };
# List packages installed in system profile. To search, run: # 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; services.openssh.enable = true;
programs.ssh.startAgent = true; programs.ssh.startAgent = true;