made user files

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

6
users/default.nix Normal file
View file

@ -0,0 +1,6 @@
{...}:
{
imports = [ ./leyla ./ester ./eve ];
users.mutableUsers = false;
}

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
];
};
}

25
users/eve/default.nix Normal file
View file

@ -0,0 +1,25 @@
{ lib, config, pkgs, ... }:
{
sops.secrets."passwords/eve" = {
neededForUsers = true;
# sopsFile = ../secrets.yaml;
};
# Define user accounts
users.users.eve = {
isNormalUser = true;
uid = 1002;
description = "Eve";
extraGroups = [ "networkmanager" ];
hashedPasswordFile = config.sops.secrets."passwords/eve".path;
packages = with pkgs; [
firefox
bitwarden
discord
makemkv
signal-desktop
];
};
}

69
users/leyla/default.nix Normal file
View file

@ -0,0 +1,69 @@
{ lib, config, pkgs, ... }:
{
sops.secrets."passwords/leyla" = {
neededForUsers = true;
# sopsFile = ../secrets.yaml;
};
# Define user accounts
users.users.leyla = {
isNormalUser = true;
uid = 1000;
description = "Leyla";
extraGroups = [ "networkmanager" "wheel" ];
hashedPasswordFile = config.sops.secrets."passwords/leyla".path;
packages = with pkgs; [
iputils
dnsutils
git
firefox
signal-desktop
obsidian
bitwarden
vscodium
nextcloud-client
inkscape
steam
discord
rhythmbox
makemkv
protonvpn-gui
transmission-gtk
freecad
mupen64plus
dbeaver
easytag
cura
kicad-small
# jdk
# android-tools
# android-studio
androidStudioPackages.canary
jetbrains.idea-community
ungoogled-chromium
nodejs
exiftool
libreoffice
# N64 Emulator
mupen64plus
# GameCube Emulator and Wii Emulator
dolphin-emu
# Switch Emulator
yuzu-mainline
# Atari 2600 Emulator
stella
# mame Emulator
mame
# Game Boy Advanced Emulator
vbam
# NES Emulator
fceux
# SNES Emulator
zsnes
# DS Emulator
desmume
];
};
}