mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 09:35:12 -05:00
feat: changed bind file logic to user1
This commit is contained in:
parent
e66b7c47d4
commit
e6a2155cfb
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue