framework: add thunderbolt dock
This commit is contained in:
parent
2219fb8619
commit
f100918174
3 changed files with 59 additions and 18 deletions
|
|
@ -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,43 @@
|
|||
}
|
||||
'';
|
||||
};
|
||||
|
||||
programs.niri.settings.outputs = {
|
||||
# Laptop display
|
||||
"eDP-1" = {
|
||||
mode = {
|
||||
width = 2256;
|
||||
height = 1504;
|
||||
refresh = 59.999;
|
||||
};
|
||||
};
|
||||
# HP 24x
|
||||
"DP-3" = {
|
||||
mode = {
|
||||
width = 1920;
|
||||
height = 1080;
|
||||
refresh = 144.001;
|
||||
};
|
||||
scale = 1.0;
|
||||
position = {
|
||||
x = 2256;
|
||||
y = 0;
|
||||
};
|
||||
};
|
||||
# ASUS display
|
||||
"DP-7" = {
|
||||
mode = {
|
||||
width = 1920;
|
||||
height = 1080;
|
||||
refresh = 60.0;
|
||||
};
|
||||
scale = 1.0;
|
||||
position = {
|
||||
x = 2256 + 1920;
|
||||
y = 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue