feat: add appimage support for marpa and gampo
This commit is contained in:
15
modules/appimage.nix
Normal file
15
modules/appimage.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.modules.appimage;
|
||||
in {
|
||||
options.modules.appimage.enable = mkEnableOption "Enables AppImage support";
|
||||
config.programs.appimage = mkIf cfg.enable {
|
||||
inherit (cfg) enable;
|
||||
binfmt = true;
|
||||
};
|
||||
}
|
||||
@@ -9,6 +9,7 @@ with lib; let
|
||||
in {
|
||||
imports = [
|
||||
./amdgpu.nix
|
||||
./appimage.nix
|
||||
./boot.nix
|
||||
./locale.nix
|
||||
./networking.nix
|
||||
|
||||
Reference in New Issue
Block a user