mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
Add tungsten (#9)
Reviewed-on: https://codeberg.org/leana8959/.files/pulls/9 Co-authored-by: Léana 江 <leana.jiang+git@icloud.com> Co-committed-by: Léana 江 <leana.jiang+git@icloud.com>
This commit is contained in:
parent
1848be039a
commit
b20a752858
41 changed files with 1749 additions and 43 deletions
61
nix/configurations/tungsten/home/misc.nix
Normal file
61
nix/configurations/tungsten/home/misc.nix
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
nixosConfig ? {},
|
||||
...
|
||||
}: {
|
||||
#
|
||||
# fonts
|
||||
#
|
||||
fonts.fontconfig = {
|
||||
enable = true;
|
||||
defaultFonts = lib.mapAttrsRecursive (_: v: v ++ ["Last Resort"]) {
|
||||
sansSerif = ["Ubuntu" "Noto Sans CJK TC"];
|
||||
serif = ["Noto Serif CJK TC"];
|
||||
monospace = ["Iosevka"];
|
||||
emoji = ["Noto Color Emoji"];
|
||||
};
|
||||
};
|
||||
home.packages = [
|
||||
pkgs.noto-fonts
|
||||
pkgs.noto-fonts-lgc-plus
|
||||
pkgs.noto-fonts-cjk-sans
|
||||
pkgs.noto-fonts-cjk-serif
|
||||
pkgs.noto-fonts-color-emoji
|
||||
pkgs.noto-fonts-emoji-blob-bin
|
||||
pkgs.ubuntu-classic
|
||||
pkgs.iosevka
|
||||
pkgs.last-resort
|
||||
];
|
||||
|
||||
|
||||
home.file = {
|
||||
".xscreensaver".source = "${./xscreensaver/.xscreensaver}";
|
||||
".wallpaper".source = "${pkgs.wallpapers.estradiol}/main.svg";
|
||||
};
|
||||
home.pointerCursor = {
|
||||
x11.enable = true;
|
||||
gtk.enable = true;
|
||||
|
||||
inherit
|
||||
(nixosConfig.services.xserver.displayManager.lightdm.greeters.gtk.cursorTheme)
|
||||
name
|
||||
package
|
||||
size
|
||||
;
|
||||
};
|
||||
xresources.properties."Xft.dpi" = 92;
|
||||
i18n.inputMethod.enabled = "fcitx5";
|
||||
|
||||
# Disable the blueman pop up persistently
|
||||
# https://github.com/blueman-project/blueman/issues/1556#issuecomment-882857426
|
||||
dconf.settings."org/blueman/general" = {
|
||||
plugin-list = ["!ConnectionNotifier"];
|
||||
};
|
||||
|
||||
xdg.mimeApps = {
|
||||
enable = true;
|
||||
associations.added."x-scheme-handler/mailto" = ["org.gnome.Evolution.desktop"];
|
||||
defaultApplications."x-scheme-handler/mailto" = ["org.gnome.Evolution.desktop"];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue