Working checkpoint towards unified modules

This commit is contained in:
marc
2022-11-16 23:51:57 +01:00
parent 882c04a6bf
commit cfcc374a69
8 changed files with 12 additions and 12 deletions

View File

@@ -1,21 +0,0 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.samfelag.modules.app.alacritty;
in
{
options.samfelag.modules.app.alacritty = {
enable = mkEnableOption "alacritty";
};
config = mkIf cfg.enable {
fonts.fontconfig.enable = true;
home.packages = with pkgs; [
alacritty
(nerdfonts.override { fonts = [ "Iosevka" ]; })
];
xdg.configFile."alacritty".source = ../../../config/.config/alacritty;
};
}

View File

@@ -2,7 +2,7 @@
{
imports = [
./alacritty.nix
# ./alacritty.nix
./discord.nix
./spotify.nix
];

View File

@@ -32,8 +32,6 @@ in
polybar.enable = true;
};
app.alacritty.enable = true;
};
services.picom.enable = true;