packages/nixpak: use locale module

This commit is contained in:
Max Headroom 2022-12-05 16:53:32 +01:00
parent 52e92a2f83
commit 6516e2a36c

View file

@ -1,10 +1,6 @@
{ config, lib, pkgs, ... }:
let
locales = pkgs.glibcLocales.override {
allLocales = true;
};
fonts = with pkgs; [
cantarell-fonts
dejavu_fonts
@ -52,6 +48,7 @@ in
};
gpu.enable = lib.mkDefault true;
gpu.provider = "bundle";
locale.enable = true;
bubblewrap = {
network = lib.mkDefault false;
bind.rw = [
@ -78,7 +75,6 @@ in
"${pkgs.gnome.adwaita-icon-theme}/share/icons"
"${pkgs.gnome.adwaita-icon-theme}/share/pixmaps"
];
LOCALE_ARCHIVE = "${locales}/lib/locale/locale-archive";
};
};
};