-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.nix
34 lines (33 loc) · 1.11 KB
/
home.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ config, lib, pkgs, vars, ... }: {
# Home Manager needs a bit of information about you and the paths it should
# manager
home.username = "fran";
home.homeDirectory = vars.home;
nixpkgs.config.allowUnfree = true;
# You should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager
# release notes.
home.stateVersion = "24.05"; # Please read the comment before changing.
home.packages = import ./nix-configs/packages.nix {
config = config;
pkgs = pkgs;
};
home.file = {
".config/doom" = {
source = ./doom;
recursive = true;
};
};
home.sessionVariables = {
# The best $EDITOR
EDITOR = "vim";
};
# Manage XDG env variables for Linux programs.
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
programs.tmux.enable = true;
programs.vim = import ./nix-configs/vim.nix { };
programs.fish = import ./nix-configs/fish.nix { pkgs = pkgs; };
programs.git = import ./nix-configs/git.nix { };
programs.direnv = import ./nix-configs/direnv.nix;
}