66 lines
1.3 KiB
Nix
66 lines
1.3 KiB
Nix
{ 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;
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
eboskma = {
|
|
programs = {
|
|
bat.enable = true;
|
|
git = {
|
|
enable = true;
|
|
name = "Erwin Boskma";
|
|
email = "erwin@datarift.nl";
|
|
};
|
|
neovim.enable = true;
|
|
nushell.enable = true;
|
|
ssh.enable = true;
|
|
starship.enable = true;
|
|
};
|
|
};
|
|
|
|
|
|
programs = {
|
|
home-manager.enable = true;
|
|
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
|
|
];
|
|
};
|
|
|
|
|
|
xdg = {
|
|
enable = true;
|
|
};
|
|
|
|
imports = [
|
|
../../modules/options
|
|
inputs.anyrun.nixosModules.home-manager
|
|
] ++ (map (mod: (../../home-manager/modules + "/${mod}")) (builtins.attrNames (builtins.readDir ../../home-manager/modules)));
|
|
|
|
};
|
|
programs.bandwhich.enable = true;
|
|
|
|
};
|
|
}
|