-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.nix
29 lines (27 loc) · 892 Bytes
/
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
{ config, pkgs, ... }:
let
customNeovim = import "/home/ubuntu/nix/vim.nix";
in
{
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "ubuntu";
home.homeDirectory = "/home/ubuntu";
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "22.11";
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
programs.git.enable = true;
programs.neovim = customNeovim pkgs;
xdg.configFile.nvim = {
source = /home/ubuntu/nix/nvim;
recursive = true;
};
}