33 lines
644 B
Nix
33 lines
644 B
Nix
|
{ inputs, outputs, lib, config, pkgs, ... }: {
|
||
|
imports = [
|
||
|
|
||
|
];
|
||
|
|
||
|
nixpkgs = {
|
||
|
# You can add overlays here
|
||
|
overlays = [
|
||
|
];
|
||
|
|
||
|
# Configure your nixpkgs instance
|
||
|
config = {
|
||
|
allowUnfree = true;
|
||
|
allowUnfreePredicate = (_: true);
|
||
|
};
|
||
|
};
|
||
|
|
||
|
home = {
|
||
|
username = "rafael";
|
||
|
homeDirectory = "/home/rafael";
|
||
|
};
|
||
|
|
||
|
# Enable home-manager and git
|
||
|
programs.home-manager.enable = true;
|
||
|
programs.git.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 = "22.11";
|
||
|
}
|