more desktop configuration

This commit is contained in:
insects 2024-08-10 21:31:53 +02:00
parent 240a170c53
commit 97719f3d77
6 changed files with 269 additions and 7 deletions

View file

@ -1,8 +1,32 @@
{ pkgs, ... }: {
imports = [
./font.nix
./firefox.nix
./kitty.nix
];
fonts.fontconfig.enable = true;
home.packages = with pkgs; [
wf-recorder
wl-clipboard
];
home.sessionVariables = {
MOZ_ENABLE_WAYLAND = 1;
QT_QPA_PLATFORM = "wayland";
LIBSEAT_BACKEND = "logind";
};
programs.imv.enable = true;
xdg.mimeApps.enable = true;
xdg.portal = {
enable = true;
extraPortals = [pkgs.xdg-desktop-portal-wlr];
config = {
common = {
default = [
"wlr"
];
};
};
};
}

View file

@ -0,0 +1,8 @@
{ imports, config, pkgs, ... }: {
home.packages = with pkgs; [
noto-fonts
noto-fonts-emoji
];
fonts.fontconfig.enable = true;
}

View file

@ -1,11 +1,6 @@
{ config, inputs, pkgs, ... }: {
programs.kitty = {
enable = true;
font = {
name = "JetBrains Mono Nerd Font";
package = pkgs.nerdfonts.override { fonts = ["JetBrainsMono"]; };
size = 11;
};
settings = {
editor = config.home.sessionVariables.EDITOR;
window_padding_width = 10;