update openmodelica
This commit is contained in:
@@ -238,6 +238,10 @@ in
|
|||||||
"nix-command"
|
"nix-command"
|
||||||
"flakes"
|
"flakes"
|
||||||
];
|
];
|
||||||
|
nix.settings.trusted-users = [
|
||||||
|
"root"
|
||||||
|
"allen"
|
||||||
|
];
|
||||||
|
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
|
|
||||||
|
|||||||
@@ -1,18 +1,25 @@
|
|||||||
{ ... }: {
|
{ ... }:
|
||||||
|
{
|
||||||
programs.alacritty = {
|
programs.alacritty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# custom settings
|
# custom settings
|
||||||
settings = {
|
settings = {
|
||||||
env.TERM = "alacritty";
|
env.TERM = "alacritty";
|
||||||
font = { size = 14; };
|
font = {
|
||||||
|
size = 14;
|
||||||
|
};
|
||||||
window = {
|
window = {
|
||||||
opacity = 1.0;
|
opacity = 1.0;
|
||||||
padding.x = 50;
|
padding.x = 7;
|
||||||
padding.y = 50;
|
padding.y = 7;
|
||||||
};
|
};
|
||||||
scrolling.multiplier = 5;
|
scrolling.multiplier = 5;
|
||||||
selection.save_to_clipboard = true;
|
selection.save_to_clipboard = false;
|
||||||
colors = { primary = { background = "#040404"; }; };
|
colors = {
|
||||||
|
primary = {
|
||||||
|
background = "#040404";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ let
|
|||||||
desktopItem = pkgs.makeDesktopItem {
|
desktopItem = pkgs.makeDesktopItem {
|
||||||
name = "openmodelica";
|
name = "openmodelica";
|
||||||
desktopName = "OpenModelica Connection Editor";
|
desktopName = "OpenModelica Connection Editor";
|
||||||
exec = "OMEdit";
|
exec = "env QT_QPA_PLATFORM=xcb QT_QPA_PLATFORMTHEME=qt6ct OMEdit";
|
||||||
icon = "openmodelica";
|
icon = "openmodelica";
|
||||||
categories = [
|
categories = [
|
||||||
"Development"
|
"Development"
|
||||||
@@ -14,10 +14,8 @@ let
|
|||||||
];
|
];
|
||||||
comment = "Modelica-based modeling and simulation environment";
|
comment = "Modelica-based modeling and simulation environment";
|
||||||
};
|
};
|
||||||
in
|
|
||||||
|
|
||||||
with pkgs;
|
openmodelica-core = pkgs.stdenv.mkDerivation {
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "openmodelica-bin";
|
name = "openmodelica-bin";
|
||||||
version = "custom";
|
version = "custom";
|
||||||
src = pkgs.fetchgit {
|
src = pkgs.fetchgit {
|
||||||
@@ -91,4 +89,11 @@ stdenv.mkDerivation {
|
|||||||
qt6.qttools
|
qt6.qttools
|
||||||
lapack-reference
|
lapack-reference
|
||||||
];
|
];
|
||||||
|
};
|
||||||
|
in
|
||||||
|
pkgs.symlinkJoin {
|
||||||
|
name = "openmodelica";
|
||||||
|
paths = [
|
||||||
|
openmodelica-core
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -109,4 +109,7 @@ with pkgs;
|
|||||||
exfatprogs
|
exfatprogs
|
||||||
python313Packages.scrapy
|
python313Packages.scrapy
|
||||||
atopile
|
atopile
|
||||||
|
cachix
|
||||||
|
browsh
|
||||||
|
kdePackages.qt6ct
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -15,9 +15,10 @@
|
|||||||
|
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPortals = [
|
extraPortals = with pkgs; [
|
||||||
pkgs.xdg-desktop-portal-hyprland
|
xdg-desktop-portal-hyprland
|
||||||
pkgs.xdg-desktop-portal-gtk
|
xdg-desktop-portal-gtk
|
||||||
|
xdg-desktop-portal-gnome
|
||||||
];
|
];
|
||||||
config.common.default = "*";
|
config.common.default = "*";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user