Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Winapps
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IMGW
Winapps
Commits
983a3055
Unverified
Commit
983a3055
authored
6 months ago
by
Oskar Manhart
Committed by
GitHub
6 months ago
Browse files
Options
Downloads
Patches
Plain Diff
doc: usage of binary cache
parent
8e85c63e
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+17
-1
17 additions, 1 deletion
README.md
with
17 additions
and
1 deletion
README.md
+
17
−
1
View file @
983a3055
...
@@ -489,6 +489,10 @@ First, make sure Flakes and the `nix` command are enabled.
...
@@ -489,6 +489,10 @@ First, make sure Flakes and the `nix` command are enabled.
In your
`~/.config/nix/nix.conf`
:
In your
`~/.config/nix/nix.conf`
:
```
```
experimental-features = nix-command flakes
experimental-features = nix-command flakes
# specify to use binary cache (optional)
extra-substituters = https://winapps.cachix.org/
extra-trusted-public-keys = winapps.cachix.org-1:HI82jWrXZsQRar/PChgIx1unmuEsiQMQq+zt05CD36g=
extra-trusted-users = <your-username> # replace with your username
```
```
```
bash
```
bash
...
@@ -527,6 +531,12 @@ nix profile install github:winapps-org/winapps#winapps-launcher # optional
...
@@ -527,6 +531,12 @@ nix profile install github:winapps-org/winapps#winapps-launcher # optional
(
(
{
pkgs
,
...
}:
{
pkgs
,
...
}:
{
{
# set up binary cache (optional)
nix
.
settings
=
{
substituters
=
[
"https://winapps.cachix.org/"
];
trusted-public-keys
=
[
"winapps.cachix.org-1:HI82jWrXZsQRar/PChgIx1unmuEsiQMQq+zt05CD36g="
];
};
environment
.
systemPackages
=
[
environment
.
systemPackages
=
[
winapps
.
packages
.
${
system
}
.
winapps
winapps
.
packages
.
${
system
}
.
winapps
winapps
.
packages
.
${
system
}
.
winapps-launcher
# optional
winapps
.
packages
.
${
system
}
.
winapps-launcher
# optional
...
@@ -546,8 +556,14 @@ However, if you still don't want to use flakes, you can use WinApps with flake-c
...
@@ -546,8 +556,14 @@ However, if you still don't want to use flakes, you can use WinApps with flake-c
```
nix
```
nix
# configuration.nix
# configuration.nix
{
...
}:
{
system
,
...
}:
{
{
# set up binary cache (optional)
nix
.
settings
=
{
substituters
=
[
"https://winapps.cachix.org/"
];
trusted-public-keys
=
[
"winapps.cachix.org-1:HI82jWrXZsQRar/PChgIx1unmuEsiQMQq+zt05CD36g="
];
trusted-users
=
[
"<your username>"
];
# replace with your username
};
environment
.
systemPackages
=
environment
.
systemPackages
=
let
let
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment