mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 18:09:06 +02:00
added alacrity conf
This commit is contained in:
parent
7d11aedd93
commit
ef0c0d534f
4 changed files with 1092 additions and 2 deletions
17
home-manager-modules/alacritty/default.nix
Normal file
17
home-manager-modules/alacritty/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
cfg = config.luj.programs.alacritty;
|
||||
in
|
||||
with lib;
|
||||
{
|
||||
options.luj.programs.alacritty = {
|
||||
enable = mkEnableOption "Enable alacritty program";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable
|
||||
{
|
||||
programs.alacritty.enable = true;
|
||||
xdg.configFile."alacritty/alacritty.yml".source = lib.mkForce ./config;
|
||||
};
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue