Computer's in mom's house

This commit is contained in:
Benson Chu 2024-01-08 16:09:49 -06:00
parent a82c2233e5
commit a6295e40eb
6 changed files with 26 additions and 5 deletions

View file

@ -41,9 +41,6 @@
LC_TIME = "en_US.UTF-8";
};
# Enable CUPS to print documents.
services.printing.enable = true;
# Enable sound with pipewire.
sound.enable = true;
hardware.pulseaudio.enable = false;

View file

@ -0,0 +1,8 @@
{ ... }:
{
imports = [
./sshd-home.nix
./printer.nix
];
}

View file

@ -0,0 +1,16 @@
{ config, pkgs, ... }:
{
# Enable CUPS to print documents.
services.printing = {
enable = true;
drivers = with pkgs; [ brlaser brgenml1lpr brgenml1cupswrapper ];
};
# Enable auto-discovery of printers
services.avahi = {
enable = true;
nssmdns = true;
openFirewall = true;
};
}

View file

@ -10,7 +10,7 @@ in
imports =
[
../../common/configuration.nix
../../common/sshd-home.nix
../../common/moms-house
# Include the results of the hardware scan.
./hardware-configuration.nix
];

View file

@ -12,7 +12,7 @@ in
[
../../common/configuration.nix
../../common/lxd-setup.nix
../../common/sshd-home.nix
../../common/moms-house
../../common/exwm.nix
# Include the results of the hardware scan.
./hardware-configuration.nix