@@ -0,0 +1,15 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
in
|
||||
{
|
||||
options.smayzy.alacritty.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "alacritty";
|
||||
};
|
||||
|
||||
config = mkIf config.smayzy.alacritty.enable {
|
||||
environment.systemPackages = with pkgs; [ alacritty ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./alacritty.nix
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user