diff --git a/flake.nix b/flake.nix index 3ba719b..fcd9e5c 100644 --- a/flake.nix +++ b/flake.nix @@ -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"; diff --git a/hosts/gentoo/home.nix b/hosts/gentoo/home.nix new file mode 100644 index 0000000..266dd9b --- /dev/null +++ b/hosts/gentoo/home.nix @@ -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. +}