Skip to content

Commit 169e3b2

Browse files
committed
prismlauncher: init
1 parent d18ba68 commit 169e3b2

5 files changed

Lines changed: 84 additions & 0 deletions

File tree

generated/all-maintainers.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@
1717
matrix = "@da157:catgirl.cloud";
1818
name = "0xda157";
1919
};
20+
ErinaYip = {
21+
email = "erinayip@outlook.com";
22+
github = "ErinaYip";
23+
githubId = 227132255;
24+
name = "erina";
25+
};
2026
Eveeifyeve = {
2127
email = "eveeg1971@gmail.com";
2228
github = "Eveeifyeve";

modules/prismlauncher/hm.nix

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{ mkTarget, ... }:
2+
mkTarget {
3+
config = [
4+
({ fonts }: {
5+
programs.prismlauncher.settings = {
6+
ConsoleFont = fonts.monospace.name;
7+
ConsoleFontSize = fonts.sizes.terminal;
8+
};
9+
})
10+
({ colors }: {
11+
programs.prismlauncher = {
12+
settings.ApplicationTheme = "stylix";
13+
14+
themes.stylix.theme = with colors.withHashtag; {
15+
name = "Stylix";
16+
widgets = "Fusion";
17+
18+
colors = {
19+
AlternateBase = base01;
20+
Base = base00;
21+
BrightText = base08;
22+
Button = base01;
23+
ButtonText = base05;
24+
Highlight = base02;
25+
HighlightedText = base05;
26+
Link = base0D;
27+
Text = base05;
28+
ToolTipBase = base00;
29+
ToolTipText = base05;
30+
Window = base00;
31+
WindowText = base05;
32+
fadeAmount = 0.5;
33+
fadeColor = base02;
34+
};
35+
logColors = {
36+
Debug = base0B;
37+
DebugHighlight = base03;
38+
Error = base08;
39+
ErrorHighlight = base03;
40+
Fatal = base08;
41+
FatalHighlight = base00;
42+
Launcher = base0D;
43+
LauncherHighlight = base03;
44+
Message = base05;
45+
MessageHighlight = base02;
46+
Warning = base0A;
47+
WarningHighlight = base03;
48+
};
49+
};
50+
};
51+
})
52+
];
53+
}

modules/prismlauncher/meta.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{ lib, ... }: {
2+
name = "Prism Launcher";
3+
homepage = "https://prismlauncher.org";
4+
maintainers = [ lib.maintainers.erina ];
5+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{ lib, pkgs, ... }:
2+
let
3+
package = pkgs.prismlauncher;
4+
in
5+
{
6+
stylix.testbed.ui.command.text = lib.getExe package;
7+
8+
home-manager.sharedModules = lib.singleton {
9+
programs.prismlauncher = {
10+
enable = true;
11+
inherit package;
12+
};
13+
};
14+
}

stylix/maintainers.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@
3737
github = "cswimr";
3838
githubId = 102361830;
3939
};
40+
erina = {
41+
email = "erinayip@outlook.com";
42+
name = "erina";
43+
github = "ErinaYip";
44+
githubId = 227132255;
45+
};
4046
gideonwolfe = {
4147
email = "wolfegideon@gmail.com";
4248
name = "Gideon Wolfe";

0 commit comments

Comments
 (0)