add users subfolder to root

This commit is contained in:
Timothy DeHerrera 2019-12-15 00:06:28 -07:00
parent 95741bbfce
commit 598b90c2bc
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122
3 changed files with 25 additions and 1 deletions

View File

@ -4,7 +4,7 @@ let
in
{
imports = [
../profiles/develop
../users/nrd.nix
];

BIN
secrets/nrd Normal file

Binary file not shown.

24
users/nrd.nix Normal file
View 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"
];
};
}