2023-05-25 08:07:45 +02:00
|
|
|
{ pkgs, config, lib, inputs, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
cfg = config.eboskma.users.erwin;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
config = mkIf cfg.server {
|
|
|
|
home-manager.users.erwin = {
|
|
|
|
_module.args.flake-inputs = inputs;
|
|
|
|
|
|
|
|
eboskma = {
|
|
|
|
programs = {
|
|
|
|
bat.enable = true;
|
|
|
|
git = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.git;
|
|
|
|
name = "Erwin Boskma";
|
|
|
|
email = "erwin@datarift.nl";
|
|
|
|
};
|
|
|
|
neovim.enable = true;
|
|
|
|
nushell.enable = true;
|
|
|
|
ssh.enable = true;
|
|
|
|
starship.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-09-13 14:50:03 +02:00
|
|
|
programs.home-manager.enable = true;
|
|
|
|
programs.command-not-found.enable = true;
|
|
|
|
|
|
|
|
home = {
|
|
|
|
username = "erwin";
|
|
|
|
homeDirectory = "/home/erwin";
|
|
|
|
|
|
|
|
stateVersion = "23.05";
|
|
|
|
|
|
|
|
packages = with pkgs; [
|
|
|
|
atool
|
|
|
|
bottom
|
|
|
|
btop
|
|
|
|
fd
|
|
|
|
iotop
|
|
|
|
procs
|
|
|
|
ripgrep
|
|
|
|
units
|
|
|
|
];
|
|
|
|
};
|
2023-05-25 08:07:45 +02:00
|
|
|
|
|
|
|
xdg = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
imports = [
|
|
|
|
../../modules/options
|
|
|
|
] ++ (map (mod: (../../home-manager/modules + "/${mod}")) (builtins.attrNames (builtins.readDir ../../home-manager/modules)));
|
|
|
|
|
|
|
|
};
|
|
|
|
programs.bandwhich.enable = true;
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|