2025-01-11 23:17:28 +01:00
|
|
|
{ inputs
|
|
|
|
, pkgs
|
|
|
|
, ...
|
|
|
|
}: {
|
2023-12-24 11:16:59 +01:00
|
|
|
imports = [
|
|
|
|
./global
|
2023-12-26 22:32:45 +01:00
|
|
|
./features/desktop/awesome
|
2024-12-08 17:32:41 +01:00
|
|
|
./features/desktop/hyprland
|
2023-12-26 13:59:30 +01:00
|
|
|
./features/games
|
|
|
|
./features/coding
|
2024-12-13 20:39:08 +01:00
|
|
|
./features/desktop/common/alacritty.nix
|
2023-12-24 11:16:59 +01:00
|
|
|
];
|
|
|
|
|
2024-06-29 10:10:36 +02:00
|
|
|
home.packages = [
|
|
|
|
inputs.picokontroller.packages.x86_64-linux.default
|
|
|
|
];
|
2024-01-07 15:44:22 +01:00
|
|
|
nixpkgs = {
|
|
|
|
config = {
|
|
|
|
permittedInsecurePackages = [
|
|
|
|
"electron-25.9.0"
|
2024-03-14 14:20:53 +01:00
|
|
|
"nix-2.15.3"
|
2024-01-07 15:44:22 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2024-12-15 12:03:43 +01:00
|
|
|
|
|
|
|
wayland.windowManager.hyprland = {
|
|
|
|
settings = {
|
|
|
|
exec-once = [
|
|
|
|
"picokontroller" # volume & light control
|
|
|
|
"easyeffects --gapplication-service"
|
|
|
|
"xrandr --output DP-3 --primary" # since wayland doesn't have a concept of primary monitors
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2025-01-10 16:31:00 +01:00
|
|
|
|
2025-01-11 23:17:28 +01:00
|
|
|
home.file = {
|
|
|
|
".local/share/jellyfinmediaplayer/scripts/mpris.so".source = "${pkgs.mpvScripts.mpris}/share/mpv/scripts/mpris.so";
|
|
|
|
};
|
|
|
|
|
2025-01-10 16:31:00 +01:00
|
|
|
services.flatpak.overrides = {
|
|
|
|
"com.github.iwalton3.jellyfin-media-player".Context = {
|
|
|
|
sockets = [
|
|
|
|
"!wayland"
|
|
|
|
"x11"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2023-12-24 11:16:59 +01:00
|
|
|
}
|