moving hyprland to system-wide instead of hm to test 3

This commit is contained in:
cnst
2024-06-30 08:00:40 +02:00
parent 51e10705bb
commit d42f003788
5 changed files with 16 additions and 13 deletions

View File

@@ -26,5 +26,12 @@
extraConfig = '' extraConfig = ''
${builtins.readFile ./hyprland.conf} ${builtins.readFile ./hyprland.conf}
''; '';
systemd = {
enable = true;
extraCommands = [
"systemctl --user stop graphical-session.target"
"systemctl --user start hyprland-session.target"
];
};
}; };
} }

View File

@@ -5,6 +5,7 @@
./neovim ./neovim
./lutris ./lutris
./mako ./mako
./mangohud
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [
# APPLICATIONS # APPLICATIONS

View File

@@ -0,0 +1,8 @@
{
programs.mangohud = {
enable = true;
settings = {
full = true;
};
};
}

View File

@@ -12,12 +12,5 @@
enable = true; enable = true;
package = pkgs.hyprland; package = pkgs.hyprland;
xwayland.enable = true; xwayland.enable = true;
systemd = {
enable = true;
extraCommands = [
"systemctl --user stop graphical-session.target"
"systemctl --user start hyprland-session.target"
];
};
}; };
} }

View File

@@ -24,12 +24,6 @@
]; ];
}; };
}; };
mangohud = {
enable = true;
settings = {
full = true;
};
};
gamemode = { gamemode = {
enable = true; enable = true;
settings = { settings = {