Enhance 14900k configuration with streaming display support and virtual EDID generation

- Added a new `streaming-display.nix` module to configure a headless 4K virtual output for Sunshine and Moonlight.
- Introduced a Python script `generate-virtual-edid.py` to create a virtual display EDID with 4K capabilities.
- Updated `configuration.nix` to integrate the new streaming display module and enable related services.
- Modified `displays.nix` to accommodate the new streaming display settings and ensure compatibility with existing GPU passthrough configurations.
This commit is contained in:
2026-07-10 17:32:37 -03:00
parent dc06c70c43
commit 25cf0167c1
5 changed files with 458 additions and 59 deletions
Generated
+115 -54
View File
@@ -38,11 +38,11 @@
]
},
"locked": {
"lastModified": 1780452866,
"narHash": "sha256-Fq5cR/qGYcGwOOZf6sShtM+kljwecgntgcKXnIBrQDE=",
"lastModified": 1782389081,
"narHash": "sha256-60aWPXGfLy3fVDTgwd1noQ2W+gryGy0EnNB0jLjfsUY=",
"ref": "refs/heads/main",
"rev": "344f4065e69455adbcdfb4db1cd8d07a73ae7140",
"revCount": 114,
"rev": "0feb09ad82ab1800ce5727bb94191deb500ad184",
"revCount": 123,
"type": "git",
"url": "https://git.chiasson.cloud/Olivier/cursor-nixos-flake"
},
@@ -79,11 +79,11 @@
]
},
"locked": {
"lastModified": 1778679554,
"narHash": "sha256-zoPgnxIlDja91/4TmnCui+Fzc/xU/1jdJFu9bovtOk8=",
"lastModified": 1782185186,
"narHash": "sha256-URMC6ppMqe9WQOdH/oTeOqUcJggJGJaNOrhdzwSKyYo=",
"owner": "AvengeMedia",
"repo": "dgop",
"rev": "06574b54fa4878a93d8605962d50b13e9528a4ca",
"rev": "28558a7e79ab5c81b6d832fe48f40ea499866496",
"type": "github"
},
"original": {
@@ -172,11 +172,11 @@
"dms-plugin-calculator": {
"flake": false,
"locked": {
"lastModified": 1778511624,
"narHash": "sha256-hiqrO8WkzmWGVlUrzxmffUZBs4t1QM2mMTBUxZqCIyU=",
"lastModified": 1782146268,
"narHash": "sha256-j8C62+sevr6b+akzVSAqUVysIhb6Vbr8jnWcTXeOtE8=",
"owner": "rochacbruno",
"repo": "DankCalculator",
"rev": "73073d051d08254633f28f89d2609344c8289813",
"rev": "1db5865419a40a33171a475855a59e0b8bf7187f",
"type": "github"
},
"original": {
@@ -513,6 +513,28 @@
}
},
"flake-parts_4": {
"inputs": {
"nixpkgs-lib": [
"navi",
"tofunix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1736143030,
"narHash": "sha256-+hu54pAoLDEZT9pjHlqL9DNzWz0NbUn8NEAHP7PQPzU=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "b905f6fc23a9051a6e1b741e1438dbfc0634c6de",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-parts_5": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib_3"
},
@@ -530,7 +552,7 @@
"type": "github"
}
},
"flake-parts_5": {
"flake-parts_6": {
"inputs": {
"nixpkgs-lib": [
"nur",
@@ -553,7 +575,7 @@
},
"flake-utils": {
"inputs": {
"systems": "systems"
"systems": "systems_2"
},
"locked": {
"lastModified": 1731533236,
@@ -571,7 +593,7 @@
},
"flake-utils_2": {
"inputs": {
"systems": "systems_3"
"systems": "systems_4"
},
"locked": {
"lastModified": 1731533236,
@@ -594,11 +616,11 @@
]
},
"locked": {
"lastModified": 1780679734,
"narHash": "sha256-KmRNvpNOb7QEORa06bVgjW9kITcx0VhsI7w0vhmZyD8=",
"lastModified": 1782423922,
"narHash": "sha256-qPNd6lUohHP5gcJhqQ7rLV87RwIx0xYR2A4Frb9Zjc4=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "b2b7db486e06e098711dc291bb25db82850e1d16",
"rev": "5d320ab301cfaaca7d32514f13815d19d109f5f4",
"type": "github"
},
"original": {
@@ -615,11 +637,11 @@
]
},
"locked": {
"lastModified": 1780515920,
"narHash": "sha256-8KX2hEeOX6KP3hBBJJI8dGWVrzbOOf1rBPmg/GUG24U=",
"lastModified": 1781497404,
"narHash": "sha256-9GAF8sSsnkyCVCWkomXR0T+zdSxyUlfPt6neQidimdg=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "4c5c1e8ba14f1c7475fa31ff11bc1c19cd220974",
"rev": "1285cd3d6882a9847f2d56ed5541b3350c8a6162",
"type": "github"
},
"original": {
@@ -666,14 +688,15 @@
"nix-github-actions": "nix-github-actions",
"nixos-anywhere": "nixos-anywhere",
"nixpkgs": "nixpkgs",
"stable": "stable"
"stable": "stable",
"tofunix": "tofunix"
},
"locked": {
"lastModified": 1777283737,
"narHash": "sha256-sVwTOYwxzUUqAEr5kjOZooJ/v8H2hcuZ42f17MgCqX8=",
"lastModified": 1781964794,
"narHash": "sha256-DpmkR7ifgSLj7890ayIsri3eioB7V8KhA6ys3ivXAPw=",
"owner": "cafkafk",
"repo": "navi",
"rev": "b060683e4ca2bd37a1c3bcb4e04abd2296190e9d",
"rev": "f6e15457cebefb3a8aa6e30e1961288676c9c7f1",
"type": "github"
},
"original": {
@@ -744,18 +767,18 @@
"nixcord": {
"inputs": {
"flake-compat": "flake-compat",
"flake-parts": "flake-parts_4",
"flake-parts": "flake-parts_5",
"nixpkgs": [
"nixpkgs"
],
"nixpkgs-nixcord": "nixpkgs-nixcord"
},
"locked": {
"lastModified": 1780751320,
"narHash": "sha256-3PlWrZkSwElqYHMnWi4d0A+GxlvCXk0JaMsTGghmQGE=",
"lastModified": 1782436508,
"narHash": "sha256-F91/VTVJmeERWwiJMHfEjkCEXWcNECSOiBsil3TlX9k=",
"owner": "KaylorBen",
"repo": "nixcord",
"rev": "2b70dbed679d2705696deb36f0778c9ef9f1ded2",
"rev": "9c530d99735c236db405f6a1ed58de0872ff9a19",
"type": "github"
},
"original": {
@@ -964,11 +987,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1780243769,
"narHash": "sha256-x5UQuRsH3MqI0U9afaXSNqzTPSeZlRLvFAav2Ux1pNw=",
"lastModified": 1781577229,
"narHash": "sha256-lrp67w8AulE9Ks53n27I45ADSzbOCn4H+CNW1Ck8B+8=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "331800de5053fcebacf6813adb5db9c9dca22a0c",
"rev": "567a49d1913ce81ac6e9582e3553dd90a955875f",
"type": "github"
},
"original": {
@@ -1015,17 +1038,17 @@
},
"nur": {
"inputs": {
"flake-parts": "flake-parts_5",
"flake-parts": "flake-parts_6",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1780771425,
"narHash": "sha256-qxX2a/MnwrIkMUZ7nLafJkDvaDaLLsPRC0NK2VXW+sc=",
"lastModified": 1782441318,
"narHash": "sha256-e+EWubnfN/CqogQ3qFL7i5Yg8ST7hg/19WS+BAOYFb8=",
"owner": "nix-community",
"repo": "NUR",
"rev": "a144829f0faf14576d4faa88a42cd62bebb7428b",
"rev": "548388638a8f389437bc81e14122667244a36912",
"type": "github"
},
"original": {
@@ -1066,11 +1089,11 @@
]
},
"locked": {
"lastModified": 1779906441,
"narHash": "sha256-py8KJJMi4awjZHi5FWBPYfbRPvk3Rg9SeFkPJydsG2E=",
"lastModified": 1780803198,
"narHash": "sha256-H7wxhe9HJKUvPSDuBKHh/COx+YTZDaQlb6g8b+ZGtE8=",
"ref": "refs/heads/main",
"rev": "339a9ba1ef79dc9976af77f1fea0302de8a696d0",
"revCount": 16,
"rev": "46fe1e10e650e078799d0a35ffc05a5bba0733ed",
"revCount": 17,
"type": "git",
"url": "https://git.chiasson.cloud/Olivier/Personal-Website"
},
@@ -1155,11 +1178,11 @@
]
},
"locked": {
"lastModified": 1780547341,
"narHash": "sha256-Gq8KNx5A7hBB3uGJaj6eQfLDIz5YdLu92gqBcvHvoUo=",
"lastModified": 1782165805,
"narHash": "sha256-478kKQBvK6SYTOdN2h9jhKJv94nbXRbFMfuL1WshErg=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "9ed65852b6257fbeae4355bc24ecfea307ca759a",
"rev": "56b24064fdcaedca53553b1a6d607fd23b613a24",
"type": "github"
},
"original": {
@@ -1173,14 +1196,14 @@
"nixpkgs": [
"nixpkgs"
],
"systems": "systems_2"
"systems": "systems_3"
},
"locked": {
"lastModified": 1780422259,
"narHash": "sha256-dWGk4SEdI189kQW5cE4Uo1Mc+P+kQEdgMcyMgTtmQOA=",
"lastModified": 1782031037,
"narHash": "sha256-a7oWSyS7SN81UOqVt481yIEMDsMpaJ7GNdV6Eaz5Yqg=",
"owner": "Gerg-L",
"repo": "spicetify-nix",
"rev": "8414bbf2fcc7bc0a22c675e498e3c7365c1aec0a",
"rev": "9cb27462cfd20edac174353f1e95bc03aa888863",
"type": "github"
},
"original": {
@@ -1271,6 +1294,21 @@
"type": "github"
}
},
"systems_4": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"t2fanrd": {
"inputs": {
"nixpkgs": [
@@ -1294,11 +1332,11 @@
"t2linux-patches": {
"flake": false,
"locked": {
"lastModified": 1779914035,
"narHash": "sha256-VsHuI2CbQ8gFplW+51gUJvCqo1Ts10Ueks9aTtkAOiw=",
"lastModified": 1782419564,
"narHash": "sha256-Rz6BsjpS9SETgcSkTz/QYuncR5CB0TM61SCzTiIcRI0=",
"owner": "t2linux",
"repo": "linux-t2-patches",
"rev": "7ee7d19c38e5df31a386b2a0c35ca8f064003960",
"rev": "ff59395cc61769dc255b5eab6faac27e8ce441f7",
"type": "github"
},
"original": {
@@ -1307,6 +1345,29 @@
"type": "github"
}
},
"tofunix": {
"inputs": {
"flake-parts": "flake-parts_4",
"nixpkgs": [
"navi",
"nixpkgs"
],
"systems": "systems"
},
"locked": {
"lastModified": 1769620829,
"narHash": "sha256-OGZn7OKNm3wuLvtynXAk5C1GUd0jKHyfirhkbdbMIgo=",
"owner": "cafkafk",
"repo": "tofunix",
"rev": "472fe73ec92e3c21c470361d7531c67c4ced2861",
"type": "github"
},
"original": {
"owner": "cafkafk",
"repo": "tofunix",
"type": "github"
}
},
"treefmt-nix": {
"inputs": {
"nixpkgs": [
@@ -1350,11 +1411,11 @@
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1780661205,
"narHash": "sha256-3F5DixT3Gk91lBI9E+TGMm0ko5HrRbDiL23di16TJGA=",
"lastModified": 1782135443,
"narHash": "sha256-vAmbArdCyjqpVW+37aCy/PMBOLIqukUXLQuEKLwUhA4=",
"owner": "BirdeeHub",
"repo": "nix-wrapper-modules",
"rev": "8dd304c3582ddd339217e1cc5fb53f50acb63c2d",
"rev": "6e7f66fa2cdf4d63162580b438f7fcf87c28a46f",
"type": "github"
},
"original": {
@@ -1371,11 +1432,11 @@
]
},
"locked": {
"lastModified": 1780567926,
"narHash": "sha256-LVaiAnBwgr2YotaIlrcwCgmbwHsE2ccegRztLjur/d4=",
"lastModified": 1782144240,
"narHash": "sha256-RgCWSv7AJZCwPhCzz+J0lvwp1WBz9ouvCnnlmvu0xfw=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "eea9ae34eb9011aee9b8ce8ee2bc2dd111ee8285",
"rev": "d1693556428967f8b4eef128feb090421ddcaf15",
"type": "github"
},
"original": {