-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.nix
51 lines (41 loc) · 1.33 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
{
config,
pkgs,
inputs,
lib,
...
}:
{
imports = [ ./home ];
# nix.package = pkgs.nix;
# nixpkgs.config.allowUnfree = true;
# Home Manager needs a bit of information about you and the paths it should
# manage.
home.activation = {
resetLaunchPad = lib.hm.dag.entryAfter [ "installPackages" ] ''
echo "Restarting Dock to refresh Launchpad..."
run /usr/bin/killall Dock
'';
};
# 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 should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager
# release notes.
home.stateVersion = "23.11"; # Please read the comment before changing.
# The home.packages option allows you to install Nix packages into your
# environment.
# Home Manager is pretty good at managing dotfiles. The primary way to manage
# plain files is through 'home.file'.
# if you don't want to manage your shell through Home Manager.
home.sessionVariables = {
EDITOR = "micro";
};
home.sessionPath = [
"$HOME/.local/bin"
];
# Let Home Manager install and manage itself.
# programs.home-manager.enable = true;
}