diff --git a/hosts/nixos-laptop/desktops/hyprland-conf.nix b/hosts/nixos-laptop/desktops/hyprland-conf.nix index 087dfaf2..62d173b0 100644 --- a/hosts/nixos-laptop/desktops/hyprland-conf.nix +++ b/hosts/nixos-laptop/desktops/hyprland-conf.nix @@ -1,13 +1,8 @@ { ... }: { - - wayland.windowManager.hyprland = { - enable = true; - enableNvidiaPatches = true; - systemdIntegration = true; - xwayland.enable = true; - xwayland.hidpi = true; - - extraConfig = " + home.file = { + "~/.config/hpyr/hyprland.conf" = { + enable = true; + text = " # This is an example Hyprland config file. # # Refer to the wiki for more information. @@ -176,11 +171,8 @@ # Start the config: exec-once=bash ~/.config/hypr/start.sh - - "; - }; - - home.file = { + "; + }; # Set the custom launcher script "~/.config/hypr/start.sh" = { enable = true; diff --git a/users/albert/home.nix b/users/albert/home.nix index f16b20a3..0da126a6 100644 --- a/users/albert/home.nix +++ b/users/albert/home.nix @@ -2,6 +2,7 @@ home.stateVersion = "23.05"; imports = [ # ../../hosts/${hostname}/desktops/gnome-dconf.nix + ../../hosts/${hostname}/desktops/hyprland-conf.nix ../../home-manager/git.nix ../../home-manager/neovim.nix ../../home-manager/bash.nix