framework: add thunderbolt dock

This commit is contained in:
Tristan 2025-09-03 13:56:54 +01:00
parent 2219fb8619
commit 6e4292690b
3 changed files with 33 additions and 18 deletions

View file

@ -57,6 +57,8 @@
networking.hostName = "framework-13";
services.hardware.bolt.enable = true;
system.stateVersion = "24.11"; # do not change
home-manager.users.${config.user}.imports = [
{
@ -77,6 +79,17 @@
}
'';
};
programs.niri.settings.outputs = {
"DP-3" = {
mode = {
width = 1920;
height = 1080;
refresh = 144.001;
};
scale = 1.0;
};
};
}
];

View file

@ -84,6 +84,26 @@ in {
home-manager.users.${user}.imports = [
{
home.stateVersion = "22.05";
programs.niri.settings.outputs = {
"DP-3" = {
mode = {
width = 1920;
height = 1080;
refresh = 143.855;
};
variable-refresh-rate = true;
scale = 1.0;
};
"HDMI-A-1" = {
mode = {
width = 3840;
height = 2160;
refresh = 120.0;
};
variable-refresh-rate = true;
scale = 2.5;
};
};
}
];
}