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 ./home.nix
37 ./secrets/gridx/gridx.nix
38 ];
39 };
40 "gabrielgio@homestation.lan" = home-manager.lib.homeManagerConfiguration {
41 inherit pkgs;
42
43 extraSpecialArgs = {
44 inherit inputs;
45 };
46
47 modules = [
48 ./home.nix
49 ];
50 };
51 };
52 };
53}