restructured and added font

This commit is contained in:
Kristian Krsnik 2023-08-27 00:27:36 +02:00
parent 91adefc48e
commit 1c2fa46bce
20 changed files with 23 additions and 11 deletions

View File

@ -41,7 +41,7 @@
inherit pkgs; inherit pkgs;
modules = [ modules = [
./home ./home.nix
{ {
_module.args.wallpaper = wallpaper.packages.${system}.default; _module.args.wallpaper = wallpaper.packages.${system}.default;
} }

View File

@ -21,15 +21,16 @@
targets.genericLinux.enable = false; # Enable on non-nixos ditros targets.genericLinux.enable = false; # Enable on non-nixos ditros
imports = [ imports = [
./bash.nix ./modules/bash.nix
./direnv.nix ./modules/direnv.nix
./firefox.nix ./modules/firefox.nix
./git.nix ./modules/fonts.nix
./gnome.nix ./modules/git.nix
./nvim ./modules/gnome.nix
./packages.nix ./modules/nvim
./thunderbird.nix ./modules/packages.nix
./vscode.nix ./modules/thunderbird.nix
./modules/vscode.nix
]; ];
# Programs # Programs

9
modules/fonts.nix Normal file
View File

@ -0,0 +1,9 @@
{pkgs, ...}: {
config = {
fonts.fontconfig.enable = true;
home.packages = with pkgs; [
nerdfonts
];
};
}

View File

@ -40,7 +40,6 @@
osu-lazer osu-lazer
# Misc # Misc
nerdfonts # Font with glyphs for status bar
comma # Run any binary from the repos with a comma `, cowsay neato` comma # Run any binary from the repos with a comma `, cowsay neato`
gnome-decoder gnome-decoder
tor-browser-bundle-bin tor-browser-bundle-bin

View File

@ -62,6 +62,9 @@
}; };
}; };
"terminal.integrated.defaultProfile.linux" = "bash"; "terminal.integrated.defaultProfile.linux" = "bash";
"editor.fontFamily" = "'FiraCode Nerd Font'";
"editor.fontLigatures" = true;
}; };
}; };
} }