first
This commit is contained in:
46
users/m3tam3re/default.nix
Normal file
46
users/m3tam3re/default.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{ config,
|
||||
lib,
|
||||
systemConfig ? {},
|
||||
...}:
|
||||
{
|
||||
imports = [
|
||||
../../modules
|
||||
];
|
||||
config = lib.mkMerge [
|
||||
{
|
||||
home = {
|
||||
username = "m3tam3re";
|
||||
homeDirectory = lib.mkDefault "/home/${config.home.username}";
|
||||
stateVersion = "25.05";
|
||||
};
|
||||
programs = {
|
||||
home-manager.enable = true;
|
||||
|
||||
git = {
|
||||
enable = true;
|
||||
difftastic.enable = true;
|
||||
userName = "m3tam3re";
|
||||
userEmail = "m@m3tam3re.com";
|
||||
aliases = {
|
||||
st = "status";
|
||||
logd = "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit";
|
||||
};
|
||||
extraConfig = {
|
||||
core.excludesfile = "~/.gitignore_global";
|
||||
init.defaultBranch = "master";
|
||||
};
|
||||
};
|
||||
|
||||
jujutsu = {
|
||||
enable = true;
|
||||
settings = {
|
||||
user = {
|
||||
email = "m@m3tam3re.com";
|
||||
name = "Sascha Koenig";
|
||||
};
|
||||
};
|
||||
};
|
||||
};}
|
||||
(lib.mkIf (systemConfig != {}) systemConfig)
|
||||
];
|
||||
}
|
9
users/m3tam3re/profiles/server.nix
Normal file
9
users/m3tam3re/profiles/server.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{...}: {
|
||||
features = {
|
||||
cli = {
|
||||
shell.nushell.enable = true;
|
||||
shell.nitch.enable = true;
|
||||
tools.fzf.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user