Compare commits
No commits in common. "1e87bd7221f6ef40d0e6f14473e18a6683e96a71" and "6ee41f013523f99e3101d63501b5905abe90b656" have entirely different histories.
1e87bd7221
...
6ee41f0135
2
home.nix
2
home.nix
|
@ -5,6 +5,7 @@
|
||||||
./home/modules
|
./home/modules
|
||||||
./home/modules/git.nix
|
./home/modules/git.nix
|
||||||
./home/modules/fish.nix
|
./home/modules/fish.nix
|
||||||
|
./home/modules/alacritty.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Home Manager needs a bit of information about you and the paths it should
|
# Home Manager needs a bit of information about you and the paths it should
|
||||||
|
@ -16,7 +17,6 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
package = inputs.neovim-overlay.packages.${pkgs.system}.default;
|
package = inputs.neovim-overlay.packages.${pkgs.system}.default;
|
||||||
};
|
};
|
||||||
snowhawk.alacritty.enable = true;
|
|
||||||
|
|
||||||
# This value determines the Home Manager release that your configuration is
|
# This value determines the Home Manager release that your configuration is
|
||||||
# compatible with. This helps avoid breakage when a new Home Manager release
|
# compatible with. This helps avoid breakage when a new Home Manager release
|
||||||
|
|
|
@ -1,35 +1,27 @@
|
||||||
{ pkgs, lib, config, ... }:
|
{ pkgs, ... }:
|
||||||
let
|
|
||||||
cfg = config.snowhawk.alacritty;
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
options.snowhawk.alacritty = {
|
programs.alacritty = {
|
||||||
enable = lib.mkEnableOption "alacritty";
|
enable = true;
|
||||||
};
|
settings = {
|
||||||
|
shell = "${pkgs.fish}/bin/fish";
|
||||||
config = lib.mkIf cfg.enable {
|
window = {
|
||||||
programs.alacritty = {
|
opacity = 0.98;
|
||||||
enable = true;
|
};
|
||||||
settings = {
|
font = {
|
||||||
shell = "${pkgs.fish}/bin/fish";
|
normal = {
|
||||||
window = {
|
family = "JetBrainsMono Nerd Font";
|
||||||
opacity = 0.98;
|
style = "Regular";
|
||||||
};
|
};
|
||||||
font = {
|
bold = {
|
||||||
normal = {
|
family = "JetBrainsMono Nerd Font";
|
||||||
family = "JetBrainsMono Nerd Font";
|
style = "Bold";
|
||||||
style = "Regular";
|
};
|
||||||
};
|
italic = {
|
||||||
bold = {
|
family = "JetBrainsMono Nerd Font";
|
||||||
family = "JetBrainsMono Nerd Font";
|
style = "Italic";
|
||||||
style = "Bold";
|
|
||||||
};
|
|
||||||
italic = {
|
|
||||||
family = "JetBrainsMono Nerd Font";
|
|
||||||
style = "Italic";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [ ./neovim.nix ];
|
||||||
./neovim.nix
|
|
||||||
./alacritty.nix
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,9 +8,6 @@ in
|
||||||
package = lib.mkPackageOption pkgs "neovim" {
|
package = lib.mkPackageOption pkgs "neovim" {
|
||||||
default = [ "neovim-unwrapped" ];
|
default = [ "neovim-unwrapped" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# This should be close to identical to above
|
|
||||||
#
|
|
||||||
# package = lib.mkOption {
|
# package = lib.mkOption {
|
||||||
# type = lib.types.package;
|
# type = lib.types.package;
|
||||||
# default = pkgs.neovim-unwrapped;
|
# default = pkgs.neovim-unwrapped;
|
||||||
|
|
Loading…
Reference in New Issue