moving toward a multi-machine configuration !
This commit is contained in:
parent
6cc7df17a7
commit
4cef631a8c
18 changed files with 250 additions and 181 deletions
55
machines/niczos/users.nix
Normal file
55
machines/niczos/users.nix
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{ pkgs, ... }:
|
||||
let
|
||||
source = import /etc/nixos/npins;
|
||||
home-manager = source.home-manager;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
(import "${home-manager}/nixos")
|
||||
];
|
||||
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
||||
users.users.zo = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"audio"
|
||||
"video"
|
||||
"network"
|
||||
"docker"
|
||||
];
|
||||
packages = [ pkgs.home-manager ];
|
||||
shell = pkgs.bash;
|
||||
};
|
||||
|
||||
users.users.raphou406 = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
"audio"
|
||||
"video"
|
||||
"network"
|
||||
];
|
||||
shell = pkgs.bash;
|
||||
};
|
||||
|
||||
users.users.flake = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
"audio"
|
||||
"video"
|
||||
"network"
|
||||
];
|
||||
shell = pkgs.bash;
|
||||
};
|
||||
|
||||
users.users.ella = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
"audio"
|
||||
"video"
|
||||
"network"
|
||||
];
|
||||
shell = pkgs.bash;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue