diff options
| Commit | 27292f5b667074dc0a65b1d12111942edc398636 (patch) | |
|---|---|---|
| Author | 2023-10-25 11:13:24 +0300 | |
| Committer | 2023-10-25 11:13:24 +0300 | |
| Files | dc8d88d7db413ce498718af082caab43f93396a2 | |
| nix-27292f5b667074dc0a65b1d12111942edc398636.tar nix-27292f5b667074dc0a65b1d12111942edc398636.tar.gz nix-27292f5b667074dc0a65b1d12111942edc398636.zip | ||
| Parent | 6c31a20f5bff641d232627416f39b4a82260fb7f (diff) | |
[packages,configuration] scanner config
2 files changed, 5 insertions, 2 deletions
| -rw-r--r-- | configuration.nix | 3 | ||||
| -rw-r--r-- | packages.nix | 4 |
diff --git a/configuration.nix b/configuration.nix index 62f7c3e..0f6df9c 100644 --- a/configuration.nix +++ b/configuration.nix @@ -61,7 +61,7 @@ in { # Define a user account. Don't forget to set a password with ‘passwd’. users.users.kamen = { isNormalUser = true; - extraGroups = [ "wheel" "audio" "video" "input" "lpadmin" "libvirtd" ]; # Enable ‘sudo’ for the user. + extraGroups = [ "wheel" "audio" "video" "input" "lpadmin" "libvirtd" "lp" "scanner" ]; # Enable ‘sudo’ for the user. packages = [ ]; shell = pkgs.zsh; homeMode = "711"; # mostly done for httpd access @@ -92,6 +92,7 @@ in { system.stateVersion = "23.05"; # Did you read the comment? hardware.bluetooth.enable = true; + hardware.sane.enable = true; security.polkit.enable = true; boot.kernelModules = [ "kvm-intel" ]; diff --git a/packages.nix b/packages.nix index dedd1c2..beae012 100644 --- a/packages.nix +++ b/packages.nix @@ -2,6 +2,7 @@ let inherit (import ./sysidentity.nix) sysidentity; + unstable = import <nixos-unstable> { config.allowUnfree = true; }; tex = (pkgs.texlive.combine { inherit (pkgs.texlive) scheme-medium babel-bulgarian cyrillic cancel enumitem; @@ -59,7 +60,8 @@ in { devilspie2 sxhkd ]; laptop = [ - brightnessctl powertop upower libinput-gestures acpid tlp + brightnessctl powertop upower libinput-gestures acpid tlp epkowa + (unstable.epsonscan2.override { withNonFreePlugins = true; }) ]; juno = [ thinkfan xorg.xf86inputsynaptics |
