mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-15 17:50:53 +00:00
6a19225683
The generation activation script should be run by the user specified in `home.username` and `home.homeDirectory`. If some other user runs the activation script, then files may end up in the wrong place or with the wrong owner. This commits adds a check early in the activation script that verifies that the running user match the user in the configuration. Fixes #4019
114 lines
2.8 KiB
Text
114 lines
2.8 KiB
Text
# SOME DESCRIPTIVE TITLE.
|
|
# Copyright (C) YEAR Home Manager contributors
|
|
# This file is distributed under the same license as the Home Manager Modules package.
|
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
#
|
|
#, fuzzy
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: Home Manager Modules\n"
|
|
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
|
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
"Language: \n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=CHARSET\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
#: modules/files.nix:234
|
|
msgid "Creating home file links in %s"
|
|
msgstr ""
|
|
|
|
#: modules/files.nix:247
|
|
msgid "Cleaning up orphan links from %s"
|
|
msgstr ""
|
|
|
|
#: modules/files.nix:263
|
|
msgid "Creating profile generation %s"
|
|
msgstr ""
|
|
|
|
#: modules/files.nix:280
|
|
msgid "No change so reusing latest profile generation %s"
|
|
msgstr ""
|
|
|
|
#: modules/home-environment.nix:627
|
|
msgid ""
|
|
"Oops, Nix failed to install your new Home Manager profile!\n"
|
|
"\n"
|
|
"Perhaps there is a conflict with a package that was installed using\n"
|
|
"\"%s\"? Try running\n"
|
|
"\n"
|
|
" %s\n"
|
|
"\n"
|
|
"and if there is a conflicting package you can remove it with\n"
|
|
"\n"
|
|
" %s\n"
|
|
"\n"
|
|
"Then try activating your Home Manager configuration again."
|
|
msgstr ""
|
|
|
|
#: modules/home-environment.nix:660
|
|
msgid "Activating %s"
|
|
msgstr ""
|
|
|
|
#: modules/lib-bash/activation-init.sh:22
|
|
msgid "Migrating profile from %s to %s"
|
|
msgstr ""
|
|
|
|
#: modules/lib-bash/activation-init.sh:53
|
|
msgid "Could not find suitable profile directory, tried %s and %s"
|
|
msgstr ""
|
|
|
|
#: modules/lib-bash/activation-init.sh:81
|
|
msgid "Sanity checking oldGenNum and oldGenPath"
|
|
msgstr ""
|
|
|
|
#: modules/lib-bash/activation-init.sh:84
|
|
msgid ""
|
|
"The previous generation number and path are in conflict! These\n"
|
|
"must be either both empty or both set but are now set to\n"
|
|
"\n"
|
|
" '%s' and '%s'\n"
|
|
"\n"
|
|
"If you don't mind losing previous profile generations then\n"
|
|
"the easiest solution is probably to run\n"
|
|
"\n"
|
|
" rm %s/home-manager*\n"
|
|
" rm %s/current-home\n"
|
|
"\n"
|
|
"and trying home-manager switch again. Good luck!"
|
|
msgstr ""
|
|
|
|
#: modules/lib-bash/activation-init.sh:95
|
|
msgid "Error: USER is set to \"%s\" but we expect \"%s\""
|
|
msgstr ""
|
|
|
|
#: modules/lib-bash/activation-init.sh:104
|
|
msgid "Error: HOME is set to \"%s\" but we expect \"%s\""
|
|
msgstr ""
|
|
|
|
#: modules/lib-bash/activation-init.sh:119
|
|
msgid "Starting Home Manager activation"
|
|
msgstr ""
|
|
|
|
#: modules/lib-bash/activation-init.sh:123
|
|
msgid "Sanity checking Nix"
|
|
msgstr ""
|
|
|
|
#: modules/lib-bash/activation-init.sh:133
|
|
msgid "This is a dry run"
|
|
msgstr ""
|
|
|
|
#: modules/lib-bash/activation-init.sh:137
|
|
msgid "This is a live run"
|
|
msgstr ""
|
|
|
|
#: modules/lib-bash/activation-init.sh:143
|
|
msgid "Using Nix version: %s"
|
|
msgstr ""
|
|
|
|
#: modules/lib-bash/activation-init.sh:146
|
|
msgid "Activation variables:"
|
|
msgstr ""
|