Move users out to individual files
This commit is contained in:
parent
37fb17d123
commit
706f8ab58e
6 changed files with 36 additions and 11 deletions
11
users/jill.nix
Normal file
11
users/jill.nix
Normal 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
11
users/john.nix
Normal 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
9
users/owners.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./john.nix
|
||||
./jill.nix
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue