-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.nix
81 lines (75 loc) · 1.99 KB
/
home.nix
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
{ lib, pkgs, ... }:
{
home = {
# Home Manager needs a bit of information about you and the
# paths it should manage.
username = "saharrachamim";
homeDirectory = "/home/saharrachamim";
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
stateVersion = "22.05";
# Packages that should be installed to the user profile.
packages = [
pkgs.autorandr
pkgs.fnm
pkgs.google-chrome
pkgs.haskellPackages.alsa-core
pkgs.haskellPackages.alsa-mixer
pkgs.neofetch
pkgs.nerdfonts
pkgs.ranger
pkgs.ripgrep
pkgs.scrot
pkgs.soco-cli
pkgs.speedtest-cli
pkgs.spotify
pkgs.xclip
pkgs.xorg.xrandr
];
file = {
"neofetch-config.conf" = {
source = ./file/neofetch/config.conf;
target = ".config/neofetch/config.conf";
};
"sd-layout_switch.sh" = {
executable = true;
source = ./file/sd/layout_switch.sh;
target = ".config/sd/layout_switch.sh";
};
"tmuxinator-fg.yaml" = {
source = ./file/tmuxinator/fg.yaml;
target = ".config/tmuxinator/fg.yaml";
};
"Xclients" = {
source = ./file/.Xclients;
target = ".Xclients";
};
};
sessionVariables = {
CLICOLOR_FORCE = "true";
EDITOR = "vim";
FZF_DEFAULT_COMMAND = "rg --files --follow --hidden";
LANG = "en_GB.UTF-8";
LC_ALL = "en_GB.UTF-8";
LC_CTYPE = "en_GB.UTF-8";
SHELL = "${pkgs.zsh}/bin/zsh";
VISUAL = "vim";
};
};
imports = [
./fonts.nix
./gtk.nix
./keyboard.nix
./nixpkgs.nix
./programs.nix
./targets.nix
./xdg.nix
./xsession.nix
];
}