feat: hyprland for user1

This commit is contained in:
Nick 2025-03-09 23:00:10 -05:00
parent 8350dbd9ba
commit 8e918f915c
6 changed files with 121 additions and 12 deletions

View file

@ -6,10 +6,12 @@
}:
let
inherit (flake.config.people) user0;
user = config.home.username;
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 = import (configPath + /bindl.nix);
@ -21,6 +23,15 @@ let
misc = import (configPath + /misc.nix);
windowrulev2 = import (configPath + /windowrulev2.nix);
xwayland = import (configPath + /xwayland.nix);
bind =
let
bindConfig =
if user == user0 then
import (configPath + /bind-user0.nix)
else
import (configPath + /bind-user1.nix);
in
bindConfig;
};
in
{