about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-24 12:36:08 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-24 12:36:08 -0700
commitf9aa731439483cbce66f79949e0343d978aaaabf (patch)
tree5ea6dd651ad95a9dbcdde92f920df930764104e9
parentgcloud: add google-cloud-sdk on trusted hosts (diff)
downloadworld-f9aa731439483cbce66f79949e0343d978aaaabf.tar.gz
scanner: install tools on the laptop
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;