feat: add scf user to yoga
This commit is contained in:
parent
5687d00100
commit
ec0e3552fb
@ -92,6 +92,7 @@
|
||||
./users.nix
|
||||
./machines/yoga/configuration.nix
|
||||
./machines/yoga/hardware-configuration.nix
|
||||
./machines/yoga/users.nix
|
||||
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
@ -104,6 +105,11 @@
|
||||
./machines/yoga/home-${user}.nix
|
||||
];
|
||||
};
|
||||
home-manager.users.scf = {
|
||||
imports = [
|
||||
./machines/yoga/home-scf.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
4
machines/yoga/home-scf.nix
Normal file
4
machines/yoga/home-scf.nix
Normal file
@ -0,0 +1,4 @@
|
||||
{ config, lib, pkgs, user, ... }:
|
||||
|
||||
{ }
|
||||
|
17
machines/yoga/users.nix
Normal file
17
machines/yoga/users.nix
Normal 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/";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user