2023-09-08 21:29:08 +01:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: let
|
2023-09-01 01:46:14 +01:00
|
|
|
inherit (lib.modules) mkIf;
|
2023-09-08 21:29:08 +01:00
|
|
|
|
2023-09-01 01:46:14 +01:00
|
|
|
networkManagerEnabled = config.networking.networkmanager.enable;
|
|
|
|
in {
|
2023-08-29 14:07:17 +01:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
gnome3.adwaita-icon-theme
|
2023-09-01 01:46:14 +01:00
|
|
|
(mkIf networkManagerEnabled pkgs.networkmanagerapplet)
|
2023-08-29 14:07:17 +01:00
|
|
|
];
|
|
|
|
|
2023-09-01 01:46:14 +01:00
|
|
|
programs.nm-applet.enable = networkManagerEnabled;
|
|
|
|
|
2023-10-14 12:35:20 +01:00
|
|
|
programs.dconf.enable = true;
|
|
|
|
|
2023-06-03 18:50:49 +01:00
|
|
|
fonts = {
|
2023-07-28 22:19:06 +01:00
|
|
|
packages = with pkgs; [comic-sans comic-code];
|
2023-06-03 18:50:49 +01:00
|
|
|
fontconfig = {
|
|
|
|
# For Telegram
|
|
|
|
localConf = ''
|
2023-08-29 14:07:17 +01:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
|
|
|
<fontconfig>
|
|
|
|
|
|
|
|
<match>
|
|
|
|
<test name="family"><string>Open Sans</string></test>
|
|
|
|
<edit name="family" mode="assign" binding="strong">
|
|
|
|
<string>Comic Sans MS</string>
|
|
|
|
</edit>
|
|
|
|
</match>
|
|
|
|
<match>
|
|
|
|
<test name="family"><string>Open Sans Semibold</string></test>
|
|
|
|
<edit name="family" mode="assign" binding="strong">
|
|
|
|
<string>Comic Sans MS:style=bold</string>
|
|
|
|
</edit>
|
|
|
|
</match>
|
|
|
|
</fontconfig>
|
2023-06-03 18:50:49 +01:00
|
|
|
'';
|
|
|
|
defaultFonts = {
|
|
|
|
serif = ["Comic Sans MS"];
|
|
|
|
sansSerif = ["Comic Sans MS"];
|
|
|
|
monospace = ["Comic Code"];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|