feat: add scf user to yoga

main
mandlm 2022-08-31 16:02:22 +02:00
parent 5687d00100
commit ec0e3552fb
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
3 changed files with 27 additions and 0 deletions

View File

@ -92,6 +92,7 @@
./users.nix ./users.nix
./machines/yoga/configuration.nix ./machines/yoga/configuration.nix
./machines/yoga/hardware-configuration.nix ./machines/yoga/hardware-configuration.nix
./machines/yoga/users.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
@ -104,6 +105,11 @@
./machines/yoga/home-${user}.nix ./machines/yoga/home-${user}.nix
]; ];
}; };
home-manager.users.scf = {
imports = [
./machines/yoga/home-scf.nix
];
};
} }
]; ];
}; };

View File

@ -0,0 +1,4 @@
{ config, lib, pkgs, user, ... }:
{ }

17
machines/yoga/users.nix Normal file
View File

@ -0,0 +1,17 @@
{ config, pkgs, ... }:
{
users = {
mutableUsers = false;
users.scf = {
isNormalUser = true;
uid = 1666;
home = "/home/scf";
shell = pkgs.zsh;
extraGroups = [ "networkmanager" "audio" "video" "input" ];
hashedPassword = "$6$g83odibuCd5n67PJ$CZ/Z/11zUdBIQ86DEkdi2G1JnEkLYR/YZUPcMXKAb6GNUX7BjlUUVFAstbTRe3WEK.lg9h5/oqwSvmbJMcUt6/";
};
};
}