Fixed up nix and initsystem
This commit is contained in:
parent
e7e35390ed
commit
db86c51caf
2 changed files with 9 additions and 3 deletions
|
@ -32,3 +32,7 @@ You can view the logs in `/var/log/dmesg` and `/var/log/messages`
|
||||||
|
|
||||||
|
|
||||||
## User services using Runit
|
## User services using Runit
|
||||||
|
|
||||||
|
If `home-manager` has been initialised and logged into the Wayfire session then it should have started a lot of services automatically. These are created and managed through `home-manager`.
|
||||||
|
|
||||||
|
The help and manual pages of runit explain how to use `sv` to manage the services.
|
||||||
|
|
|
@ -27,6 +27,7 @@ For `nix` to be able to install packages it is necessary to add a few channels:
|
||||||
```
|
```
|
||||||
$ nix-channel --add https://nixos.org/channels/nixos-23.11 nixpkgs
|
$ nix-channel --add https://nixos.org/channels/nixos-23.11 nixpkgs
|
||||||
$ nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs-unstable
|
$ nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs-unstable
|
||||||
|
$ nix-channel --add https://github.com/nix-community/nixGL/archive/main.tar.gz nixgl && nix-channel --update
|
||||||
$ nix-channel --update
|
$ nix-channel --update
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -58,9 +59,10 @@ You can also test a package before installing it with `nix-shell -p <program>`
|
||||||
|
|
||||||
### NixGL
|
### NixGL
|
||||||
|
|
||||||
`nixGL` will be necessary to be able to run graphical programs which are installed through `nix`. Add it's channel and install it with:
|
`nixGL` is necessary to be able to run graphical programs and sessions which are installed through `nix`. It should have been installed with `home-manager`.
|
||||||
|
|
||||||
|
Some applications might need vulkan in which case the program has to be prefixed with:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ nix-channel --add https://github.com/nix-community/nixGL/archive/main.tar.gz nixgl && nix-channel --update
|
$ nixVulkanIntel <program>
|
||||||
$ nix-env -iA nixgl.auto.nixGLDefault nixgl.nixVulkanIntel
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue