feat: add appimage support for marpa and gampo

This commit is contained in:
Lucien Cartier-Tilet 2025-06-21 23:53:27 +02:00
parent 5de8aa151a
commit ecd30c3431
No known key found for this signature in database
5 changed files with 24 additions and 7 deletions

View File

@ -39,7 +39,10 @@
sound.enable = true;
};
modules.hyprland.enable = true;
modules = {
appimage.enable = true;
hyprland.enable = true;
};
security.rtkit.enable = true;

View File

@ -55,7 +55,10 @@
};
};
modules.hyprland.enable = true;
modules = {
appimage.enable = true;
hyprland.enable = true;
};
security.rtkit.enable = true;

View File

@ -69,11 +69,6 @@
environment.systemPackages = [pkgs.openssl];
# imports = [
# # Include the results of the hardware scan.
# ./services.nix
# ];
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave

15
modules/appimage.nix Normal file
View 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;
};
}

View File

@ -9,6 +9,7 @@ with lib; let
in {
imports = [
./amdgpu.nix
./appimage.nix
./boot.nix
./locale.nix
./networking.nix