This commit is contained in:
parent
c5ef752a66
commit
1585912162
@ -21,6 +21,7 @@
|
|||||||
./ide
|
./ide
|
||||||
./ebook
|
./ebook
|
||||||
./cad
|
./cad
|
||||||
|
./terminal
|
||||||
];
|
];
|
||||||
|
|
||||||
# Timzone and locales (same for all machines so I put it here)
|
# Timzone and locales (same for all machines so I put it here)
|
||||||
|
|||||||
@ -43,6 +43,7 @@ in
|
|||||||
freecad.enable = true;
|
freecad.enable = true;
|
||||||
fritzing.enable = true;
|
fritzing.enable = true;
|
||||||
aegisub.enable = true;
|
aegisub.enable = true;
|
||||||
|
alacritty.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
15
modules/nix/terminal/alacritty.nix
Normal file
15
modules/nix/terminal/alacritty.nix
Normal file
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
6
modules/nix/terminal/default.nix
Normal file
6
modules/nix/terminal/default.nix
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./alacritty.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user