feat: separated hyprland

This commit is contained in:
Nick 2025-02-04 14:05:09 -06:00
parent 5269981d5d
commit 5ac7332014
75 changed files with 23 additions and 655 deletions

View file

@ -1,21 +1,18 @@
{
flake,
config,
pkgs,
...
}:
let
# hostname = config.networking.hostName;
# inherit (flake.config.machines.devices) desktop laptop;
configPath = ./config;
configImports = {
animations = import (configPath + /animations.nix);
bind = import (configPath + /bind.nix) { inherit flake config; };
bindm = import (configPath + /bindm.nix);
binds = import (configPath + /binds.nix);
# bindl =
# if hostname == laptop.name
# then import (configPath + /bindl.nix)
# else null;
# bindl = import (configPath + /bindl.nix);
decoration = import (configPath + /decoration.nix);
dwindle = import (configPath + /dwindle.nix);
exec-once = import (configPath + /exec-once.nix) { inherit flake; };
@ -28,6 +25,8 @@ in
{
wayland.windowManager.hyprland = {
enable = true;
package = null;
portalPackage = null;
xwayland.enable = true;
systemd = {
enable = true;