feat: add home configuration for gentoo system.
This commit is contained in:
parent
acd741c7a4
commit
2c325f63bd
2 changed files with 37 additions and 0 deletions
|
|
@ -166,6 +166,7 @@
|
||||||
git-hooks,
|
git-hooks,
|
||||||
nix-on-droid,
|
nix-on-droid,
|
||||||
deploy-rs,
|
deploy-rs,
|
||||||
|
home-manager,
|
||||||
...
|
...
|
||||||
} @ inputs: let
|
} @ inputs: let
|
||||||
hostsData = import ./hosts.nix;
|
hostsData = import ./hosts.nix;
|
||||||
|
|
@ -236,6 +237,12 @@
|
||||||
})
|
})
|
||||||
hostsData;
|
hostsData;
|
||||||
|
|
||||||
|
homeConfigurations."crony" = home-manager.lib.homeManagerConfiguration {
|
||||||
|
extraSpecialArgs = {inherit inputs;};
|
||||||
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||||
|
modules = [./hosts/gentoo/home.nix];
|
||||||
|
};
|
||||||
|
|
||||||
devShells = {
|
devShells = {
|
||||||
x86_64-linux.default = let
|
x86_64-linux.default = let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
|
||||||
30
hosts/gentoo/home.nix
Normal file
30
hosts/gentoo/home.nix
Normal 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.
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue