diff --git a/profiles/machines/manuel/Generic/config.nix b/profiles/machines/manuel/Generic/config.nix index 508711f3..35e20838 100644 --- a/profiles/machines/manuel/Generic/config.nix +++ b/profiles/machines/manuel/Generic/config.nix @@ -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"; keyMap = "de_CH-latin1"; keyboardLayout = "ch"; diff --git a/profiles/users/manuel/config.nix b/profiles/users/manuel/config.nix index 10d6c856..66d1589e 100644 --- a/profiles/users/manuel/config.nix +++ b/profiles/users/manuel/config.nix @@ -6,6 +6,9 @@ config = { valhalla = { users.manuel = { + displayName = "Manuel Thalmann"; + mailAddress = "m@nuth.ch"; + oh-my-posh = { theme = { 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 = { os = { partitions = { };