mirror of
https://github.com/winapps-org/winapps.git
synced 2025-06-03 05:37: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 {
|
||||
system = "x86_64-linux";
|
||||
|
||||
specialArgs = {
|
||||
inherit inputs system;
|
||||
};
|
||||
|
||||
modules = [
|
||||
./configuration.nix
|
||||
(
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
pkgs,
|
||||
system ? pkgs.system,
|
||||
...
|
||||
}:
|
||||
{
|
||||
# set up binary cache (optional)
|
||||
nix.settings = {
|
||||
@ -556,7 +564,11 @@ However, if you still don't want to use flakes, you can use WinApps with flake-c
|
||||
|
||||
```nix
|
||||
# configuration.nix
|
||||
{ system, ... }:
|
||||
{
|
||||
pkgs,
|
||||
system ? pkgs.system,
|
||||
...
|
||||
}:
|
||||
{
|
||||
# set up binary cache (optional)
|
||||
nix.settings = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user