mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-06 13:06:35 +05:30
move common imports
This commit is contained in:
41
hosts/common/home.nix
Normal file
41
hosts/common/home.nix
Normal 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";
|
||||
}
|
Reference in New Issue
Block a user