This commit is contained in:
cnst
2024-07-03 20:32:23 +02:00
parent 789d2d0867
commit cca2745dfa
620 changed files with 49 additions and 12 deletions

41
home/users/adam/home.nix Normal file
View File

@@ -0,0 +1,41 @@
# This is your home-manager configuration file
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
{
inputs,
lib,
config,
pkgs,
...
}: {
# You can import other home-manager modules here
imports = [
../core/adam.nix
../extra/adam.nix
];
nixpkgs = {
# You can add overlays here
overlays = [];
# Configure your nixpkgs instance
config = {
# Disable if you don't want unfree packages
allowUnfree = true;
# Workaround for https://github.com/nix-community/home-manager/issues/2942
allowUnfreePredicate = _: true;
};
};
# TODO: Set your username
home = {
username = "adam";
homeDirectory = "/home/adam";
};
programs.home-manager.enable = true;
# Nicely reload system units when changing configs
systemd.user.startServices = "sd-switch";
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "24.05";
}