This commit is contained in:
mjallen18
2025-10-22 19:10:44 -05:00
parent 6b6cf3eee1
commit ee486f52bb
15 changed files with 52 additions and 36 deletions

View File

@@ -3,10 +3,12 @@
pkgs,
system,
namespace,
hasDestopEnvironment,
...
}:
let
isArm = ("aarch64-linux" == system) || ("aarch64-darwin" == system);
x86_only = with pkgs; [
vscode-extensions.redhat.vscode-xml
];
@@ -20,7 +22,7 @@ in
programs = {
vscode = {
enable = true;
enable = hasDestopEnvironment;
package = pkgs.vscodium;
mutableExtensionsDir = false;
profiles = {

View File

@@ -116,8 +116,8 @@ in
settings = {
preload = [ "/run/wallpaper.jpg" ];
wallpaper = [
"DP-1, /run/wallpaper.jpg"
"DP-2, /run/wallpaper.jpg"
"${cfg.display1.input}, /run/wallpaper.jpg"
"${cfg.display2.input}, /run/wallpaper.jpg"
];
splash = false;
};
@@ -183,7 +183,7 @@ in
{
size = "200, 50";
position = "0, -80";
monitor = "DP-1";
monitor = cfg.primaryDisplay;
dots_center = true;
fade_on_empty = true;
font_color = "rgb(202, 211, 245)";

View File

@@ -1,10 +1,10 @@
{ lib, system, ... }:
{ lib, system, hasDestopEnvironment, ... }:
let
isArm = builtins.match "aarch64*" system != null;
in
{
programs.onlyoffice = {
enable = lib.mkDefault (!isArm);
enable = lib.mkDefault (!isArm && hasDestopEnvironment);
settings = {
UITheme = "theme-contrast-dark";
forcedRtl = false;