refactor(hyprland): update monitor configuration and rendering settings
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m28s
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m28s
feat(apps): enable jellyflix and add jellyfin-mpv-shim and jellytui fix(caddy): update dependencies for sops service on ryu and tsuba
This commit is contained in:
@@ -16,7 +16,7 @@ lib.optionalAttrs device.hasGui {
|
|||||||
# ./gimp.nix
|
# ./gimp.nix
|
||||||
./guitarix.nix
|
./guitarix.nix
|
||||||
./hyprpicker.nix
|
./hyprpicker.nix
|
||||||
# ./jellyflix.nix
|
./jellyflix.nix
|
||||||
./kicad.nix
|
./kicad.nix
|
||||||
./kitty.nix
|
./kitty.nix
|
||||||
./mpv.nix
|
./mpv.nix
|
||||||
|
|||||||
@@ -4,7 +4,9 @@
|
|||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
home.packages = lib.optionals pkgs.stdenv.isLinux [
|
home.packages = lib.optionals pkgs.stdenv.isLinux [
|
||||||
pkgs.jellyflix
|
# pkgs.jellyflix
|
||||||
# pkgs.jellyfin-media-player
|
# pkgs.jellyfin-media-player
|
||||||
|
pkgs.jellyfin-mpv-shim
|
||||||
|
pkgs.jellytui
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,12 +52,36 @@
|
|||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
source = "${pkgs.catppuccinThemes.hyprland}/themes/mocha.conf";
|
source = "${pkgs.catppuccinThemes.hyprland}/themes/mocha.conf";
|
||||||
# "render:cm_fs_passthrough" = 1;
|
render = {
|
||||||
monitor = [
|
cm_fs_passthrough = 1;
|
||||||
# "${device.monitors.primary}, 2560x1440@360, 0x0, 1, transform, 0, bitdepth, 10, cm, hdr, sdrbrightness, 1.1, sdrsaturation, 1.2"
|
cm_auto_hdr = 1;
|
||||||
"${device.monitors.primary}, 2560x1440@360, 0x0, 1, transform, 0"
|
};
|
||||||
"${device.monitors.secondary}, 2560x1440@170, -1440x-1120, 1, transform, 1"
|
monitorv2 = [
|
||||||
"${device.monitors.tertiary}, 2560x1440@170, 2560x-1120, 1, transform, 3"
|
{
|
||||||
|
output = device.monitors.primary;
|
||||||
|
mode = "2560x1440@360";
|
||||||
|
position = "0x0";
|
||||||
|
scale = 1;
|
||||||
|
transform = 0;
|
||||||
|
# bitdepth = 10;
|
||||||
|
# cm = "hdr";
|
||||||
|
# sdrbrightness = 1.1;
|
||||||
|
# sdrsaturation = 1.2;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
output = device.monitors.secondary;
|
||||||
|
mode = "2560x1440@170";
|
||||||
|
position = "-1440x-1120";
|
||||||
|
scale = 1;
|
||||||
|
transform = 1;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
output = device.monitors.tertiary;
|
||||||
|
mode = "2560x1440@170";
|
||||||
|
position = "2560x-1120";
|
||||||
|
scale = 1;
|
||||||
|
transform = 3;
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
input = {
|
input = {
|
||||||
|
|||||||
@@ -36,8 +36,8 @@
|
|||||||
systemd.services.caddy = {
|
systemd.services.caddy = {
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
EnvironmentFile = config.sops.templates."HETZNER_API_KEY.env".path;
|
EnvironmentFile = config.sops.templates."HETZNER_API_KEY.env".path;
|
||||||
Requires = ["sops.service"];
|
Requires = ["sops-install-secrets.service"];
|
||||||
After = ["sops.service"];
|
After = ["sops-install-secrets.service"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,6 +40,7 @@
|
|||||||
};
|
};
|
||||||
systemd.services.caddy = {
|
systemd.services.caddy = {
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
After = ["sops-install-secrets.service"];
|
||||||
EnvironmentFile = config.sops.templates."HETZNER_API_KEY.env".path;
|
EnvironmentFile = config.sops.templates."HETZNER_API_KEY.env".path;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user