John Lancaster 0260f44582 added sops
2025-07-04 01:40:55 -05:00
2025-07-04 01:11:18 -05:00
2025-07-04 00:57:44 -05:00
2025-07-04 01:28:54 -05:00
2025-07-04 01:40:55 -05:00
2025-07-02 17:58:30 -05:00
2025-06-30 18:27:45 -05:00
2025-07-02 17:58:30 -05:00

JSL Home

Usage

Shell alias for "nix home manager update"

nhmu

Function

{
  description = "Machine-specific Home Manager configuration";

  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
    john-home-config = {
      url = "git+https://gitea.john-stream.com/john/home-manager";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };

  outputs =
    { nixpkgs, ... }@inputs:
    let
      system = "x86_64-linux";
      pkgs = nixpkgs.legacyPackages.${system};
      mkHomeJSL = inputs.john-home-config.lib.mkHomeConfiguration;
      userName = "john";
    in
    {
      homeConfigurations."${userName}" = mkHomeJSL userName;
    };
}

Module

{
  description = "Home Manager configuration of john";

  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
    home-manager = {
      url = "github:nix-community/home-manager";
      inputs.nixpkgs.follows = "nixpkgs";
    };
    john-home-config = {
      url = "path:/home/john/home-manager";
      inputs.nixpkgs.follows = "nixpkgs";
      inputs.home-manager.follows = "home-manager";
    };
  };

  outputs =
    { nixpkgs, ... }@inputs:
    let
      system = "x86_64-linux";
      pkgs = nixpkgs.legacyPackages.${system};
      homeManagerConfiguration = inputs.home-manager.lib.homeManagerConfiguration;
      jslDefault = inputs.john-home-config.homeManagerModules.default;
      userName = "john";
    in
    {
      homeConfigurations."${userName}" = homeManagerConfiguration {
        inherit pkgs;
        modules = [
          jslDefault {
            user = "${userName}";
            # Add any additional configuration here
          }
          ./home.nix
          # Add other home manager modules here
        ];
      };
    };
}
Description
Home Manager configurations and modules specifically for JSL
Readme 313 KiB
Languages
Nix 100%