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