change username to a global var
This commit is contained in:
parent
f080989d8b
commit
d17afc3fb3
6 changed files with 9 additions and 11 deletions
|
@ -1,7 +1,5 @@
|
|||
{ pkgs, inputs, ...}:
|
||||
{ pkgs, inputs, username, ...}:
|
||||
let
|
||||
name = "FrostPhoenix";
|
||||
username = "frostphoenix";
|
||||
packages = with pkgs; [
|
||||
fish
|
||||
];
|
||||
|
@ -23,7 +21,7 @@ in
|
|||
|
||||
users.users.${username} = {
|
||||
isNormalUser = true;
|
||||
description = name;
|
||||
description = ${username};
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue