Make nix config evaluate on m1

This commit is contained in:
Natsu Kagami 2023-11-05 13:09:34 +01:00
parent cfc752a3db
commit f155382789
Signed by: nki
GPG key ID: 55A032EB38B49ADB
3 changed files with 4 additions and 2 deletions

View file

@ -26,7 +26,7 @@ let
};
};
accounts = { pkgs, ... }: mkIf config.common.linux.enable {
accounts = { pkgs, ... }: mkIf (config.common.linux.enable && !pkgs.stdenv.isAarch64) {
environment.systemPackages = with pkgs.gnome; [ pkgs.glib gnome-control-center ];
services.accounts-daemon.enable = true;
services.gnome.gnome-online-accounts.enable = true;