about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/aptos/profile.nix4
-rw-r--r--profiles/desktop/default.nix6
2 files changed, 9 insertions, 1 deletions
diff --git a/hosts/aptos/profile.nix b/hosts/aptos/profile.nix
index a7f81f1..1ba221e 100644
--- a/hosts/aptos/profile.nix
+++ b/hosts/aptos/profile.nix
@@ -1,4 +1,8 @@
 { ... }: {
+
+  # Install tools related to the scanner (scanimage etc)
+  hardware.sane.enable = true;
+
   my.profiles = {
     # Laptop specific configuration
     laptop.enable = true;
diff --git a/profiles/desktop/default.nix b/profiles/desktop/default.nix
index 6b9f54b..494a7b3 100644
--- a/profiles/desktop/default.nix
+++ b/profiles/desktop/default.nix
@@ -7,7 +7,11 @@ in {
   config = lib.mkIf cfg.enable {
     my = {
       systems = { fonts.enable = true; };
-      services = { gnome.enable = true; };
+      services = {
+        gnome.enable = true;
+        # we need avahi in order to use the printer/scanner
+        avahi.enable = true;
+      };
       home = {
         emacs.enable = true;
         firefox.enable = true;