fix build issues with the sd image

This commit is contained in:
Christoph Hollizeck 2024-11-23 14:39:56 +01:00
parent b75537a353
commit f8ec2f5d8f
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
];
};

View file

@ -34,7 +34,7 @@ in
lfs.enable = true;
signing = {
key = cfg.signingKey;
signByDefault = mkIf gpg.enable true;
signByDefault = true;
};
extraConfig = {
init = {