Qubasa
70c1648caf
clanServices: users -> remove isNormalUser option, set automatically
...
nix fmt
2025-07-15 17:21:52 +07:00
Michael Hoang
4ec435d2fa
users: fix eval when used to manage root
2025-07-13 12:30:16 +10:00
Johannes Kirschbauer
bd833ae2ad
Users: add option for regularUser
2025-07-12 13:44:16 +02:00
Johannes Kirschbauer
b47c85fdaa
Modules/users: add isNormalUser true
...
NormalUsers get:
- Home directory
- Can login
This is expected for users created through this module. We can make it configurable if the use arises
2025-07-11 16:32:16 +02:00
hsjobeki
f7671c8f0b
Merge pull request 'templates/flake-parts: remove importing clanModules' ( #4300 ) from templates-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4300
2025-07-11 13:53:37 +00:00
Johannes Kirschbauer
e5c9fbb16a
modules/user: improce description, drop default groups
2025-07-11 14:35:28 +02:00
Johannes Kirschbauer
3696994941
modules/user: add extraGroups setting with default
2025-07-11 09:13:59 +02:00
Johannes Kirschbauer
c56bb3c37f
docs: fix user module prompt description
2025-07-11 08:46:21 +02:00
Michael Hoang
957598e449
docs: set manifest.readme for services to include README in the docs
2025-07-10 12:55:27 +10:00
Michael Hoang
587db8510d
docs: fix highlighting in code block
2025-07-07 13:54:26 +10:00
DavHau
e219a636ca
checks: fix some tests not named correctly
2025-06-30 19:50:16 +07:00
pinpox
3e882e3578
Merge pull request 'Add example for users service' ( #4150 ) from doc-users into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4150
2025-06-30 10:25:51 +00:00
DavHau
2a3e786cfe
tests: explicitly specify services to be sourced from self
...
See previous commit
2025-06-30 10:13:46 +00:00
pinpox
e01dd8f9e8
Add example
2025-06-30 12:09:29 +02:00
a-kenji
e731a20497
modules/users: Fix the password deployment
...
The password needs to be available prior to logging in,
this is why we need to set `neededFor = users`.
2025-06-27 12:48:15 +02:00
Jörg Thalheim
845952ab86
users: migrate to clan.nixosTests module
2025-06-17 20:39:06 +02:00
pinpox
39a8374dee
migrate clanmodules/{user,root}-password to clanServices/users
...
Move the functionality of both modules into a new clanService.
root-password was previously just a special case of user-password. This
migrates it into a deduplicated clan service and adds checks
2025-06-12 09:04:26 +02:00