mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
vanadium: flatten home configuration
This commit is contained in:
parent
e67635a84e
commit
e9319a48e5
2 changed files with 11 additions and 11 deletions
|
|
@ -1,81 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
nixosConfig ? {},
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./programs.nix
|
||||
./firefox.nix
|
||||
|
||||
./xmobar.nix
|
||||
|
||||
# Language server packages, etc
|
||||
./dev.nix
|
||||
];
|
||||
|
||||
#
|
||||
# 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
|
||||
];
|
||||
|
||||
age.secrets = {
|
||||
sshconfig = {
|
||||
file = "${../../../secrets/sshconfig.age}";
|
||||
path = "/home/leana/.ssh/config";
|
||||
};
|
||||
ltex_dict = {
|
||||
file = "${../../../secrets/ltex_dict.age}";
|
||||
path = "/home/leana/.config/ltex_dict";
|
||||
};
|
||||
};
|
||||
|
||||
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" = 150;
|
||||
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