aboutsummaryrefslogtreecommitdiff
path: root/home-manager/home.nix
blob: 4bbf9ce541f29b9cf1584daac30f43a3d7af2ca5 (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{ config, pkgs, lib, inputs, ... }:

let
  username = "jerpo";
  homeDirectory = "/home/${username}";
  configHome = "${homeDirectory}/.config";
  sysPkgs = with pkgs; [
    ripgrep
    fd
    tldr
    unzip
    wget
    htop
    jq
    bat
    rustup
    python3Full
    silver-searcher
    fzf
    wineWowPackages.full
    wineWowPackages.fonts
    winetricks
    pamixer
    nix-prefetch-scripts
    libtool
  ];
  yeahGamingPkgs = with pkgs; [
    vkd3d
    nvtop-nvidia
    dxvk
    lutris
    steam
    mangohud
    gamemode
  ];
  defaultPkgs = with pkgs; [
    firefox
    minicava
    droidcam
    source-code-pro
    pokemon-colorscripts-mac
    kitty
    libreoffice
    telegram-desktop
    feh
    betterlockscreen
    xdragon
    obsidian
    xclip
    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 ++ yeahGamingPkgs ++ sysPkgs;
  };

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

  programs.home-manager.enable = true;

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