This commit is contained in:
m3tam3re
2024-09-10 13:59:56 +02:00
parent 1808004efe
commit aa7dcee696
7 changed files with 67 additions and 0 deletions

View File

@ -1,5 +1,6 @@
{pkgs, ...}: {
imports = [
./fonts.nix
./hyprland.nix
./wayland.nix
];

View File

@ -0,0 +1,23 @@
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.features.desktop.fonts;
in {
options.features.desktop.fonts.enable =
mkEnableOption "install additional fonts for desktop apps";
config = mkIf cfg.enable {
home.packages = with pkgs; [
fira-code
fira-code-symbols
fira-code-nerdfont
font-manager
font-awesome_5
noto-fonts
];
};
}

View File

@ -0,0 +1,8 @@
{
home.file.".config/bat/config".text = ''
--theme="Dracula"
# Show line numbers, Git modifications and file header (but no grid)
--style="numbers,changes,header"
'';
}

View File

@ -0,0 +1,10 @@
{inputs, ...}: {
imports = [
./bat.nix
];
home.file.".config/nvim" = {
source = "${inputs.dotfiles}/nvim";
recursive = true;
};
}

View File

@ -1,6 +1,7 @@
{
imports = [
../common
./dotfiles
../features/cli
../features/desktop
./home.nix
@ -13,6 +14,7 @@
neofetch.enable = true;
};
desktop = {
fonts.enable = true;
hyprland.enable = true;
wayland.enable = true;
};