Computer's in mom's house
This commit is contained in:
parent
a82c2233e5
commit
a6295e40eb
6 changed files with 26 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
8
common/moms-house/default.nix
Normal file
8
common/moms-house/default.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./sshd-home.nix
|
||||
./printer.nix
|
||||
];
|
||||
}
|
||||
16
common/moms-house/printer.nix
Normal file
16
common/moms-house/printer.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
|
|
@ -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
|
||||
];
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue