feat: update system

This commit is contained in:
2024-05-10 13:39:47 +02:00
parent 24ba16c842
commit 4a77b9acbd
6 changed files with 72 additions and 36 deletions

View File

@@ -4,13 +4,13 @@ xkb_symbols "cc1-thea"
include "level3(ralt_switch)"
key <AE11> {[minus, underscore, at]};
key <AE12> {[equal, question, ssharp]};
key <AE12> {[equal, plus, mu]};
key <LatQ> {[q, Q, asterisk]};
key <LatW> {[w, W, 9]};
key <LatE> {[e, E, braceleft]};
key <LatR> {[r, R, 1]};
key <LatT> {[t, T, braceright]};
key <LatY> {[y, Y, bar]};
key <LatY> {[y, Y, ssharp]};
key <LatU> {[u, U, 5]};
key <LatI> {[i, I, exclam]};
key <LatO> {[o, O, 3]};
@@ -21,19 +21,20 @@ xkb_symbols "cc1-thea"
key <LatF> {[f, F, 6]};
key <LatG> {[g, G, asciicircum]};
key <LatH> {[h, H, bracketright]};
key <LatJ> {[j, J, percent]};
key <LatJ> {[j, J, EuroSign]};
key <LatK> {[k, K, 7]};
key <LatL> {[l, L, slash]};
key <AC10> {[semicolon, colon, dollar, EuroSign]};
key <LatL> {[l, L, percent]};
key <AC10> {[semicolon, colon, dollar]};
key <AC11> {[apostrophe, quotedbl, ampersand]};
key <LatZ> {[z, Z, dead_diaeresis]};
key <LatX> {[x, X, plus]};
key <LatX> {[x, X, numbersign]};
key <LatC> {[c, C, parenleft]};
key <LatV> {[v, V, less]};
key <LatB> {[b, B, 8]};
key <LatN> {[n, N, 2]};
key <LatM> {[m, M, bracketleft, mu]};
key <AB08> {[comma, numbersign, grave]};
key <AB09> {[period, asciitilde, backslash]};
key <LatM> {[m, M, bracketleft]};
key <AB08> {[comma, degree, grave]};
key <AB09> {[period, asciitilde, bar]};
key <AB10> {[slash, question, backslash]};
};

View File

@@ -0,0 +1,34 @@
{
lib,
config,
username,
...
}:
with lib;
let
cfg = config.hardware.q3279vwf;
in
{
options.hardware.q3279vwf = {
enable = mkEnableOption "Enable optimisations for the AOC Q3279VWF monitor";
};
config = mkIf cfg.enable {
fonts.fontconfig.subpixel.rgba = "bgr";
boot.kernelParams = [ "video=2560x1440@75" ];
home-manager.users.${username}.wayland.windowManager.hyprland.settings = {
general.layout = "master";
master = {
orientation = "center";
new_is_master = true;
always_center_master = true;
mfact = 0.4;
};
monitor = [ "DP-1,highrr,0x0,1" ];
xwayland.force_zero_scaling = true;
misc.vrr = 2; # VA suffers from VRR flicker
};
};
}