removed settings.username

This commit is contained in:
Gerg-L 2023-04-21 10:15:15 -04:00
parent 60206e95e1
commit 4f9c434347
11 changed files with 39 additions and 43 deletions

View file

@ -1,15 +1,11 @@
_: {
pkgs,
settings,
...
}: {
_: {pkgs, ...}: {
nixpkgs.allowedUnfree = ["hplip"];
environment.systemPackages = [
pkgs.gimp
(pkgs.xsane.override {gimpSupport = true;})
pkgs.libreoffice
];
users.users."${settings.username}".extraGroups = ["scanner" "lp" "cups"];
users.users.jo.extraGroups = ["scanner" "lp" "cups"];
hardware.sane = {
enable = true;
extraBackends = [pkgs.hplipWithPlugin];