moving toward a multi-machine configuration !

This commit is contained in:
boyreau 2026-08-01 20:29:56 +02:00
commit 4cef631a8c
18 changed files with 250 additions and 181 deletions

55
machines/niczos/users.nix Normal file
View 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;
};
}