Move users out to individual files

This commit is contained in:
John Locke 2024-03-17 09:21:24 -07:00
parent 37fb17d123
commit 706f8ab58e
6 changed files with 36 additions and 11 deletions

11
users/jill.nix Normal file
View file

@ -0,0 +1,11 @@
{pkgs, ...}: {
# Define a user account. Don't forget to set a password with passwd.
users.users.jill = {
isNormalUser = true;
description = "Jill";
extraGroups = [ "networkmanager" "wheel" "docker" ];
shell = pkgs.fish;
};
}

11
users/john.nix Normal file
View file

@ -0,0 +1,11 @@
{pkgs, ...}: {
# Define a user account. Don't forget to set a password with passwd.
users.users.john = {
isNormalUser = true;
description = "John";
extraGroups = [ "networkmanager" "wheel" "docker" ];
shell = pkgs.fish;
};
}

9
users/owners.nix Normal file
View file

@ -0,0 +1,9 @@
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./john.nix
./jill.nix
];
}