mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add monitors
This commit is contained in:
parent
24c7c83682
commit
633e306306
2 changed files with 44 additions and 6 deletions
|
|
@ -50,7 +50,7 @@ in {
|
||||||
## Monitors
|
## Monitors
|
||||||
mods.monitors = {
|
mods.monitors = {
|
||||||
primary = {
|
primary = {
|
||||||
name = "eDP-1";
|
name = "DVI-D-1";
|
||||||
config = {
|
config = {
|
||||||
enable = true;
|
enable = true;
|
||||||
mode = "1920x1080";
|
mode = "1920x1080";
|
||||||
|
|
@ -59,6 +59,16 @@ in {
|
||||||
rate = "60.00";
|
rate = "60.00";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
secondary = {
|
||||||
|
name = "HDMI-1";
|
||||||
|
config = {
|
||||||
|
enable = true;
|
||||||
|
mode = "1280x768";
|
||||||
|
position = "1920x312";
|
||||||
|
primary = false;
|
||||||
|
rate = "60.00";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
## GPU (AMD Radeon 7950)
|
## GPU (AMD Radeon 7950)
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
{ pkgs, lib, osConfig,... }:
|
{ pkgs, lib, osConfig, ... }:
|
||||||
let cfg = osConfig.mods; in {
|
let cfg = osConfig.mods;
|
||||||
|
in {
|
||||||
# Modules
|
# Modules
|
||||||
mods.xdg.enable = true;
|
mods.xdg.enable = true;
|
||||||
mods.social.enable = true;
|
mods.social.enable = true;
|
||||||
|
|
@ -30,11 +31,38 @@ let cfg = osConfig.mods; in {
|
||||||
};
|
};
|
||||||
profiles.default = {
|
profiles.default = {
|
||||||
fingerprint = {
|
fingerprint = {
|
||||||
"${cfg.monitors.primary.name}" = "00ffffffffffff0030e4190500000000001a01049522137803a1c59459578f27205054000000010101010101010101010101010101012e3680a070381f403020350058c210000019222480a070381f403020350058c210000019000000fd00283c43430e010a20202020202000000002000c47ff0a3c6e1f182b6e000000001c";
|
"${cfg.monitors.primary.name}" = ''
|
||||||
|
00ffffffffffff004c2d850433324d43
|
||||||
|
1a120103803420782aee91a3544c9926
|
||||||
|
0f5054bfef80714f8100814081809500
|
||||||
|
a940b30001011a3680a070381f403020
|
||||||
|
350006202000001a000000fd00384b1e
|
||||||
|
5111000a202020202020000000fc0053
|
||||||
|
796e634d61737465720a2020000000ff
|
||||||
|
004831414b3530303030300a202000e9
|
||||||
|
'';
|
||||||
|
"${cfg.monitors.secondary.name}" = ''
|
||||||
|
00ffffffffffff00410cca1401010101
|
||||||
|
34100103804728788a288e9e55489724
|
||||||
|
16484badce0031594559615981800101
|
||||||
|
010101010101a91a00a0500016303020
|
||||||
|
3700c48e21000018662150b051001b30
|
||||||
|
40703600c48e21000018000000fc0050
|
||||||
|
68696c697073545620283529000000fd
|
||||||
|
002f551f500e000a2020202020200156
|
||||||
|
020323714f930414051f101211030201
|
||||||
|
16150706230907078301000066030c00
|
||||||
|
100080011d00bc52d01e20b8285540c4
|
||||||
|
8e2100001a011d007251d01e206e2855
|
||||||
|
00c48e2100001e011d80d0721c162010
|
||||||
|
2c2580c48e2100009e011d8018711c16
|
||||||
|
20582c2500c48e2100009ef33980d072
|
||||||
|
382d40102c4580c48e2100001e0000f2
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
config = {
|
config = {
|
||||||
"${cfg.monitors.primary.name}" =
|
"${cfg.monitors.primary.name}" = cfg.monitors.primary.config;
|
||||||
cfg.monitors.primary.config;
|
"${cfg.monitors.secondary.name}" = cfg.monitors.secondary.config;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue