2024-07-09 23:12:02 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
inputs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports =
|
|
|
|
[
|
|
|
|
./theme.nix
|
|
|
|
./xdg-mime.nix
|
|
|
|
]
|
2024-07-17 02:16:20 +00:00
|
|
|
++ map (n: ../../../home/applications/${n}) [
|
2024-07-09 23:12:02 +00:00
|
|
|
"fcitx5"
|
|
|
|
"firefox"
|
|
|
|
"foot"
|
|
|
|
"go"
|
|
|
|
"mpv"
|
|
|
|
"nautilus"
|
|
|
|
"nix"
|
|
|
|
"sway"
|
|
|
|
"thunderbird"
|
|
|
|
"ydict"
|
|
|
|
];
|
|
|
|
|
|
|
|
# https://wiki.archlinux.org/title/Fish#Start_X_at_login
|
|
|
|
programs.fish.loginShellInit = ''
|
|
|
|
if test -z "$DISPLAY" -a "$XDG_VTNR" = 1
|
|
|
|
exec sway
|
|
|
|
end
|
|
|
|
'';
|
|
|
|
|
|
|
|
home.packages =
|
2024-07-11 23:59:21 +00:00
|
|
|
(with pkgs; [
|
|
|
|
amberol
|
|
|
|
dconf-editor
|
|
|
|
file-roller
|
|
|
|
fractal
|
|
|
|
gnome-calculator
|
|
|
|
hyperfine
|
|
|
|
loupe
|
|
|
|
mousai
|
|
|
|
seahorse
|
2024-07-09 23:12:02 +00:00
|
|
|
|
2024-07-11 23:59:21 +00:00
|
|
|
(prismlauncher.override {
|
|
|
|
glfw = glfw-wayland-minecraft;
|
|
|
|
gamemodeSupport = false;
|
|
|
|
})
|
|
|
|
mumble
|
|
|
|
osu-lazer-bin
|
|
|
|
])
|
|
|
|
++ (with inputs.self.legacyPackages.${pkgs.stdenv.hostPlatform.system}.scripts; [
|
2024-07-09 23:12:02 +00:00
|
|
|
lofi
|
|
|
|
]);
|
|
|
|
|
|
|
|
home.sessionVariables = {
|
|
|
|
# https://github.com/ppy/osu-framework/pull/6292
|
|
|
|
"OSU_SDL3" = "1";
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.mangohud.enable = true;
|
|
|
|
programs.obs-studio.enable = true;
|
|
|
|
services.ssh-agent.enable = true;
|
|
|
|
}
|