Compare commits
3 commits
b67bf68f0d
...
2a4dce6e02
Author | SHA1 | Date | |
---|---|---|---|
fruchti | 2a4dce6e02 | ||
fruchti | 958117375a | ||
fruchti | 9195d6f6de |
|
@ -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" ];
|
||||
}
|
||||
];
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -2,5 +2,6 @@
|
|||
{
|
||||
imports = [
|
||||
./burp.nix
|
||||
./horizon-eda.nix
|
||||
];
|
||||
}
|
||||
|
|
13
overlays/horizon-eda.nix
Normal file
13
overlays/horizon-eda.nix
Normal 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
|
||||
];
|
||||
}));
|
||||
})
|
||||
];
|
||||
}
|
10
overlays/horizon_software_draw_surface.patch
Normal file
10
overlays/horizon_software_draw_surface.patch
Normal 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
|
Loading…
Reference in a new issue