feat: add appimage support for marpa and gampo
This commit is contained in:
parent
5de8aa151a
commit
ecd30c3431
@ -39,7 +39,10 @@
|
||||
sound.enable = true;
|
||||
};
|
||||
|
||||
modules.hyprland.enable = true;
|
||||
modules = {
|
||||
appimage.enable = true;
|
||||
hyprland.enable = true;
|
||||
};
|
||||
|
||||
security.rtkit.enable = true;
|
||||
|
||||
|
@ -55,7 +55,10 @@
|
||||
};
|
||||
};
|
||||
|
||||
modules.hyprland.enable = true;
|
||||
modules = {
|
||||
appimage.enable = true;
|
||||
hyprland.enable = true;
|
||||
};
|
||||
|
||||
security.rtkit.enable = true;
|
||||
|
||||
|
@ -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. It‘s perfectly fine and recommended to leave
|
||||
|
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user