mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 05:27:13 -06:00
feat: removed user1 and tidied up user0 home
This commit is contained in:
parent
0665b883ab
commit
07a6bb2073
78 changed files with 43 additions and 280 deletions
|
|
@ -225,9 +225,6 @@ in
|
|||
userIdForUser0 = [
|
||||
"uid=1000"
|
||||
];
|
||||
userIdForUser1 = [
|
||||
"uid=1002"
|
||||
];
|
||||
dummy = [
|
||||
];
|
||||
|
||||
|
|
@ -294,8 +291,6 @@ in
|
|||
usersFunctions = {
|
||||
user0 = "nick";
|
||||
user0Label = "Nick";
|
||||
user1 = "streaming";
|
||||
user1Label = "Streaming";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -3,11 +3,10 @@ let
|
|||
inherit (moduleFunctions.devicesFunctions)
|
||||
sambaPermissions
|
||||
userIdForUser0
|
||||
userIdForUser1
|
||||
synologyIP
|
||||
deviceNames
|
||||
;
|
||||
inherit (moduleFunctions.usersFunctions) user0 user0Label user1;
|
||||
inherit (moduleFunctions.usersFunctions) user0 user0Label;
|
||||
synologyName = deviceNames.nas;
|
||||
in
|
||||
{
|
||||
|
|
@ -25,10 +24,4 @@ in
|
|||
device = "//${synologyIP}/homes/${user0Label}";
|
||||
options = sambaPermissions ++ userIdForUser0;
|
||||
};
|
||||
# Streaming Folder
|
||||
folder1 = {
|
||||
mount = "/mnt/media/${synologyName}/${user1}";
|
||||
device = "//${synologyIP}/homes/${user0Label}";
|
||||
options = sambaPermissions ++ userIdForUser1;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
address2 = "nick@uprootnutrition.com";
|
||||
};
|
||||
paths = {
|
||||
path0 = "/home/${user0}/Files/Projects"; # Git path
|
||||
path0 = "/home/${user0}/projects"; # Git path
|
||||
};
|
||||
sshKeys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBF9TmImDoYDpsW5VMFbOcuK3aH4TWRtx/xGxT3yUtEN nick@desktop"
|
||||
|
|
|
|||
|
|
@ -1,15 +0,0 @@
|
|||
{ user1 }:
|
||||
{
|
||||
name = "Streaming";
|
||||
aliases = {
|
||||
};
|
||||
email = {
|
||||
address0 = "nick@upRootNutrition.com";
|
||||
};
|
||||
paths = {
|
||||
path0 = "/home/${user1}/Files/Projects"; # Git path
|
||||
};
|
||||
sshKeys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBF9TmImDoYDpsW5VMFbOcuK3aH4TWRtx/xGxT3yUtEN nick@desktop"
|
||||
];
|
||||
}
|
||||
|
|
@ -3,15 +3,12 @@ let
|
|||
inherit (moduleFunctions) usersFunctions;
|
||||
configPath = ./config;
|
||||
user0 = usersFunctions.user0;
|
||||
user1 = usersFunctions.user1;
|
||||
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