This commit is contained in:
zack 2024-10-12 19:45:59 -04:00
parent 760758c4b1
commit 9233675f48
No known key found for this signature in database
GPG key ID: 5F873416BCF59F35
9 changed files with 68 additions and 23 deletions

View file

@ -13,20 +13,20 @@ in {
fonts = {
normal = {
family = mkStringOpt "ZedMono NFM" "The Family of the font";
style = mkStringOpt "Bold" "The Style of the font";
};
bold = {
family = mkStringOpt "ZedMono NFM" "The Family of the font";
family = mkStringOpt "Iosevka" "The Family of the font";
style = mkStringOpt "ExtraBold" "The Style of the font";
};
bold = {
family = mkStringOpt "Iosevka" "The Family of the font";
style = mkStringOpt "Heavy" "The Style of the font";
};
italic = {
family = mkStringOpt "ZedMono NFM" "The Family of the font";
style = mkStringOpt "Bold Italic" "The Style of the font";
family = mkStringOpt "Iosevka" "The Family of the font";
style = mkStringOpt "ExtraBold Italic" "The Style of the font";
};
bold_italic = {
family = mkStringOpt "ZedMono NFM" "The Family of the font";
style = mkStringOpt "ExtraBold Italic" "The Style of the font";
family = mkStringOpt "Iosevka" "The Family of the font";
style = mkStringOpt "Heavy Italic" "The Style of the font";
};
};
};
@ -37,7 +37,13 @@ in {
catppuccin.enable = true;
settings = {
background_opacity = "0.75";
window = {
opacity = 0.95;
padding = {
x = 20;
y = 20;
};
};
font = {
normal = cfg.fonts.normal;
bold = cfg.fonts.bold;

View file

@ -2,6 +2,7 @@
lib,
config,
pkgs,
inputs,
...
}:
with lib;
@ -15,6 +16,7 @@ in {
config = mkIf cfg.enable {
programs.rio = {
enable = true;
package = inputs.rio-term.packages.${pkgs.system}.default;
settings = {
window = {
opacity = 0.9;
@ -31,25 +33,25 @@ in {
fonts = {
regular = {
family = "Iosevka";
style = "normal";
style = "Normal";
weight = 700;
};
bold = {
family = "Iosevka";
style = "normal";
style = "Normal";
weight = 800;
};
italic = {
family = "Iosevka";
style = "italic";
style = "Italic";
weight = 700;
};
bold-italic = {
family = "Iosevka";
style = "italic";
style = "Italic";
weight = 800;
};
};

View file

@ -5,6 +5,18 @@ return {
colorscheme = "catppuccin",
},
},
{
"L3MON4D3/LuaSnip",
dependencies = {
"rafamadriz/friendly-snippets",
},
config = function()
require("luasnip.loaders.from_vscode").lazy_load()
require("luasnip.loaders.from_vscode").lazy_load({
paths = vim.fn.stdpath("config") .. "/snippets/",
})
end,
},
{
"stevearc/conform.nvim",
opts = {

View file

@ -0,0 +1,25 @@
{
"Nix Module Template": {
"prefix": "nixcfg",
"body": [
"{",
" lib,",
" config,",
" pkgs,",
" ...",
"}:",
"with lib;",
"with lib.custom; let",
" cfg = config.${1:moduleName};",
"in {",
" options.${1:moduleName} = with types; {",
" enable = mkBoolOpt false \"${2:Description}\";",
" };",
" config = mkIf cfg.enable {",
" $0",
" };",
"}"
],
"description": "Template for a Nix module"
}
}