mirror of
https://github.com/winapps-org/winapps.git
synced 2025-06-06 23:27:19 +02:00
doc: fallback to pkgs.system on nix
This commit is contained in:
parent
a060947ac5
commit
8a4d8906d3
16
README.md
16
README.md
@ -526,10 +526,18 @@ nix profile install github:winapps-org/winapps#winapps-launcher # optional
|
|||||||
nixosConfigurations.hostname = nixpkgs.lib.nixosSystem rec {
|
nixosConfigurations.hostname = nixpkgs.lib.nixosSystem rec {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
||||||
|
specialArgs = {
|
||||||
|
inherit inputs system;
|
||||||
|
};
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
(
|
(
|
||||||
{ pkgs, ... }:
|
{
|
||||||
|
pkgs,
|
||||||
|
system ? pkgs.system,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
# set up binary cache (optional)
|
# set up binary cache (optional)
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
@ -556,7 +564,11 @@ However, if you still don't want to use flakes, you can use WinApps with flake-c
|
|||||||
|
|
||||||
```nix
|
```nix
|
||||||
# configuration.nix
|
# configuration.nix
|
||||||
{ system, ... }:
|
{
|
||||||
|
pkgs,
|
||||||
|
system ? pkgs.system,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
# set up binary cache (optional)
|
# set up binary cache (optional)
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user