Don't use stylix for fonts
This commit is contained in:
parent
4a53253800
commit
277f6a3f79
7 changed files with 21 additions and 51 deletions
|
@ -82,11 +82,9 @@
|
|||
++ opt isDesktop (
|
||||
(dirFiles ".nix" ./modules/desktop)
|
||||
++ [
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
inputs.stylix.nixosModules.stylix
|
||||
./stylix.nix
|
||||
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
./home-manager.nix
|
||||
]
|
||||
);
|
||||
};
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
gtk = {
|
||||
enable = true;
|
||||
|
||||
iconTheme = {
|
||||
name = "Papirus";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -116,9 +116,9 @@
|
|||
font-hinting = "slight";
|
||||
font-antialiasing = "grayscale";
|
||||
|
||||
font-name = "Cantarell 11";
|
||||
font-name = "sans";
|
||||
document-font-name = font-name;
|
||||
monospace-font-name = "FiraCode Nerd Font 11";
|
||||
monospace-font-name = "monospace";
|
||||
};
|
||||
|
||||
# "org/gnome/Ptyxis".default-profile-uuid = "quadradical";
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{
|
||||
environment.sessionVariables = {
|
||||
NIXOS_OZONE_WL = "1";
|
||||
GTK_USE_PORTAL = "1";
|
||||
};
|
||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
|
||||
services = {
|
||||
desktopManager.gnome.enable = true;
|
||||
|
|
12
modules/desktop/fonts.nix
Normal file
12
modules/desktop/fonts.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{pkgs, ...}: {
|
||||
fonts = {
|
||||
enableDefaultPackages = false;
|
||||
packages = with pkgs; [inter nerd-fonts.fira-code twitter-color-emoji];
|
||||
fontconfig.defaultFonts = rec {
|
||||
serif = ["Inter"];
|
||||
sansSerif = serif;
|
||||
monospace = ["FiraCode Nerd Font"];
|
||||
emoji = ["Twitter Color Emoji"];
|
||||
};
|
||||
};
|
||||
}
|
|
@ -16,9 +16,11 @@
|
|||
resources
|
||||
libreoffice
|
||||
wl-clipboard
|
||||
google-cursor
|
||||
prismlauncher
|
||||
authenticator
|
||||
cinny-desktop
|
||||
papirus-icon-theme
|
||||
nexusmods-app-unfree
|
||||
hunspellDicts.en_CA-large
|
||||
];
|
||||
|
|
35
stylix.nix
35
stylix.nix
|
@ -5,38 +5,9 @@
|
|||
image = ./background.jpg;
|
||||
enableReleaseChecks = false;
|
||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/nord.yaml";
|
||||
|
||||
cursor = {
|
||||
name = "GoogleDot-Blue";
|
||||
package = pkgs.google-cursor;
|
||||
size = 24;
|
||||
};
|
||||
|
||||
fonts = {
|
||||
serif = {
|
||||
name = "Cantarell";
|
||||
package = pkgs.cantarell-fonts;
|
||||
};
|
||||
|
||||
sansSerif = {
|
||||
name = "Cantarell";
|
||||
package = pkgs.cantarell-fonts;
|
||||
};
|
||||
|
||||
monospace = {
|
||||
name = "FiraCode Nerd Font";
|
||||
package = pkgs.nerd-fonts.fira-code;
|
||||
};
|
||||
|
||||
emoji = {
|
||||
name = "Twitter Color Emoji";
|
||||
package = pkgs.twitter-color-emoji;
|
||||
};
|
||||
|
||||
sizes = {
|
||||
applications = 11;
|
||||
desktop = 11;
|
||||
};
|
||||
targets = {
|
||||
fontconfig.enable = false;
|
||||
font-packages.enable = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue