Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
2 files changed, 5 insertions, 2 deletions
-rw-r--r--configuration.nix3
-rw-r--r--packages.nix4
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