about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/alpha/configuration.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index 2495790..5253280 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -124,6 +124,14 @@
 
   hardware.bluetooth.enable = true;
 
+  services.printing.enable = true;
+  services.printing.drivers = [ pkgs.gutenprint pkgs.samsung-unified-linux-driver ];
+
+  nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem
+  (lib.getName pkg) [
+    "samsung-UnifiedLinuxDriver"
+  ];
+
   services.greetd = {
     enable = true;