Make m1-linux run again!

This commit is contained in:
Natsu Kagami 2023-02-25 21:43:29 +01:00
parent 7684299ddc
commit b8e1b46b5c
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
8 changed files with 100 additions and 57 deletions

View file

@ -139,8 +139,11 @@ in
{ command = "${cfg.browser}"; }
] ++ (if cfg.discord != null then [
{ command = "${cfg.discord}"; }
{ command = "${pkgs.premid}/bin/premid"; }
] else [ ]);
] ++ lib.lists.optional
(!pkgs.stdenv.isAarch64)
(
{ command = "${pkgs.premid}/bin/premid"; }
) else [ ]);
### Keybindings
#
@ -642,3 +645,4 @@ in
font-awesome
]);
}