Commit Graph

4748 Commits

Author SHA1 Message Date
clan-bot
15d9646ddd Merge pull request 'Automatic flake update - sops-nix - 2024-11-04T00:00+00:00' (#2301) from flake-update-sops-nix-2024-11-04 into main 2024-11-04 12:45:31 +00:00
Mic92
2d24c16d1d Merge branch 'main' into flake-update-disko-2024-11-04 2024-11-04 12:33:41 +00:00
Mic92
180087cdf1 Merge branch 'main' into flake-update-flake-parts-2024-11-04 2024-11-04 12:33:32 +00:00
Mic92
8968a1d3c5 Merge branch 'main' into flake-update-sops-nix-2024-11-04 2024-11-04 12:33:10 +00:00
Mic92
8a741807e3 Merge branch 'main' into flake-update-treefmt-nix-2024-11-04 2024-11-04 12:33:04 +00:00
Mic92
a2c4fdd495 Merge pull request 'inventory: make sure we always define all roles, even if we don't have machines' (#2296) from inventory-improvement into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2296
2024-11-04 12:32:58 +00:00
Jörg Thalheim
2f3369cca5 add build-on-remote flag 2024-11-04 13:27:50 +01:00
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 Merge Bot
87a03c9c87 update flake lock - treefmt-nix - 2024-11-04T00:00+00:00
Flake lock file updates:

• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/d986489c1c757f6921a48c1439f19bfb9b8ecab5' (2024-10-18)
  → 'github:numtide/treefmt-nix/746901bb8dba96d154b66492a29f5db0693dbfcc' (2024-10-30)
2024-11-04 00:00:44 +00:00
Clan Merge Bot
638d56dc17 update flake lock - sops-nix - 2024-11-04T00:00+00:00
Flake lock file updates:

• Updated input 'sops-nix':
    'github:Mic92/sops-nix/1666d16426abe79af5c47b7c0efa82fd31bf4c56' (2024-10-27)
  → 'github:Mic92/sops-nix/e9b5eef9b51cdf966c76143e13a9476725b2f760' (2024-11-03)
2024-11-04 00:00:40 +00:00
Clan Merge Bot
6cee49cbf6 update flake lock - flake-parts - 2024-11-04T00:00+00:00
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/3d04084d54bedc3d6b8b736c70ef449225c361b1' (2024-10-01)
  → 'github:hercules-ci/flake-parts/506278e768c2a08bec68eb62932193e341f55c90' (2024-11-01)
2024-11-04 00:00:03 +00:00
Clan Merge Bot
a5b3715196 update flake lock - disko - 2024-11-04T00:00+00:00
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/89e458a3bb3693e769bfb2b2447c3fe72092d498' (2024-10-27)
  → 'github:nix-community/disko/380847d94ff0fedee8b50ee4baddb162c06678df' (2024-11-03)
2024-11-04 00:00:01 +00: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