summaryrefslogtreecommitdiff
path: root/kusanagi/nixpkgs/home.nix
blob: eae4f968fd13f91c4fa4a650b2ac9d58a7244805 (plain) (blame)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{ pkgs, ...}: {
  home.username = "lx";
  home.homeDirectory = "/home/lx";

  programs.bash = {
    enable = true;
  };
  programs.keychain = {
    enable = true;
    enableBashIntegration = true;
    keys = [
      "/home/lx/.ssh/id_ed25519"
    ];
  };
  programs.vim = {
    enable = true;
    extraConfig = (builtins.readFile ../vim/vimrc);
    plugins = with pkgs.vimPlugins; [
      vim-nix
      fzf-vim
      nerdtree
    ];
  };

  programs.git.enable = true;
  programs.git.userName = "Alex Auvolat";
  programs.git.userEmail = "alex@adnab.me";

  home.file = {
    ".config/tmux/tmux.conf".source = ../tmux/tmux.conf;
  };

  xsession.enable = true;

  xdg.enable = true;
  xdg.userDirs = {
    download = "/home/lx/Downloads";
    desktop = null;
    documents = null;
    pictures = null;
    music = null;
    publicShare = null;
    templates = null;
    videos = null;
  };

  services.syncthing.enable = true;

  nixpkgs.config.allowUnfree = true;

  home.stateVersion = "22.11";
}