aboutsummaryrefslogtreecommitdiff
path: root/home-manager/home/home.nix
blob: 1a1f3fa9d4cf1801870efa0d6c9f93c134a3ef75 (plain)
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
54
55
56
57
58
59
60
61
62
63
64
{ config, pkgs, lib, inputs, ... }:

let
  username = "jerpo";
  homeDirectory = "/home/${username}";
  configHome = "${homeDirectory}/.config";
  defaultPkgs = with pkgs; [
    bat
    emacs
    nerdfonts
    pokemon-colorscripts-mac
    kitty
    telegram-desktop
    feh
    htop
    ranger
    betterlockscreen
    polybar
    xdragon
    obsidian
    xclip
    lutris
    steam
    mangohud
    gamemode
    vkdt
    transmission-gtk
    rubik
    obsidian
    osu-lazer
    spotify
    figma-linux
    easyeffects
    darktable
  ];
  pythonPkgs = with pkgs.python311Packages; [
    python-lsp-server
    pyls-flake8
    python-lsp-black
  ];
in
{
  home = {
    inherit username homeDirectory;
    stateVersion = "23.05";
    packages = defaultPkgs ++ pythonPkgs;
    sessionVariables = {
      DISPLAY = ":0";
    };
  };

  xdg = {
    inherit configHome;
    enable = true;
  };

  programs.home-manager.enable = true;

  imports = builtins.concatMap import [
    ./programs
    ./services
    ./wm
  ];
}