nixfiles/home-manager/work.nix

35 lines
530 B
Nix

{ pkgs, config, lib, ... }:
{
imports = [
./common.nix
];
options.work-user = {
username = lib.mkOption {
default = "work";
type = lib.types.str;
};
};
config =
let
cfg = config.work-user;
in
{
home.username = cfg.username;
home.homeDirectory = "/home/${cfg.username}";
home.packages = with pkgs; [
firefox # Yuck!
thunderbird
slack
dbeaver
];
programs.helix.extraPackages = [
pkgs.nodePackages_latest.intelephense
];
};
}