mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
removed settings.username
This commit is contained in:
parent
60206e95e1
commit
4f9c434347
11 changed files with 39 additions and 43 deletions
|
|
@ -1,6 +1,5 @@
|
|||
inputs: {
|
||||
pkgs,
|
||||
settings,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
|
|
@ -13,6 +12,7 @@ inputs: {
|
|||
DM = {
|
||||
lightdm.enable = true;
|
||||
autoLogin = true;
|
||||
loginUser = "jo";
|
||||
};
|
||||
DE.xfce.enable = true;
|
||||
theming = {
|
||||
|
|
@ -40,7 +40,7 @@ inputs: {
|
|||
users = {
|
||||
mutableUsers = false;
|
||||
users = {
|
||||
"${settings.username}" = {
|
||||
jo = {
|
||||
useDefaultShell = true;
|
||||
uid = 1000;
|
||||
isNormalUser = true;
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue