dotfiles/NixOS/home.nix

36 lines
733 B
Nix
Raw Normal View History

2024-05-31 14:52:02 +02:00
{ config, pkgs, ... }:
2024-05-31 14:37:28 +02:00
{
2024-05-31 15:20:29 +02:00
imports = [
(import ./modules/zsh.nix {inherit config pkgs;})
];
2024-05-31 14:55:36 +02:00
home.stateVersion = "24.11";
targets.genericLinux.enable = true;
nixpkgs.config.allowUnfree = true;
2024-05-31 14:52:02 +02:00
2024-05-31 15:20:29 +02:00
home.packages = with pkgs; [
htop
];
2024-05-31 14:55:36 +02:00
programs.bash.enable = true;
programs.home-manager.enable = true;
2024-05-31 15:20:29 +02:00
programs.neovim = {
enable = true;
viAlias = true;
vimAlias = true;
defaultEditor = true;
};
2024-05-31 14:52:02 +02:00
2024-05-31 14:55:36 +02:00
programs.git = {
enable = true;
userName = "Thomas Avé";
userEmail = "email@thomasave.be";
};
2024-05-31 14:52:02 +02:00
2024-05-31 15:20:29 +02:00
home.sessionVariables = {
EDITOR = "nvim";
LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib";
2024-05-31 14:55:36 +02:00
};
2024-05-31 14:37:28 +02:00
}