some hyprland changes and cleaning up homeimports

This commit is contained in:
cnst
2024-08-11 16:12:04 +02:00
parent 9eb73f3147
commit 0c337a4a6c
22 changed files with 431 additions and 82 deletions

View File

@@ -1,17 +1,23 @@
{inputs, ...}: {
imports = [
inputs.hyprland.homeManagerModules.default
./cfg
./appearance.nix
./inputs.nix
./keybinds.nix
./rules.nix
./startup.nix
];
wayland.windowManager.hyprland = {
enable = true;
systemd = {
variables = ["--all"];
extraCommands = [
"systemctl --user stop graphical-session.target"
"systemctl --user start hyprland-session.target"
];
config = {
wayland.windowManager.hyprland = {
enable = true;
xwayland.enable = true;
systemd = {
variables = ["--all"];
extraCommands = [
"systemctl --user stop graphical-session.target"
"systemctl --user start hyprland-session.target"
];
};
};
};
}