Add home-manager configuration for regin
This commit is contained in:
parent
b73a53c427
commit
92b18ae0d8
1 changed files with 58 additions and 0 deletions
58
machines/regin/home.nix
Normal file
58
machines/regin/home.nix
Normal file
|
@ -0,0 +1,58 @@
|
|||
{ 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;
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
programs.command-not-found.enable = true;
|
||||
|
||||
home.username = "erwin";
|
||||
home.homeDirectory = "/home/erwin";
|
||||
|
||||
home.stateVersion = "23.05";
|
||||
|
||||
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;
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
atool
|
||||
bottom
|
||||
btop
|
||||
fd
|
||||
iotop
|
||||
procs
|
||||
ripgrep
|
||||
units
|
||||
];
|
||||
|
||||
xdg = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
imports = [
|
||||
../../modules/options
|
||||
] ++ (map (mod: (../../home-manager/modules + "/${mod}")) (builtins.attrNames (builtins.readDir ../../home-manager/modules)));
|
||||
|
||||
};
|
||||
programs.bandwhich.enable = true;
|
||||
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue