Commit Graph

4537 Commits

Author SHA1 Message Date
Jörg Thalheim
c02ecc2f67 tests/command: also wait for exit status 2024-11-04 12:57:07 +01:00
Jörg Thalheim
05ea59d38a inventory: make sure we always define all roles, even if we don't have machines
this makes write writing modules easier

add missing roles assertions
2024-11-04 12:57:07 +01:00
clan-bot
42c70d5c6a Merge pull request 'vars: move owner/group to a sops namespace' (#2294) from sops-owner into main 2024-10-31 11:26:50 +00:00
Jörg Thalheim
0a844097db vars: use explicit lib.mkOption function
the error messages where hard to read, when I tried to add a nested
option. Let's make the code easier to understand instead of saving some
characters to type.
2024-10-31 12:10:57 +01:00
Jörg Thalheim
0842b05687 vars: move owner/group to a sops namespace
we want to allow users to use this feature but do not want to use this
option in our own module because it's not supported by password store.
2024-10-31 12:10:57 +01:00
clan-bot
532a3d1009 Merge pull request 'Add nixos-facter, vars fixes and remove git from base system' (#2292) from vars into main 2024-10-29 13:00:38 +00:00
Jörg Thalheim
8b2b82ab74 remove vendored nixos-facter package 2024-10-29 13:54:12 +01:00
Jörg Thalheim
b3d2be1f28 fix resource leak in case need_user_terminal is used 2024-10-29 13:54:12 +01:00
Jörg Thalheim
825fb1b6d6 Revert "{facts,vars}/generator: also setup /proc"
This reverts commit 943f836997a54f8b0d40665b555034b8ac5a5da4.

This currently fails in nix sandbox builds... figure this out later.
2024-10-29 13:53:58 +01:00
Jörg Thalheim
5feb248e8f {facts,vars}/generator: also setup /proc
some applications fail without proc
2024-10-29 13:53:58 +01:00
Jörg Thalheim
3f62d5eefd only add gitMinimal for older nix version 2024-10-29 13:53:58 +01:00
Jörg Thalheim
dec610cc03 add nixos-facter to base system 2024-10-29 13:53:46 +01:00
Mic92
5117e1b3ee Merge pull request 'Add missing argument in the docs' (#2284) from 2m/clan-core:fix/missing-argument-2m into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2284
2024-10-29 12:41:36 +00:00
Martynas Mickevičius
31479f09b2 Add missing argument in the docs 2024-10-29 12:41:36 +00:00
Mic92
936d4b75e3 Merge pull request 'fix typos' (#2282) from danjujan/clan-core:fix-typos into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2282
2024-10-29 12:37:34 +00:00
danjujan
75ffb4436e pkgs: fix typos 2024-10-29 12:37:34 +00:00
danjujan
7caa868ecb clanModules: fix typos 2024-10-29 12:37:34 +00:00
danjujan
b6ef3600b5 checks: fix typos 2024-10-29 12:37:34 +00:00
danjujan
7a1e952c54 lib: fix typos 2024-10-29 12:37:34 +00:00
danjujan
286d70e1a8 templates: fix typo 2024-10-29 12:37:34 +00:00
clan-bot
20d79eac17 Merge pull request 'ssh: fix ssh connections failing due to missing stdin' (#2291) from DavHau/clan-core:DavHau-dave into main 2024-10-28 11:26:27 +00:00
DavHau
21d08ad780 ssh: fix ssh connections failing due to missing stdin 2024-10-28 17:56:12 +07:00
clan-bot
a24841d14b Merge pull request 'Automatic flake update - disko - 2024-10-28T00:00+00:00' (#2285) from flake-update-disko-2024-10-28 into main 2024-10-28 00:24:12 +00:00
clan-bot
fddbf24bd7 Merge pull request 'Automatic flake update - sops-nix - 2024-10-28T00:00+00:00' (#2289) from flake-update-sops-nix-2024-10-28 into main 2024-10-28 00:23:15 +00:00
clan-bot
b3bc14f073 Merge pull request 'Automatic flake update - nixos-facter-modules - 2024-10-28T00:00+00:00' (#2286) from flake-update-nixos-facter-modules-2024-10-28 into main 2024-10-28 00:15:29 +00:00
Clan Merge Bot
aa9cd2d561 update flake lock - sops-nix - 2024-10-28T00:00+00:00
Flake lock file updates:

• Updated input 'sops-nix':
    'github:Mic92/sops-nix/c504fd7ac946d7a1b17944d73b261ca0a0b226a5' (2024-10-20)
  → 'github:Mic92/sops-nix/1666d16426abe79af5c47b7c0efa82fd31bf4c56' (2024-10-27)
2024-10-28 00:00:37 +00:00
Clan Merge Bot
c041063853 update flake lock - nixos-facter-modules - 2024-10-28T00:00+00:00
Flake lock file updates:

• Updated input 'nixos-facter-modules':
    'github:numtide/nixos-facter-modules/9f2a45b372830d28412160413d1d83f5ee11cc2f' (2024-10-12)
  → 'github:numtide/nixos-facter-modules/15b6531d44aa6f0bbd2fd8309cd2a6d7f183ba32' (2024-10-27)
2024-10-28 00:00:04 +00:00
Clan Merge Bot
fe50666857 update flake lock - disko - 2024-10-28T00:00+00:00
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/a6a3179ddf396dfc28a078e2f169354d0c137125' (2024-10-18)
  → 'github:nix-community/disko/89e458a3bb3693e769bfb2b2447c3fe72092d498' (2024-10-27)
2024-10-28 00:00:01 +00:00
clan-bot
8e6b9dc202 Merge pull request 'add toplevel LICENSE' (#2283) from Mic92-main into main 2024-10-25 12:54:57 +00:00
Jörg Thalheim
09b436b11a add toplevel LICENSE
we already specified the license in package metadata, however this is
not easy to find. So now put the license in a more central space
2024-10-25 14:47:14 +02:00
clan-bot
a05662a6cc Merge pull request 'build-clan: clean up unit test' (#2281) from DavHau/clan-core:DavHau-dave into main 2024-10-23 16:25:26 +00:00
DavHau
b35d87888d build-clan: clean up unit test 2024-10-23 23:19:49 +07:00
clan-bot
8bcac94826 Merge pull request 'vars: fix shared dependency was not resolved correctly' (#2280) from DavHau/clan-core:DavHau-dave into main 2024-10-23 13:49:23 +00:00
DavHau
33d049915c vars: fix shared dependency was not resolved correctly 2024-10-23 20:43:33 +07:00
clan-bot
f6d7d18ddb Merge pull request 'cli: set needs_user_terminal for all ssh commands' (#2279) from DavHau/clan-core:DavHau-dave into main 2024-10-23 12:46:29 +00:00
DavHau
08fb34aa01 cli: set needs_user_terminal for all ssh commands 2024-10-23 19:40:50 +07:00
clan-bot
9452bb4b92 Merge pull request 'cmd.run: add needs_user_terminal to unbreak sudo' (#2278) from DavHau/clan-core:DavHau-dave into main 2024-10-23 10:43:37 +00:00
DavHau
4c6acf2301 cmd.run: add needs_user_terminal to unbreak sudo 2024-10-23 17:37:54 +07:00
Mic92
63eb061051 Merge pull request 'ruff: enable warning lints' (#2275) from nixpkgs-fix into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2275
2024-10-23 09:06:02 +00:00
Jörg Thalheim
4af1954abf ruff: enable warning lints 2024-10-23 09:06:02 +00:00
Mic92
2f9981c510 Merge pull request 'clan-cli: vars: add the owner and group options on files' (#2255) from lopter/clan-core:lo-sops-ownership into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2255
2024-10-23 09:05:53 +00:00
Louis Opter
4effc0c50e vars: add the user and group options on files
This changeset forwards the ownership control options from sops-nix.
2024-10-23 09:05:53 +00:00
clan-bot
84fe46b6e3 Merge pull request 'remove unused nixos-images flake input' (#2274) from nixpkgs-fix into main 2024-10-23 08:24:06 +00:00
Jörg Thalheim
eb481d6cff test_modules: add missing check argument 2024-10-23 09:50:08 +02:00
Jörg Thalheim
76b80304ca tests/command: also wait for processes to avoid leaks 2024-10-23 09:48:50 +02:00
Jörg Thalheim
bae360b3b7 remove unused nixos-images flake input 2024-10-23 09:44:39 +02:00
clan-bot
5439ff6a4d Merge pull request 'deploy-docs: use checksum for rsync' (#2271) from nixpkgs-fix into main 2024-10-22 15:47:18 +00:00
Jörg Thalheim
39d0c170c0 deploy-docs: use checksum for rsync 2024-10-22 17:41:54 +02:00
Mic92
7848873652 Merge pull request 'deploy-docs: improve tempdir handling for ssh key' (#2270) from nixpkgs-fix into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2270
2024-10-22 15:37:01 +00:00
Jörg Thalheim
d1deed435c deploy-docs: improve tempdir handling for ssh key 2024-10-22 15:37:01 +00:00