hyprland home manager version
This commit is contained in:
parent
f317b141f7
commit
6997c5a968
11 changed files with 67 additions and 69 deletions
|
|
@ -1,3 +1,4 @@
|
|||
{ inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./git.nix
|
||||
|
|
@ -8,7 +9,8 @@
|
|||
./programs.nix
|
||||
./environment.nix
|
||||
./virtualization.nix
|
||||
# ./hyprland.nix
|
||||
./hyprland.nix
|
||||
inputs.hyprland.homeManagerModules.default
|
||||
];
|
||||
|
||||
nixpkgs = {
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@
|
|||
GTK_IM_MODULE = "";
|
||||
XDG_DATA_DIRS = "\${XDG_DATA_DIRS}:/usr/share:/var/lib/flatpak/exports/share:\${HOME}/.local/share/flatpak/exports/share";
|
||||
ELECTRON_OZONE_PLATFORM_HINT = "auto";
|
||||
# GDK_BACKEND = "wayland";
|
||||
|
||||
# GPU
|
||||
LIBVA_DRIVER_NAME = "nvidia";
|
||||
|
|
|
|||
|
|
@ -1,16 +1,23 @@
|
|||
{ pkgs, lib, inputs, ... }:
|
||||
{ pkgs, lib, inputs, system, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
# wayland
|
||||
];
|
||||
|
||||
systemd.user.targets.hyprland-session.Unit.Wants = [
|
||||
"xdg-desktop-autostart.target"
|
||||
];
|
||||
|
||||
# Have not figured out how to config throught homeManager yet
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
||||
xwayland.enable = true;
|
||||
systemd.enable = true;
|
||||
|
||||
plugins = [
|
||||
inputs.hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system}.hyprbars
|
||||
inputs.hyprgrass.packages.${pkgs.system}.default
|
||||
inputs.hyprland-plugins.packages.${system}.hyprbars
|
||||
inputs.hyprgrass.packages.${system}.default
|
||||
];
|
||||
|
||||
settings = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue