blob: cae5d0ae56cf2adab52c275e0108d110772ccd6c [file] [log] [blame]
Giorgi Lekveishvilib455d952024-09-03 23:40:53 +04001# This is your home-manager configuration file
2# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
3{
4 inputs,
5 lib,
6 config,
7 pkgs,
8 ...
9}: {
10 # You can import other home-manager modules here
11 imports = [
12 # If you want to use home-manager modules from other flakes (such as nix-colors):
13 # inputs.nix-colors.homeManagerModule
14
15 # You can also split up your configuration and import pieces of it here:
16 # ./nvim.nix
17 ];
18
19 nixpkgs = {
20 # You can add overlays here
21 overlays = [
22 # If you want to use overlays exported from other flakes:
23 # neovim-nightly-overlay.overlays.default
24
25 # Or define it inline, for example:
26 # (final: prev: {
27 # hi = final.hello.overrideAttrs (oldAttrs: {
28 # patches = [ ./change-hello-to-hi.patch ];
29 # });
30 # })
31 ];
32 # Configure your nixpkgs instance
33 config = {
34 # Disable if you don't want unfree packages
35 allowUnfree = true;
36 # Workaround for https://github.com/nix-community/home-manager/issues/2942
37 allowUnfreePredicate = _: true;
38 };
39 };
40
41 # TODO: Set your username
42 home = {
43 username = "gio";
44 homeDirectory = "/home/gio";
45 };
46
47 # Add stuff for your user as you see fit:
48 # programs.neovim.enable = true;
49 # home.packages = with pkgs; [ steam ];
50
51 # Enable home-manager and git
52 programs.home-manager.enable = true;
53 programs.git.enable = true;
54
55 # Nicely reload system units when changing configs
56 systemd.user.startServices = "sd-switch";
57
58 # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
59 home.stateVersion = "24.05";
60}