Johannes Kirschbauer
84865f37b8
lib/modules: list modules consistent argument
2025-07-13 13:57:02 +02:00
Johannes Kirschbauer
21f8a69989
lib/modules: rename 'list_modules' to 'list_service_modules'
2025-07-13 13:57:02 +02:00
Johannes Kirschbauer
fb745beda5
lib/disks: move from api to templates
2025-07-13 13:57:02 +02:00
Johannes Kirschbauer
86db003973
lib/modules: move from api to services module
2025-07-13 13:57:02 +02:00
Johannes Kirschbauer
d9368ec01c
api/modules: remove redundant localModules
2025-07-13 11:52:19 +02:00
Michael Hoang
379d675372
Merge pull request 'users: fix eval when used to manage root' ( #4319 ) from push-qnllumxpxumt into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4319
2025-07-13 02:35:35 +00:00
Michael Hoang
10f89d6612
users: fix eval when used to manage root
2025-07-13 12:30:16 +10:00
hsjobeki
cde9df1536
Merge pull request 'docs/deploy: remove unneeded --update-hardware-config nixos-facter' ( #4318 ) from templates-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4318
2025-07-12 15:51:13 +00:00
Johannes Kirschbauer
8c1587e400
docs/deploy: remove unneeded --update-hardware-config nixos-facter
2025-07-12 17:48:13 +02:00
hsjobeki
e88b05dd9c
Merge pull request 'Templates/cli: improve ux and docs' ( #4317 ) from templates-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4317
2025-07-12 15:31:55 +00:00
Johannes Kirschbauer
318cc4b1ec
Templates/cli: improve ux and docs
2025-07-12 17:21:23 +02:00
hsjobeki
6ff2e8de94
Merge pull request 'Templates: remove deprecated files' ( #4316 ) from templates-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4316
2025-07-12 15:11:32 +00:00
hsjobeki
346e56191a
Merge pull request 'pkgs/clan(templates): Fix template help' ( #4315 ) from ke-fix-template-help into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4315
2025-07-12 15:06:31 +00:00
Johannes Kirschbauer
696e4b984f
Templates/flake-parts: remove machines
...
Users create machines if they need them
2025-07-12 16:59:16 +02:00
Johannes Kirschbauer
de1d0c8747
Templates: remove disko.nix from all templates
2025-07-12 16:58:52 +02:00
Johannes Kirschbauer
86ea1b0a60
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
2025-07-12 16:58:02 +02:00
hsjobeki
241550921f
Merge pull request 'docs/getting-started: refactor and align with new templates' ( #4313 ) from getting-started into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4313
2025-07-12 14:43:29 +00:00
a-kenji
f69dd29f79
pkgs/clan(templates): Fix template help
...
Currently the template help has the following interface:
```
usage: clan [-h] [SUBCOMMAND]
The clan cli tool
positional arguments:
{show,backups,b,flakes,f,templates,flash,ssh,secrets,facts,vars,va,machines,m,vms,select,se,state,st}
show Show meta information about the clan
backups (b) Manage backups of clan machines
flakes (f) Create a clan flake inside the current directory
templates Subcommands to interact with templates
flash Flashes your machine to an USB drive
ssh Ssh to a remote machine
secrets Manage secrets
facts Manage facts
vars (va) Manage vars
machines (m) Manage machines and their configuration
vms Manage virtual machines
select (se) Select nixos values from the flake
state (st) Query state information about machines
options:
-h, --help show this help message and exit
Online reference for the clan cli tool: ]8;;https://docs.clan.lol/reference/cli\https://docs.clan.lol/reference/cli ]8;;\
For more detailed information, visit: ]8;;https://docs.clan.lol\https://docs.clan.lol ]8;;\
```
2025-07-12 16:42:05 +02:00
hsjobeki
648f3ec084
Merge pull request 'pkgs/clan(templates): Add machine completions' ( #4312 ) from ke-templates-machines-add-shell-completions into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4312
2025-07-12 14:40:57 +00:00
Johannes Kirschbauer
f362cfb983
Docs: fix code annotations
2025-07-12 16:40:02 +02:00
Johannes Kirschbauer
66ddc399d0
Docs: fix typos
2025-07-12 16:39:20 +02:00
Johannes Kirschbauer
20a6375c2a
Docs: align workflow, remove targetHost before deployment
2025-07-12 16:35:43 +02:00
Johannes Kirschbauer
2882e9e8da
Docs: rewrite deployment instructions
2025-07-12 16:35:43 +02:00
Johannes Kirschbauer
2c910f8616
docs: add guide how to create configuration.nix
2025-07-12 16:35:43 +02:00
Johannes Kirschbauer
5e80e0a833
docs: add service update instructions
2025-07-12 16:35:43 +02:00
Johannes Kirschbauer
055cf3d924
docs: add machines update instructions
2025-07-12 16:35:43 +02:00
Johannes Kirschbauer
3d8ddd1be1
docs: create clan update cli instructions
2025-07-12 16:35:41 +02:00
a-kenji
71ee2fcbb6
pkgs/clan(templates): Add machine completions
...
Add machine completions for the `--to-machine` subcommand
2025-07-12 16:02:51 +02:00
hsjobeki
279df893cc
Merge pull request 'cli/create: add interactive name method' ( #4310 ) from getting-started into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4310
2025-07-12 13:27:38 +00:00
Johannes Kirschbauer
ed2663ac7b
clan/create: rename path to name argument
2025-07-12 15:16:31 +02:00
Johannes Kirschbauer
c4f67ca44d
templates/copy: fix use shutil to copy hidden dot files
2025-07-12 15:08:40 +02:00
kenji
5f8d65bd80
Merge pull request 'pkgs/clan: Fix command typos' ( #4309 ) from kenji/ke-fix-command-typos into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4309
2025-07-12 12:49:57 +00:00
Johannes Kirschbauer
98185217bd
templates: add example how to add inventory.machines
2025-07-12 14:49:27 +02:00
Johannes Kirschbauer
876e57e81e
cli/create: add interactive name method
2025-07-12 14:12:10 +02:00
hsjobeki
d601237853
Merge pull request 'modules/user: Improve user module' ( #4305 ) from user into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4305
2025-07-12 11:57:44 +00:00
a-kenji
2439d508ef
pkgs/clan: Fix command typos
2025-07-12 13:54:37 +02:00
Johannes Kirschbauer
0dd5b284eb
Users: add option for regularUser
2025-07-12 13:44:16 +02:00
hsjobeki
a47d65d3ed
Merge pull request 'diskId: add migration docs and a big fat warning' ( #4307 ) from disk-migration into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4307
2025-07-12 11:15:51 +00:00
hsjobeki
5484b584f1
Merge pull request 'cli/templates: init apply disk' ( #4306 ) from templates-cli into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4306
2025-07-12 11:15:47 +00:00
Johannes Kirschbauer
461c628a98
diskId: add migration docs and a big fat warning
2025-07-11 20:47:53 +02:00
Johannes Kirschbauer
70454878ff
cli/templates: init apply disk
2025-07-11 18:53:54 +02:00
Johannes Kirschbauer
7b6e63d6ca
lib/disks: add parameter to disable hardware checking
2025-07-11 18:53:54 +02:00
Johannes Kirschbauer
67eb2274ab
cli/machine/hardware: improve error message
2025-07-11 18:53:54 +02:00
Johannes Kirschbauer
794872e235
get_machine: fix error message for not existing machine
2025-07-11 18:53:54 +02:00
Johannes Kirschbauer
7765e7155e
lib/copy: fix, copying the content of tempate directory, not the directory itself
2025-07-11 18:53:54 +02:00
Johannes Kirschbauer
3871cb7ab4
Templates: keep clan.nix in sync between default and flake-parts
2025-07-11 16:42:20 +02:00
Johannes Kirschbauer
a4131a0822
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
02111109f8
Merge pull request 'Vars/helper: remove unneeded wrapper arount collectFiles' ( #4304 ) from vars-angnostic into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4304
2025-07-11 14:31:20 +00:00
Johannes Kirschbauer
3e489d5cff
Templates/flake-parts: consistent default clan
2025-07-11 16:19:01 +02:00
Johannes Kirschbauer
2f027cad3c
Vars/helper: remove unneeded wrapper arount collectFiles
2025-07-11 16:14:02 +02:00