Skip to content

Commit

Permalink
Nix: include kitty in code snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
fufexan committed Aug 31, 2024
1 parent eb811e3 commit a840855
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
6 changes: 5 additions & 1 deletion pages/Nix/Hyprland on Home Manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ For a list of available options, check the

```nix
{
wayland.windowManager.hyprland.enable = true;
programs.kitty.enable = true; # required for the default Hyprland config
wayland.windowManager.hyprland.enable = true; # enable Hyprland
# Optional, hint Electron apps to use Wayland:
# home.sessionVariables.NIXOS_OZONE_WL = "1";
}
```

Expand Down
8 changes: 7 additions & 1 deletion pages/Nix/Hyprland on NixOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,13 @@ Make sure to check out the options of the
# configuration.nix
{
programs.hyprland.enable = true;
programs = {
kitty.enable = true; # required for the default Hyprland config
hyprland.enable = true; # enable Hyprland
};
# Optional, hint Electron apps to use Wayland:
# environment.sessionVariables.NIXOS_OZONE_WL = "1";
}
```

Expand Down

0 comments on commit a840855

Please sign in to comment.