-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.nix
79 lines (69 loc) · 1.49 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
{ pkgs, ... }:
let
nixvim = import (builtins.fetchGit {
url = "https://github.com/nix-community/nixvim";
});
in
{
imports = [
nixvim.homeManagerModules.nixvim
./nixvimPlugins/cmp.nix
./nixvimPlugins/copilot.nix
./nixvimPlugins/formatter_linter.nix
./nixvimPlugins/luasnip.nix
./nixvimPlugins/preview.nix
./nixvimPlugins/telescope.nix
./nixvimPlugins/comment.nix
./nixvimPlugins/emmet.nix
./nixvimPlugins/nvim_ui.nix
./nixvimPlugins/syntax_color_highlight.nix
./nixvimPlugins/lsp.nix
./nixvimPlugins/git.nix
./nixvimPlugins/keymaps.nix
./programs/zsh.nix
./programs/git.nix
./programs/nixvim.nix
./display/gtk.nix
./display/dconf.nix
];
nixpkgs = {
config = {
allowUnfree = true;
allowUnfreePredicate = _: true;
};
};
home = {
username = "yoh";
homeDirectory = "/home/yoh";
stateVersion = "24.05";
packages = with pkgs; [
# Gnome
gnomeExtensions.vitals
gnomeExtensions.user-themes
gnomeExtensions.dash-to-panel
gnomeExtensions.gtile
# Utils
htop
bat
xclip
wget
zsh
zsh-syntax-highlighting
# Developpement
git
direnv
nix-direnv
alejandra
];
sessionVariables.GTK_THEME = "Everforest-Dark-BL-LB";
sessionVariables = {
EDITOR = "nvim";
SHELL = "/home/yoh/.nix-profile/bin/zsh";
};
};
programs = {
home-manager = {
enable = true;
};
};
}