Skip to content

Commit

Permalink
Add hyprland.nix to imports in default.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwclark committed Mar 7, 2024
1 parent 89820fd commit f7ca994
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
1 change: 1 addition & 0 deletions home/features/desktop/hyprland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
{
imports = [
# ./rofi.nix
./hyprland.nix
./waybar.nix
./basic-binds.nix
# ./hyprland-vnc.nix
Expand Down
20 changes: 11 additions & 9 deletions home/features/desktop/hyprland/hyprland.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
inputs,
config,
lib,
pkgs,
Expand All @@ -8,15 +9,15 @@
{
wayland.windowManager.hyprland = {
enable = true;
# package = pkgs.inputs.hyprland.hyprland.override { wrapRuntimeDeps = false; };
systemd = {
enable = true;
# Same as default, but stop graphical-session too
extraCommands = lib.mkBefore [
"systemctl --user stop graphical-session.target"
"systemctl --user start hyprland-session.target"
];
};
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
# systemd = {
# enable = true;
# # Same as default, but stop graphical-session too
# extraCommands = lib.mkBefore [
# "systemctl --user stop graphical-session.target"
# "systemctl --user start hyprland-session.target"
# ];
# };

settings = {
general = {
Expand Down Expand Up @@ -87,6 +88,7 @@
"fadeShadow,1,3,easeout"
"fadeDim,1,3,easeout"
"border,1,3,easeout"

];
};

Expand Down

0 comments on commit f7ca994

Please sign in to comment.