mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-12-24 13:12:18 +00:00
35 lines
754 B
Nix
35 lines
754 B
Nix
{ outputs, lib, config, pkgs, ... }: {
|
|
imports = [ ../modules/tui ]
|
|
++ (builtins.attrValues outputs.homeManagerModules);
|
|
|
|
nixpkgs = {
|
|
overlays = builtins.attrValues outputs.overlays;
|
|
config = {
|
|
allowUnfree = true;
|
|
allowUnfreePredicate = (_: true);
|
|
};
|
|
};
|
|
|
|
nix = {
|
|
package = lib.mkDefault pkgs.nix;
|
|
settings = {
|
|
experimental-features = [ "nix-command" "flakes" ];
|
|
warn-dirty = false;
|
|
};
|
|
};
|
|
|
|
home = {
|
|
username = lib.mkDefault "john";
|
|
homeDirectory = lib.mkDefault "/home/${config.home.username}";
|
|
stateVersion = lib.mkDefault "24.11";
|
|
|
|
sessionVariables = { EDITOR = "nvim"; };
|
|
};
|
|
|
|
programs = {
|
|
home-manager.enable = true;
|
|
|
|
};
|
|
|
|
targets.genericLinux.enable = true;
|
|
}
|