commit 38d4e437f6d8deb939487817eb73c4234d2dd4f9
parent 88bebb02df72065a3e0e41fd1da61c74f84ae49e
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 30 Oct 2020 15:19:52 +0100
systems/naruhodo: enable scanning…
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/systems/modules/profiles/scanning.nix b/systems/modules/profiles/scanning.nix
@@ -18,7 +18,7 @@ in
];
hardware.sane = {
enable = true;
- extraConfig = { "pixma" = "bjnp://192.168.12.70"; };
+ extraConfig = { "pixma" = "bjnp://192.168.1.16"; };
};
};
}
diff --git a/systems/naruhodo.nix b/systems/naruhodo.nix
@@ -64,6 +64,7 @@ in
virtualization = { enable = true; nested = true; };
docker.enable = true;
redhat.enable = true;
+ scanning.enable = true;
};
environment.systemPackages = with pkgs; [ virtmanager ];
diff --git a/users/vincent/default.nix b/users/vincent/default.nix
@@ -20,7 +20,8 @@ in
uid = 1000;
description = "Vincent Demeester";
extraGroups = [ "wheel" "input" ]
- ++ optionals config.profiles.desktop.enable [ "audio" "video" "lp" "scanner" "networkmanager" ]
+ ++ optionals config.profiles.desktop.enable [ "audio" "video" "networkmanager" ]
+ ++ optionals config.profiles.scanning.enable [ "lp" "scanner" ]
++ optionals config.networking.networkmanager.enable [ "networkmanager" ]
++ optionals config.profiles.docker.enable [ "docker" ]
++ optionals config.profiles.buildkit.enable [ "buildkit" ]