Skip to content

Commit 9630831

Browse files
committed
feat(doc): Add Nix installation option
Signed-off-by: Steffen Vogel <[email protected]>
1 parent eb16ed3 commit 9630831

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,17 @@ Please adjust the environment variables in it and then run:
111111
docker compose up -d
112112
```
113113

114+
#### Nix
115+
116+
GoSƐ is available in [Nixpkgs](https://github.com/NixOS/nixpgks) as well as a flake:
117+
118+
```bash
119+
nix profile install nixpkgs#gose
120+
121+
# Or via our flake
122+
nix profile install github:stv0g/gose#gose
123+
```
124+
114125
## Configuration
115126

116127
GoSƐ can be configured via a configuration file and/or environment variables

flake.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@
3535
];
3636
};
3737

38-
packages.default = pkgs.callPackage ./default.nix { };
38+
packages = rec {
39+
gose = pkgs.callPackage ./default.nix { };
40+
default = gose;
41+
};
3942

4043
formatter = pkgs.nixfmt-rfc-style;
4144
}

0 commit comments

Comments
 (0)