mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2026-03-19 15:50:30 +01:00
chore: move linux specific things to user-linux.nix
This commit is contained in:
parent
60a693cc91
commit
d3305f1e76
2 changed files with 50 additions and 21 deletions
22
modules/core/user-linux.nix
Normal file
22
modules/core/user-linux.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ username, ... }:
|
||||
{
|
||||
users.users.${username} = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"docker"
|
||||
"input"
|
||||
"dialout"
|
||||
"wheel"
|
||||
];
|
||||
initialPassword = "temporary-password";
|
||||
};
|
||||
|
||||
home-manager = {
|
||||
inherit username;
|
||||
homeDirectory = "/home/${username}";
|
||||
};
|
||||
|
||||
fonts.fontconfig.antialias = false;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue