You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dc7e4fb
Browse filesBrowse the repository at this point in the historyBrowse files
The package is maintained in [nixpkgs](https://github.com/NixOS/nixpkgs/tree/nixos-unstable/pkgs/by-name/t3/t3code)
94
+
and includes the desktop app (`t3code-desktop`) and the `t3` command.
95
+
See [Nix installation](./docs/user/install.md#nix-nixpkgs) for NixOS configuration and updates.
96
+
87
97
## Some notes
88
98
89
99
We are very very early in this project. Expect bugs.
Copy file name to clipboardExpand all lines: docs/user/install.md
+30-7Lines changed: 30 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,18 +65,41 @@ update it with `git pull` and a rebuild.
65
65
Download a release from [GitHub Releases](https://github.com/pingdotgg/t3code/releases),
The `.deb` updates itself like the other desktop builds. It asks for your
77
78
password to install each update. If your desktop has no password prompt, the
78
79
update fails. Download the new `.deb` and install it the same way.
79
80
81
+
### Nix (nixpkgs)
82
+
83
+
T3 Code is maintained in [nixpkgs](https://github.com/NixOS/nixpkgs/tree/nixos-unstable/pkgs/by-name/t3/t3code).
84
+
The command above installs from `nixos-unstable` and requires Nix 2.30 or later with
85
+
`nix-command` and `flakes` enabled. Launch the desktop app with `t3code-desktop`;
86
+
the package also includes the `t3` command.
87
+
88
+
On NixOS, you can instead add the package to your system configuration, using
89
+
a nixpkgs revision that includes `t3code`:
90
+
91
+
```nix
92
+
environment.systemPackages = [ pkgs.t3code ];
93
+
```
94
+
95
+
Apply the change with `sudo nixos-rebuild switch`. For Home Manager, add
96
+
`pkgs.t3code` to `home.packages` and run `home-manager switch`.
97
+
98
+
Update a profile installation with `nix profile upgrade t3code`. For NixOS or
99
+
Home Manager, update your configuration's nixpkgs input or channel and rebuild.
100
+
Nix manages both the desktop app and the bundled
101
+
`t3` command; use Nix to update them instead of the in-app updater or `t3 update`.
102
+
80
103
### The `t3` command
81
104
82
105
The desktop app includes the `t3` command-line tool. To run it from any
0 commit comments