mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 01:55:13 -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
|
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;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue