Templates: remove shared.nix
- user-password is now part of the new 'users' module (https://docs.clan.lol/reference/clanServices/users/) - setting 'users.users.user' is not needed and also part of the 'users' module - services.avahi.enable = true; is not strictly needed can become part of an mdns guide, but shouldnt be part of the default template
This commit is contained in:
@@ -1,27 +0,0 @@
|
|||||||
{
|
|
||||||
clan-core,
|
|
||||||
# Optional, if you want to access other flakes:
|
|
||||||
# self,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
clan-core.clanModules.user-password
|
|
||||||
];
|
|
||||||
|
|
||||||
# Locale service discovery and mDNS
|
|
||||||
services.avahi.enable = true;
|
|
||||||
|
|
||||||
# generate a random password for our user below
|
|
||||||
# can be read using `clan secrets get <machine-name>-user-password` command
|
|
||||||
clan.user-password.user = "user";
|
|
||||||
users.users.user = {
|
|
||||||
isNormalUser = true;
|
|
||||||
extraGroups = [
|
|
||||||
"wheel"
|
|
||||||
"networkmanager"
|
|
||||||
"video"
|
|
||||||
"input"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user