feat: add home configuration for gentoo system.

This commit is contained in:
CronyAkatsuki 2026-02-25 11:40:34 +01:00
parent acd741c7a4
commit 2c325f63bd
2 changed files with 37 additions and 0 deletions

View file

@ -166,6 +166,7 @@
git-hooks,
nix-on-droid,
deploy-rs,
home-manager,
...
} @ inputs: let
hostsData = import ./hosts.nix;
@ -236,6 +237,12 @@
})
hostsData;
homeConfigurations."crony" = home-manager.lib.homeManagerConfiguration {
extraSpecialArgs = {inherit inputs;};
pkgs = nixpkgs.legacyPackages.x86_64-linux;
modules = [./hosts/gentoo/home.nix];
};
devShells = {
x86_64-linux.default = let
system = "x86_64-linux";

30
hosts/gentoo/home.nix Normal file
View file

@ -0,0 +1,30 @@
{
config,
pkgs,
...
}: {
home.username = "crony";
home.homeDirectory = "/home/crony";
home.packages = [
pkgs.sesh
];
home.sessionVariables = {
};
programs.home-manager.enable = true;
nix = {
package = pkgs.nix;
settings.experimental-features = ["nix-command" "flakes"];
};
programs.nh = {
enable = true;
flake = "/home/crony/repos/nix-conf";
homeFlake = "/home/crony/repos/nix-conf";
};
home.stateVersion = "25.11"; # Please read the comment before changing.
}