aboutsummaryrefslogtreecommitdiff
path: root/home-manager/general/default.nix
blob: ebcdef0053471facff0040a0f5287518f9e037d8 (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
{ pkgs, inputs, ... }:
let 
  username = "jerpo";
  homeDirectory = "/home/${username}";
  configHome = "${homeDirectory}/.config";
  
  cliPkgs = with pkgs; [
    fd fh tldr xdg-utils
    wget btop jq unstable.devenv
    bat fzf nix-prefetch-scripts
    steam-run unzip ghostscript
    xdragon python311 ripgrep
    gcc pkg-config
  ];
  gamingPkgs = with pkgs; [
    vkd3d mangohud gamemode
    bottles steam
 ];
  guiPkgs = with pkgs; [
    vesktop libreoffice-fresh
    pokemon-colorscripts
    telegram-desktop
    transmission-gtk
    osu-lazer-bin
    brave bruno spmp
  ];

  imports = builtins.concatMap import [ ./programs ] ++ [ ./themes ];
in
{
  inherit imports;
  
  home = {
    inherit username homeDirectory;
    stateVersion = "23.05";
    packages = guiPkgs ++ gamingPkgs ++ cliPkgs;
    sessionVariables.FLAKE = "/home/jerpo/nixfiles";
  };

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

  programs.home-manager.enable = true;
}