fix build issues with the sd image

This commit is contained in:
Christoph Hollizeck 2024-11-23 14:39:56 +01:00
parent c5a7f8ea56
commit 26b430787e
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
8 changed files with 278 additions and 14 deletions

View file

@ -8,7 +8,7 @@
...
}:
let
inherit (lib) mkIf mkEnableOption;
inherit (lib) mkIf mkEnableOption mkOption;
cfg = config.${namespace}.apps.cli-apps.helix;
cachix-url = "https://helix.cachix.org";
@ -19,13 +19,17 @@ in
{
options.${namespace}.apps.cli-apps.helix = {
enable = mkEnableOption "Whether to enable helix or not";
pkg = mkOption {
type = lib.types.package;
default = helix-pkg;
description = "Which helix pacakge to use";
};
};
config = mkIf cfg.enable {
environment = {
systemPackages = [
helix-pkg
pkgs.wl-clipboard
cfg.pkg
];
};