home-manager @ bec6421e62d732aa1f17c2fcc968d5b6731e26a2

 1{
 2  description = "My Home Manager Flake";
 3
 4  inputs = {
 5    nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
 6    home-manager = {
 7      url = "github:nix-community/home-manager";
 8      inputs.nixpkgs.follows = "nixpkgs";
 9    };
10
11    gxctl.url = "git+ssh://git@github.com/grid-x/gxctl";
12    edge-tools.url = "git+ssh://git@github.com/grid-x/edge-tools";
13  };
14
15  outputs = inputs @ {
16    self,
17    nixpkgs,
18    home-manager,
19    gxctl,
20    ...
21  }: {
22    defaultPackage.x86_64-linux = home-manager.defaultPackage.x86_64-linux;
23    homeConfigurations = let
24      pkgs = import nixpkgs {
25        system = "x86_64-linux";
26      };
27    in {
28      "gabrielgio@workstation.lan" = home-manager.lib.homeManagerConfiguration {
29        inherit pkgs;
30
31        extraSpecialArgs = {
32          inherit inputs;
33        };
34
35        modules = [
36          ./git-settings.nix
37          ./home.nix
38          ./secrets/gridx/gridx.nix
39        ];
40      };
41      "gabrielgio@homestation.lan" = home-manager.lib.homeManagerConfiguration {
42        inherit pkgs;
43
44        extraSpecialArgs = {
45          inherit inputs;
46        };
47
48        modules = [
49          ./git-settings.nix
50          ./home.nix
51          ./secrets/home/home.nix
52        ];
53      };
54    };
55  };
56}