feat: add prismlauncher
parent
1540b22752
commit
14c1cafcd8
|
@ -22,6 +22,7 @@
|
|||
impermanence.enable = true;
|
||||
webis.enable = true;
|
||||
};
|
||||
programs.prismlauncher.enable = true;
|
||||
services.wallpaper.enable = true;
|
||||
};
|
||||
|
||||
|
|
|
@ -56,6 +56,7 @@ in
|
|||
".local/share/JetBrains"
|
||||
".local/share/direnv"
|
||||
".local/share/nvim"
|
||||
".local/share/PrismLauncher/"
|
||||
".local/share/zoxide"
|
||||
".local/state/nvim"
|
||||
".mozilla"
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
{ config
|
||||
, lib
|
||||
, pkgs
|
||||
, ...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.my.programs.prismlauncher;
|
||||
|
||||
prismlauncher = pkgs.runCommandNoCC "prismlauncher"
|
||||
{
|
||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||
} ''
|
||||
makeWrapper ${lib.getExe pkgs.prismlauncher} $out/bin/prismlauncher \
|
||||
--set QT_STYLE_OVERRIDE "" \
|
||||
--set QT_QPA_PLATFORMTHEME "gtk3"
|
||||
'';
|
||||
in
|
||||
{
|
||||
options.my.programs.prismlauncher.enable = mkEnableOption "prismlauncher";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
users.users.moritz.packages = [ prismlauncher ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue