mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add grub
This commit is contained in:
parent
0cc9a3c8b6
commit
b5e7be0747
4 changed files with 42 additions and 25 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{ config, lib, pkgs, inputs, system, ... }:
|
||||
let
|
||||
cfg = config.mods;
|
||||
res = "2560x1440";
|
||||
in {
|
||||
# Hardware
|
||||
imports = [
|
||||
|
|
@ -41,12 +42,13 @@ in {
|
|||
services.xserver.libinput.mouse.accelProfile = "flat";
|
||||
|
||||
## Monitors
|
||||
mods.monitor.main.resolution = res;
|
||||
services.xserver.xrandrHeads = [
|
||||
{
|
||||
output = "DP-2";
|
||||
primary = true;
|
||||
monitorConfig = ''
|
||||
Option "PreferredMode" "2560x1440"
|
||||
Option "PreferredMode" "${res}"
|
||||
Option "Position" "0x480"
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue