nix-config/home/adalbert.nix

48 lines
1 KiB
Nix

{ inputs
, pkgs
, ...
}: {
imports = [
./global
./features/desktop/awesome
./features/desktop/hyprland
./features/games
./features/coding
./features/desktop/common/alacritty.nix
];
home.packages = [
inputs.picokontroller.packages.x86_64-linux.default
];
nixpkgs = {
config = {
permittedInsecurePackages = [
"electron-25.9.0"
"nix-2.15.3"
];
};
};
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
];
};
};
home.file = {
".local/share/jellyfinmediaplayer/scripts/mpris.so".source = "${pkgs.mpvScripts.mpris}/share/mpv/scripts/mpris.so";
};
services.flatpak.overrides = {
"com.github.iwalton3.jellyfin-media-player".Context = {
sockets = [
"!wayland"
"x11"
];
};
};
}