nix-starter-configs/home-manager/home.nix

26 lines
851 B
Nix
Raw Normal View History

2021-12-16 13:36:16 -08:00
# This is your home-manager configuration file
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
{ inputs, lib, config, pkgs, ... }: {
2021-12-16 12:48:46 -08:00
imports = [
2021-12-16 13:05:07 -08:00
# If you want to use home-manager modules from other flakes (such as nix-colors), use something like:
# inputs.nix-colors.homeManagerModule
2021-12-16 13:05:07 -08:00
# Feel free to split up your configuration and import pieces of it here.
2021-12-16 12:48:46 -08:00
];
2021-12-16 13:36:16 -08:00
# Comment out if you wish to disable unfree packages for your system
2021-12-16 13:05:07 -08:00
nixpkgs.config.allowUnfree = true;
# Add stuff for your user as you see fit:
2021-12-16 12:48:46 -08:00
# programs.neovim.enable = true;
2021-12-16 13:36:16 -08:00
# home.packages = with pkgs; [ steam ];
2021-12-16 13:05:07 -08:00
# Enable home-manager and git
programs.home-manager.enable = true;
programs.git.enable = true;
# Nicely reload system units when changing configs
2021-12-16 13:36:16 -08:00
systemd.user.startServices = "sd-switch";
2021-12-16 12:48:46 -08:00
}