home-manager @ master

 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      sessionVariables = {
28        LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
29      };
30    in {
31      "gabrielgio@workstation.lan" = home-manager.lib.homeManagerConfiguration {
32        inherit pkgs;
33
34        extraSpecialArgs = {
35          inherit inputs;
36        };
37
38        modules = [
39          ./git-settings.nix
40          ./home.nix
41          ./secrets/gridx/gridx.nix
42        ];
43      };
44      "gabrielgio@homestation.lan" = home-manager.lib.homeManagerConfiguration {
45        inherit pkgs;
46
47        extraSpecialArgs = {
48          inherit inputs;
49        };
50
51        modules = [
52          ./git-settings.nix
53          ./home.nix
54          ./secrets/home/home.nix
55        ];
56      };
57    };
58  };
59}