mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
refactor: complete overhaul
This commit is contained in:
parent
fb3e6fed86
commit
0541b3d61f
154 changed files with 936 additions and 904 deletions
21
config/users/config/user0.nix
Normal file
21
config/users/config/user0.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{user0}: let
|
||||
inherit user0;
|
||||
in {
|
||||
name = "Nick";
|
||||
aliases = {
|
||||
name0 = "BRBWaffles";
|
||||
name1 = "brbwaffles";
|
||||
name2 = "Nutrivore";
|
||||
name3 = "nutrivore";
|
||||
};
|
||||
email = {
|
||||
address0 = "nickjhiebert@proton.me";
|
||||
address1 = "thenutrivore@proton.me";
|
||||
};
|
||||
paths = {
|
||||
path0 = "/home/${user0}/Files/Projects"; # Git path
|
||||
};
|
||||
sshKeys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBF9TmImDoYDpsW5VMFbOcuK3aH4TWRtx/xGxT3yUtEN nick@desktop"
|
||||
];
|
||||
}
|
11
config/users/config/user1.nix
Normal file
11
config/users/config/user1.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{user1}: let
|
||||
inherit user1;
|
||||
in {
|
||||
name = "Garnet";
|
||||
email = {
|
||||
address0 = "ninaeffler@gmail.com";
|
||||
};
|
||||
paths = {
|
||||
path0 = "/home/${user1}/Files/Projects"; # Git path
|
||||
};
|
||||
}
|
15
config/users/default.nix
Executable file
15
config/users/default.nix
Executable file
|
@ -0,0 +1,15 @@
|
|||
let
|
||||
configPath = ./config;
|
||||
|
||||
user0 = "nick";
|
||||
user1 = "garnet";
|
||||
in {
|
||||
inherit
|
||||
user0
|
||||
user1
|
||||
;
|
||||
users = {
|
||||
"${user0}" = import (configPath + "/user0.nix") {inherit user0;};
|
||||
"${user1}" = import (configPath + "/user1.nix") {inherit user1;};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue