aboutsummaryrefslogtreecommitdiff
path: root/home-manager/home.nix
blob: 75c2d03cf8ee8efa455bbae8700d48d3c134cab7 (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
86
{ config, pkgs, lib, inputs, ... }:

let
  username = "jerpo";
  homeDirectory = "/home/${username}";
  configHome = "${homeDirectory}/.config";
  cliPkgs = with pkgs; [
    fd
    glib
    tldr
    wget
    htop
    jq
    bat
    python311
    fzf
    wineWowPackages.full
    wineWowPackages.fonts
    winetricks
    nix-prefetch-scripts
    libtool
    bluetuith
    steam-run
    unzip
    ghostscript
    g-ls
    wayvnc
    draw
    xdragon
  ];
  gamingPkgs = with pkgs; [
    vulkan-tools
    vkd3d
    dxvk
    lutris
    mangohud
    gamemode
    opentabletdriver
    bottles
    steam
  ];
  guiPkgs = with pkgs; [
    ansel
    libreoffice-fresh
    clash-verge
    pokemon-colorscripts
    telegram-desktop
    transmission-gtk
    osu-lazer-bin
    easyeffects
    obs-studio
  ];
  fonts = with pkgs; [
    rubik
    source-code-pro
    material-design-icons
    font-awesome
  ];
  nonListImports = [
    inputs.hyprland.homeManagerModules.default
    inputs.ags.homeManagerModules.default
    ./themes
  ];
  imports = builtins.concatMap import [
    ./programs
    ./services
    ./wm
  ] ++ nonListImports;

in
{
  inherit imports;
  
  home = {
    inherit username homeDirectory;
    stateVersion = "23.05";
    packages = guiPkgs ++ gamingPkgs ++ cliPkgs ++ fonts;
  };

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

  programs.home-manager.enable = true;
}