major restructuring for using snowfall

This commit is contained in:
2024-02-01 12:42:15 +01:00
parent d8e53f1f78
commit 67d23bcd9e
87 changed files with 24 additions and 164 deletions

View File

@ -0,0 +1,18 @@
{ config, lib, pkgs, inputs, ... }:
with lib;
let cfg = config.modules.alacritty;
in {
options.modules.alacritty = { enable = mkOption { default = false; }; };
config = mkIf cfg.enable {
# Does not work on non-nixos due to opengl
# home.packages = with pkgs; [ alacritty ];
home.file = {
".config/alacritty/theme".source = "${inputs.alacritty-theme}";
".config/alacritty/alacritty.toml".source = ./alacritty.toml;
};
};
}