summaryrefslogtreecommitdiff
path: root/modules/home.nix
blob: 3134961bb2eb19adf90d51ea7629ada3c75179e6 (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, ... }:

{
  home-manager.users.${config.user} = {

    home.username = config.user;
    home.homeDirectory = config.homePath;

    news.display = "silent";
    fonts.fontconfig.enable = true;
    nixpkgs.config.allowUnfree = true;

    home.packages = with pkgs; [
      # c / c++
      gcc
      nasm
      pkg-config
      # rust
      rustc
      rustfmt
      rust-analyzer
      cargo
      clippy
      # programs
      cage
      easyeffects
      discord
      element-desktop
      fd
      gamescope
      gajim
      gimp
      imagemagick
      libnotify
      mpv
      pavucontrol
      pfetch-rs
      rsync
      starship
      steam
      thunderbird
      wine
      wl-clipboard
      wl-clip-persist
      wl-mirror
      yt-dlp
      zathura
      # gtk
      orchis-theme
    ];

    home.file = {
      ".ssh/config".source = ../files/config/ssh/config;
      ".zshrc".source = ../files/config/zsh/zshrc;
      ".zprofile".source = ../files/config/zsh/zprofile;
    };

    xdg.configFile = {
      iris = {
        source = ../files/config/iris;
        recursive = true;
      };
      nvim = {
        source = ../files/config/nvim;
        recursive = true;
      };
    };

    xdg.dataFile = {
      fonts = {
        source = ../files/fonts;
        recursive = true;
      };
    };

    gtk = {
      enable = true;
      gtk3.extraConfig.gtk-application-prefer-dark-theme = 1;
    };

    programs.home-manager.enable = true;

  };
}