refactor: complete overhaul

This commit is contained in:
Nick 2024-11-10 01:29:37 -06:00
parent fb3e6fed86
commit 0541b3d61f
154 changed files with 936 additions and 904 deletions

View 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"
];
}

View 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
View 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;};
};
}