add openmodelica
This commit is contained in:
@@ -6,8 +6,7 @@
|
||||
let
|
||||
myRizin = pkgs.rizin.passthru.withPlugins
|
||||
(plugins: [ plugins.jsdec plugins.rz-ghidra ]);
|
||||
in
|
||||
{
|
||||
in {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./services/virtual.nix
|
||||
@@ -19,23 +18,21 @@ in
|
||||
services.logind.lidSwitch = "suspend";
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
boot.kernel.sysctl = {
|
||||
"net.ipv4.ip_forward" = 1;
|
||||
};
|
||||
|
||||
boot.kernel.sysctl = { "net.ipv4.ip_forward" = 1; };
|
||||
|
||||
#boot.loader.grub.device = "/dev/nvme1n1p1";
|
||||
boot.loader = {
|
||||
systemd-boot.enable = false;
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
efiSysMountPoint = "/boot/efi";
|
||||
};
|
||||
grub = {
|
||||
enable = true;
|
||||
device = "nodev";
|
||||
efiSupport = true;
|
||||
useOSProber = true;
|
||||
systemd-boot.enable = false;
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
efiSysMountPoint = "/boot/efi";
|
||||
};
|
||||
grub = {
|
||||
enable = true;
|
||||
device = "nodev";
|
||||
efiSupport = true;
|
||||
useOSProber = true;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -113,9 +110,20 @@ in
|
||||
myRizin
|
||||
libgit2
|
||||
inputs.helix.packages."${pkgs.system}".helix
|
||||
openmodelica
|
||||
];
|
||||
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
nix.settings.trusted-users = [ "root" "allen" ];
|
||||
|
||||
nix.settings = {
|
||||
substituters =
|
||||
[ "https://allen-nixpkgs.cachix.org" "https://cache.nixos.org" ];
|
||||
trusted-public-keys = [
|
||||
"allen-nixpkgs.cachix.org-1:GS5qDYVloEiC6oeJQNijR3hsMKPqDSGbYUz35qtbMpg="
|
||||
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||
];
|
||||
};
|
||||
|
||||
environment.variables = {
|
||||
LD_LIBRARY_PATH = lib.makeLibraryPath [
|
||||
|
||||
Reference in New Issue
Block a user