feat: changed bind file logic to user1

This commit is contained in:
Nick 2025-04-16 12:34:55 -05:00
parent e66b7c47d4
commit e6a2155cfb

View file

@ -6,7 +6,7 @@
}: }:
let let
inherit (flake.config.people) user0; inherit (flake.config.people) user1;
user = config.home.username; user = config.home.username;
configPath = ./config; configPath = ./config;
@ -27,10 +27,10 @@ let
bind = bind =
let let
bindConfig = bindConfig =
if user == user0 then if user == user1 then
import (configPath + /bind-user0.nix) import (configPath + /bind-user1.nix)
else else
import (configPath + /bind-user1.nix); import (configPath + /bind-user0.nix);
in in
bindConfig; bindConfig;
}; };