add users subfolder to root
This commit is contained in:
parent
95741bbfce
commit
598b90c2bc
|
@ -4,7 +4,7 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../profiles/develop
|
../users/nrd.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
BIN
secrets/nrd
Normal file
BIN
secrets/nrd
Normal file
Binary file not shown.
24
users/nrd.nix
Normal file
24
users/nrd.nix
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{ lib, ... }:
|
||||||
|
let
|
||||||
|
inherit (lib)
|
||||||
|
fileContents
|
||||||
|
;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../profiles/develop
|
||||||
|
];
|
||||||
|
|
||||||
|
users.users.nrd = {
|
||||||
|
uid = 1000;
|
||||||
|
description = "Timothy DeHerrera";
|
||||||
|
isNormalUser = true;
|
||||||
|
hashedPassword = fileContents ../secrets/nrd;
|
||||||
|
extraGroups = [
|
||||||
|
"wheel"
|
||||||
|
"input"
|
||||||
|
"networkmanager"
|
||||||
|
"adbusers"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue