-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome.nix
More file actions
50 lines (46 loc) · 1 KB
/
home.nix
File metadata and controls
50 lines (46 loc) · 1 KB
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
{ config, pkgs, ... }:
with pkgs.lib;
let
packages = map (p: pkgs."${p}")
(filter (x: x != "")
(splitString "\n" (readFile ./packages.lst)));
in
{
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
home = rec {
username = "chisui";
homeDirectory = "/home/${username}";
sessionVariables = {
EDITOR = "vim";
};
inherit packages;
};
gtk = {
enable = true;
};
xsession.enable = true;
xsession.initExtra = ''
${pkgs.numlockx}/bin/numlockx on
xinput --set-prop "SynPS/2 Synaptics TouchPad" "libinput Accel Speed" 1.0
'';
xresources.properties = {
"Xft.dpi" = 200;
"Xcursor.size" = 64;
};
imports = [
./home/browserpass.nix
./home/chromium.nix
./home/direnv.nix
./home/firefox.nix
./home/git.nix
./home/gopass.nix
./home/i3.nix
./home/intellij.nix
./home/less.nix
./home/terminator.nix
./home/vscodium
./home/zsh.nix
];
home.stateVersion = "21.03"; # DON'T CHANGE
}