Compare commits

..

3 commits

5 changed files with 26 additions and 1 deletions

View file

@ -24,7 +24,7 @@ in
groups = [ "wheel" ];
commands = [
{
command = "${pkgs.nixos-rebuild}/bin/nixos-rebuild *";
command = "/run/current-system/sw/bin/nixos-rebuild";
options = [ "NOPASSWD" ];
}
];

View file

@ -11,6 +11,7 @@
autoLogin.user = "fruchti";
};
security.pam.services.gdm.enableGnomeKeyring = true;
services.gnome.gnome-keyring.enable = true;
services.touchegg.enable = true;
services.gnome.gnome-settings-daemon.enable = true;

View file

@ -2,5 +2,6 @@
{
imports = [
./burp.nix
./horizon-eda.nix
];
}

13
overlays/horizon-eda.nix Normal file
View file

@ -0,0 +1,13 @@
{ config, ... }:
{
nixpkgs.overlays = [
(self: super: {
horizon-eda = (super.horizon-eda.overrideAttrs (old: {
# Add an environment variable to fix redraw issues on Intel Graphics
patches = [
./horizon_software_draw_surface.patch
];
}));
})
];
}

View file

@ -0,0 +1,10 @@
diff --git a/org.horizon_eda.HorizonEDA.desktop b/org.horizon_eda.HorizonEDA.desktop
index 7551df54..d8df7800 100644
--- a/org.horizon_eda.HorizonEDA.desktop
+++ b/org.horizon_eda.HorizonEDA.desktop
@@ -5,4 +5,4 @@ Categories=Development;Engineering;Electronics;
Type=Application
Terminal=false
Icon=org.horizon_eda.HorizonEDA
-Exec=horizon-eda %U
+Exec=env GDK_GL=software-draw-surface horizon-eda %U