mirror of
https://github.com/Noratrieb/winxpbg.git
synced 2026-03-14 22:46:12 +01:00
Add readme for nix usage
This commit is contained in:
parent
59fc159b33
commit
fb0c77041a
1 changed files with 25 additions and 0 deletions
25
README.md
25
README.md
|
|
@ -5,3 +5,28 @@ Windows XP as your desktop background.
|
|||
This embeds a GTK-based webview to use https://winxp.vercel.app/ as your desktop background.
|
||||
|
||||
Only works on Wayland with gtk-layer-shell.
|
||||
|
||||
## Nix
|
||||
|
||||
1. Import the repo as an overlay:
|
||||
|
||||
```nix
|
||||
let
|
||||
nixpkgs = import nixpkgs {
|
||||
inherit system;
|
||||
overlays = [
|
||||
(import winxpbg)
|
||||
];
|
||||
};
|
||||
in
|
||||
...
|
||||
```
|
||||
2. Launch it with your desktop environment or window manager, for example with Niri:
|
||||
|
||||
```nix
|
||||
{
|
||||
programs.niri.settings.spawn-at-startup = [
|
||||
{ command = [ (lib.getExe pkgs.winxpbg) ]; }
|
||||
];
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue