Compare commits
2 Commits
6ee41f0135
...
1e87bd7221
Author | SHA1 | Date |
---|---|---|
Zynh Ludwig | 1e87bd7221 | |
Zynh Ludwig | cd936d590c |
2
home.nix
2
home.nix
|
@ -5,7 +5,6 @@
|
||||||
./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
|
||||||
|
@ -17,6 +16,7 @@
|
||||||
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,5 +1,13 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, lib, config, ... }:
|
||||||
|
let
|
||||||
|
cfg = config.snowhawk.alacritty;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
|
options.snowhawk.alacritty = {
|
||||||
|
enable = lib.mkEnableOption "alacritty";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
programs.alacritty = {
|
programs.alacritty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
@ -23,5 +31,5 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [ ./neovim.nix ];
|
imports = [
|
||||||
|
./neovim.nix
|
||||||
|
./alacritty.nix
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,9 @@ 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