Username become a variable
This commit is contained in:
parent
d566c9dd48
commit
89e223ca23
3 changed files with 6 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, username, ... }:
|
||||
{
|
||||
# Services
|
||||
services.pcscd.enable = true;
|
||||
|
@ -12,14 +12,10 @@
|
|||
# Configs
|
||||
fonts.fontconfig.enable = true;
|
||||
|
||||
users.users.ephase = {
|
||||
users.users.${username} = {
|
||||
shell = pkgs.zsh;
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "video" "wheel" ];
|
||||
home = "/home/ephase";
|
||||
packages = with pkgs; [
|
||||
remmina
|
||||
gcc
|
||||
];
|
||||
home = "/home/${username}";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue