mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
generate monitors from home config properly
This commit is contained in:
parent
8b60957c58
commit
2c168c0bfa
3 changed files with 3 additions and 6 deletions
|
|
@ -5,6 +5,7 @@
|
|||
common/optional/browsers/firefox.nix
|
||||
common/optional/comms
|
||||
common/optional/media
|
||||
common/optional/gaming
|
||||
];
|
||||
|
||||
monitors = [
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
(
|
||||
map (m:
|
||||
if m.enabled
|
||||
then "output ${m.name} mode ${toString m.width}x${toString m.height}@${toString m.refreshRate}Hz pos ${toString m.x} ${toString m.y} bg ${toString m.background} stretch"
|
||||
then lib.strings.concatStringsSep "\n" ["output ${m.name} mode ${toString m.width}x${toString m.height}@${toString m.refreshRate}Hz pos ${toString m.x} ${toString m.y} transform ${toString m.transform}" "exec swww img -o ${m.name} ${m.background}"]
|
||||
else "output ${m.name} disable")
|
||||
)
|
||||
config.monitors;
|
||||
|
|
|
|||
|
|
@ -35,13 +35,9 @@
|
|||
in {
|
||||
home.packages = [
|
||||
steam-session
|
||||
pkgs.vintagestory
|
||||
#pkgs.vintagestory
|
||||
pkgs.mudlet
|
||||
pkgs.r2modman
|
||||
pkgs.prismlauncher
|
||||
];
|
||||
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
"dotnet-runtime-7.0.20" # VintageStory dep
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue