flakes/base-system/home.nix
2023-11-08 22:14:57 +01:00

54 lines
1.1 KiB
Nix

{ pkgs, ... }:
{
# Set username and home directory
home = {
username = "twoneis";
homeDirectory = "/home/twoneis";
file = {
".gef.rc" = {
source = ./dotfiles/gdb/gef-for-c;
# source = ./dotfiles/gdb/gef-for-asm
};
".gdbinit" = {
source = ./dotfiles/gdb/gdb-for-c;
# source = ./dotfiles/gdb/gdb-for-asm;
};
};
};
programs = {
home-manager = {
enable = true;
};
bash = {
shellAliases = {
up = "nix flake update /home/twoneis/.flakes/base-system &&
sudo nixos-rebuild switch --flake /home/twoneis/.flakes/base-system";
ll = "ls -al";
};
};
git = {
enable = true;
userName = "twoneis";
userEmail = "sanjay29@sapura.de";
};
helix = {
enable = true;
defaultEditor = true;
settings = import ./dotfiles/helix/config.nix;
themes = import ./dotfiles/helix/rosepine.nix;
};
alacritty = {
enable = true;
settings = import ./dotfiles/alacritty/alacritty.nix;
};
};
home.stateVersion = "18.09";
}