move common imports

This commit is contained in:
2024-08-08 13:12:28 +05:30
parent 69486b7df4
commit fd92021844
10 changed files with 28 additions and 17 deletions

41
hosts/common/home.nix Normal file
View File

@ -0,0 +1,41 @@
{
outputs,
username,
...
}: {
imports = [
../../modules/home-manager/shell
../../modules/home-manager/git
../../modules/home-manager/starship
../../modules/home-manager/nvim
../../modules/home-manager/tmux
../../modules/home-manager/helix
];
nixpkgs = {
overlays = [
outputs.overlays.additions
outputs.overlays.modifications
outputs.overlays.unstable-packages
outputs.overlays.nur
outputs.overlays.nix-vscode-extensions
];
config = {
allowUnfree = true;
allowUnfreePredicate = _: true;
joypixels.acceptLicense = true;
};
};
home = {
username = "${username}";
homeDirectory = "/home/${username}";
};
programs.home-manager.enable = true;
systemd.user.startServices = "sd-switch";
home.stateVersion = "23.11";
}