modules/options: define shortcuts to primary user
The primary user gets defined in the user files through `user.name`, which is reused elsewhere.
This commit is contained in:
parent
19ecc15b59
commit
1e3547c2c2
2 changed files with 20 additions and 3 deletions
|
@ -10,7 +10,7 @@ in
|
|||
(with profiles; [ virtualization ])
|
||||
];
|
||||
|
||||
home-manager.users.infinidoge = { config, main, suites, profiles, ... }: {
|
||||
home = { config, main, suites, profiles, ... }: {
|
||||
imports = lib.flatten [
|
||||
(with suites; [
|
||||
base
|
||||
|
@ -104,11 +104,13 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
users.users.infinidoge = {
|
||||
user = {
|
||||
name = "infinidoge";
|
||||
uid = 1000;
|
||||
hashedPassword =
|
||||
"PASSWORD SET IN THE FUTURE";
|
||||
description = "Infinidoge";
|
||||
description = "Infinidoge, primary user of the system";
|
||||
group = "users";
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "minecraft" "libvirtd" "bluetooth" ];
|
||||
shell = pkgs.zsh;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue