l: split print stuff into print.nix

This commit is contained in:
lassulus 2018-08-14 14:15:14 +02:00
parent 136e005e77
commit f287462175
3 changed files with 11 additions and 8 deletions

View File

@ -33,6 +33,7 @@ with import <stockholm/lib>;
<stockholm/lass/2configs/dunst.nix> <stockholm/lass/2configs/dunst.nix>
<stockholm/lass/2configs/rtl-sdr.nix> <stockholm/lass/2configs/rtl-sdr.nix>
<stockholm/lass/2configs/backup.nix> <stockholm/lass/2configs/backup.nix>
<stockholm/lass/2configs/print.nix>
{ {
krebs.iptables.tables.filter.INPUT.rules = [ krebs.iptables.tables.filter.INPUT.rules = [
#risk of rain #risk of rain

View File

@ -58,14 +58,6 @@ in {
programs.ssh.startAgent = true; programs.ssh.startAgent = true;
services.openssh.forwardX11 = true; services.openssh.forwardX11 = true;
services.printing = {
enable = true;
drivers = [
pkgs.foomatic_filters
pkgs.gutenprint
];
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
acpi acpi
ag ag

10
lass/2configs/print.nix Normal file
View File

@ -0,0 +1,10 @@
{ pkgs, ... }:
{
services.printing = {
enable = true;
drivers = [
pkgs.foomatic_filters
pkgs.gutenprint
];
};
}