Add VRR in Gnome; try fixing Beeper Wayland usage
This commit is contained in:
parent
88d9bacff0
commit
92d976ff0f
12
flake.lock
12
flake.lock
|
@ -117,11 +117,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1714900398,
|
||||
"narHash": "sha256-H7XYHpjk1G6dkA3AnbYrKtaTFjcCE7ul6nUVlVQxtsA=",
|
||||
"lastModified": 1714931954,
|
||||
"narHash": "sha256-QXpLmgmisNK2Zgpnu9DiO9ScrKJuJ4zmiMTNpObVIuk=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "fdaaf543bad047639ef0b356ea2e6caec2f1215c",
|
||||
"rev": "3dfe05aa9b5646995ace887931fa60269a039777",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -221,11 +221,11 @@
|
|||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1714763106,
|
||||
"narHash": "sha256-DrDHo74uTycfpAF+/qxZAMlP/Cpe04BVioJb6fdI0YY=",
|
||||
"lastModified": 1714906307,
|
||||
"narHash": "sha256-UlRZtrCnhPFSJlDQE7M0eyhgvuuHBTe1eJ9N9AQlJQ0=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "e9be42459999a253a9f92559b1f5b72e1b44c13d",
|
||||
"rev": "25865a40d14b3f9cf19f19b924e2ab4069b09588",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
description = "Aires' system Flake";
|
||||
|
||||
inputs = {
|
||||
# Track base packages against Nix unstable
|
||||
# Track base packages against unstable
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
# SecureBoot support
|
||||
|
|
|
@ -15,7 +15,7 @@ with lib;
|
|||
# Install Beeper, but override the InstallPhase so it uses Wayland.
|
||||
# Check Flatpak status here: https://github.com/daegalus/beeper-flatpak-wip/issues/1
|
||||
(beeper.overrideAttrs (oldAttrs: {
|
||||
installPhase = ''
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/beeper \
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations}} --no-update"
|
||||
'';
|
||||
|
|
|
@ -27,14 +27,9 @@ with lib;
|
|||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
jack.enable = true;
|
||||
};
|
||||
|
||||
services.flatpak.packages = mkIf config.host.ui.flatpak.enable [
|
||||
"com.github.wwmm.easyeffects"
|
||||
];
|
||||
|
||||
# Reduce audio latency per https://nixos.wiki/wiki/PipeWire#Low-latency_setup
|
||||
services.pipewire.extraConfig.pipewire = mkIf cfg.enableLowLatency {
|
||||
extraConfig.pipewire = mkIf cfg.enableLowLatency {
|
||||
"92-low-latency.conf" = {
|
||||
"context.properties" = {
|
||||
"default.clock.rate" = 48000;
|
||||
|
@ -45,4 +40,9 @@ with lib;
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.flatpak.packages = mkIf config.host.ui.flatpak.enable [
|
||||
"com.github.wwmm.easyeffects"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
workspaces-only-on-primary = false;
|
||||
experimental-features = [
|
||||
"scale-monitor-framebuffer" # Fractional scaling
|
||||
"variable-refresh-rate"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue