diff options
author | lassulus <lassulus@lassul.us> | 2018-08-14 14:15:14 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2018-08-14 14:35:19 +0200 |
commit | f2874621756d03420ff427db496e9d6424cbd57c (patch) | |
tree | 42138aa737104035bd9cf454d1b4a29c57fa2671 /lass | |
parent | 136e005e7752fb948fe1c7106996e26dca39b432 (diff) |
l: split print stuff into print.nix
Diffstat (limited to 'lass')
-rw-r--r-- | lass/1systems/mors/config.nix | 1 | ||||
-rw-r--r-- | lass/2configs/baseX.nix | 8 | ||||
-rw-r--r-- | lass/2configs/print.nix | 10 |
3 files changed, 11 insertions, 8 deletions
diff --git a/lass/1systems/mors/config.nix b/lass/1systems/mors/config.nix index ad4f8a504..90e04cad1 100644 --- a/lass/1systems/mors/config.nix +++ b/lass/1systems/mors/config.nix @@ -33,6 +33,7 @@ with import <stockholm/lib>; <stockholm/lass/2configs/dunst.nix> <stockholm/lass/2configs/rtl-sdr.nix> <stockholm/lass/2configs/backup.nix> + <stockholm/lass/2configs/print.nix> { krebs.iptables.tables.filter.INPUT.rules = [ #risk of rain diff --git a/lass/2configs/baseX.nix b/lass/2configs/baseX.nix index 7d04827f0..d44e72bde 100644 --- a/lass/2configs/baseX.nix +++ b/lass/2configs/baseX.nix @@ -58,14 +58,6 @@ in { programs.ssh.startAgent = true; services.openssh.forwardX11 = true; - services.printing = { - enable = true; - drivers = [ - pkgs.foomatic_filters - pkgs.gutenprint - ]; - }; - environment.systemPackages = with pkgs; [ acpi ag diff --git a/lass/2configs/print.nix b/lass/2configs/print.nix new file mode 100644 index 000000000..e2d021641 --- /dev/null +++ b/lass/2configs/print.nix @@ -0,0 +1,10 @@ +{ pkgs, ... }: +{ + services.printing = { + enable = true; + drivers = [ + pkgs.foomatic_filters + pkgs.gutenprint + ]; + }; +} |