made user files

This commit is contained in:
Leyla Becker 2024-03-10 04:28:47 -05:00
parent f3ef755042
commit 9418b91b4d
7 changed files with 137 additions and 119 deletions

23
users/ester/default.nix Normal file
View file

@ -0,0 +1,23 @@
{ lib, config, pkgs, ... }:
{
sops.secrets."passwords/ester" = {
neededForUsers = true;
# sopsFile = ../secrets.yaml;
};
# Define user accounts
users.users.ester = {
isNormalUser = true;
uid = 1001;
description = "Ester";
extraGroups = [ "networkmanager" ];
hashedPasswordFile = config.sops.secrets."passwords/ester".path;
packages = with pkgs; [
firefox
bitwarden
discord
];
};
}