Store user related options properly

This commit is contained in:
Manuel Thalmann 2024-09-03 23:11:28 +02:00
parent 08c63f51f1
commit d9266b5bf8
2 changed files with 44 additions and 48 deletions

View file

@ -35,54 +35,6 @@
}; };
}; };
users = {
manuel = {
displayName = "Manuel Thalmann";
mailAddress = "m@nuth.ch";
};
};
linux.users.manuel = {
defaultShell = "fish";
groups = [
"wheel"
"nix-users"
];
rclone = {
configurations = {
nextcloud = {
dirName = "Nextcloud";
};
proton = {
dirName = "Proton";
};
};
};
};
windows.users.manuel = {
nextcloud = {
folderSyncs =
let
localPath = "C:/tools/RetroArch-Win64";
remotePath = "/Saved Games/RetroArch";
in [
{
remotePath = "${remotePath}/Saves";
localPath = "${localPath}/saves";
virtualFiles = false;
}
{
remotePath = "${remotePath}/System";
localPath = "${localPath}/system";
}
];
};
};
timeZone = "Europe/Zurich"; timeZone = "Europe/Zurich";
keyMap = "de_CH-latin1"; keyMap = "de_CH-latin1";
keyboardLayout = "ch"; keyboardLayout = "ch";

View file

@ -6,6 +6,9 @@
config = { config = {
valhalla = { valhalla = {
users.manuel = { users.manuel = {
displayName = "Manuel Thalmann";
mailAddress = "m@nuth.ch";
oh-my-posh = { oh-my-posh = {
theme = { theme = {
source = ./manuel.omp.json; source = ./manuel.omp.json;
@ -13,6 +16,47 @@
}; };
}; };
linux.users.manuel = {
defaultShell = "fish";
groups = [
"wheel"
"nix-users"
];
rclone = {
configurations = {
nextcloud = {
dirName = "Nextcloud";
};
proton = {
dirName = "Proton";
};
};
};
};
windows.users.manuel = {
nextcloud = {
folderSyncs =
let
localPath = "C:/tools/RetroArch-Win64";
remotePath = "/Saved Games/RetroArch";
in [
{
remotePath = "${remotePath}/Saves";
localPath = "${localPath}/saves";
virtualFiles = false;
}
{
remotePath = "${remotePath}/System";
localPath = "${localPath}/system";
}
];
};
};
partition = { partition = {
os = { os = {
partitions = { }; partitions = { };