Add more scripts, more cleanup
This commit is contained in:
@ -19,19 +19,16 @@
|
||||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.modules.alacritty;
|
||||
in
|
||||
{
|
||||
options.modules.alacritty = {
|
||||
enable = mkOption { default = false; };
|
||||
enable = lib.mkOption { default = false; };
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
# Does not work on non-nixos due to opengl
|
||||
# home.packages = with pkgs; [ alacritty ];
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [ (lib.mkIf config.modules.non-nixos.is-nixos alacritty) ];
|
||||
|
||||
home.file = {
|
||||
".config/alacritty/theme".source = "${inputs.alacritty-theme}";
|
||||
|
Reference in New Issue
Block a user