nixos-config/modules/nix/lix.nix

18 lines
229 B
Nix
Raw Normal View History

2024-10-29 06:09:45 +00:00
{
lix-module,
inTester,
2024-10-31 09:10:04 +00:00
config,
pkgs,
2024-10-31 09:11:24 +00:00
lib,
2024-10-29 06:09:45 +00:00
...
}: {
imports =
if inTester
then []
else [lix-module.nixosModules.default];
2024-10-31 09:10:04 +00:00
2024-10-31 09:11:24 +00:00
environment.systemPackages = lib.mkIf config.nix.enable [
2024-10-31 09:40:57 +00:00
pkgs.git
2024-10-31 09:10:04 +00:00
];
2024-10-29 06:09:45 +00:00
}