81 lines · 1.4 KB
{
  home-manager,
  pkgs,
  system ? "x86_64-linux",
  hostname,
  helix,
}: let
  helixPackage =
    if hostname == ""
    then pkgs.helix
    else helix.packages.${system}.default;

  overlays = [
    (import ./fonts/external.nix)
  ];

  extraModules =
    (
      if pkgs.stdenv.isLinux && hostname != "headless"
      then [
        {
          home.packages = with pkgs; [
            brave
            dunst
            feh
            firefox
            gcolor2
            gthumb
            shotgun
            slop
            xfce.thunar
          ];
        }
        ./alacritty.nix
        ./discord.nix
        ./picom.nix
        ./rofi
        ./x11
        ./xmonad
      ]