Move printing to separate set

This commit is contained in:
Artemis Tosini 2020-12-02 23:48:13 +00:00
parent b89c9e137b
commit 5cfb967412
Signed by: artemist
GPG key ID: ADFFE553DCBB831E
3 changed files with 11 additions and 6 deletions

View file

@ -55,12 +55,6 @@
udev.packages = [ udev.packages = [
(pkgs.callPackage ./externals/rules/uhk.nix { }) (pkgs.callPackage ./externals/rules/uhk.nix { })
]; ];
printing = {
enable = true;
drivers = [
(pkgs.pkgsi686Linux.callPackage ./externals/packages/hll2300d { })
];
};
}; };
hardware = { hardware = {

10
sets/printing.nix Normal file
View file

@ -0,0 +1,10 @@
{ pkgs, ... }:
{
services.printing = {
enable = true;
drivers = [
(pkgs.pkgsi686Linux.callPackage ../externals/packages/hll2300d { })
];
};
}

View file

@ -12,6 +12,7 @@
../../sets/hacking.nix ../../sets/hacking.nix
../../sets/hardware.nix ../../sets/hardware.nix
../../sets/neovim ../../sets/neovim
../../sets/printing.nix
../../sets/ssh.nix ../../sets/ssh.nix
../../sets/sway.nix ../../sets/sway.nix
../../sets/virtualization.nix ../../sets/virtualization.nix