all repos — dotfiles @ c4037106d723b0b3e78fc94a18c824197058a5e0

my *nix dotfiles

nix/home.nix (view raw)

 1{ config
 2, pkgs
 3, theme
 4, self
 5, ...
 6}:
 7
 8{
 9
10  imports = [
11    ./programs
12    ./services
13    ./x
14    ./mail.nix
15  ];
16
17  home.stateVersion = "21.05";
18  home.username = "icy";
19  home.homeDirectory = "/home/icy";
20  home.extraOutputsToInstall = [ "man" ];
21  home.packages = with pkgs; [
22
23    git
24    unzip
25    curl
26    tmux
27    weechat
28    xclip
29    ripgrep
30    arandr
31    imagemagick
32    ffmpeg
33    wget
34    tree
35    mpv
36    w3m
37    noto-fonts-emoji
38    jq
39    yq
40    sxiv
41    feh
42    st
43    fzy
44    xorg.xmodmap
45    kubectl
46    slack
47    nixpkgs-fmt
48    libnotify
49    signal-desktop
50    aerc
51    calibre
52    pinentry
53
54  ] ++ (import ./bin { inherit pkgs theme; });
55
56  xdg = {
57    userDirs = {
58      enable = true;
59      desktop = "\$HOME/desktop";
60      documents = "\$HOME/docs";
61      download = "\$HOME/downloads";
62      pictures = "\$HOME/pics";
63      videos = "\$HOME/vids";
64    };
65  };
66
67  xsession = {
68    enable = true;
69    windowManager.command = "cwm";
70    initExtra = ''
71      ${pkgs.xorg.setxkbmap}/bin/setxkbmap us,ru -option grp:ctrls_toggle
72      ${pkgs.xorg.xrdb}/bin/xrdb -load $HOME/.Xresources
73      bar &
74    '';
75  };
76
77}