Compare commits

...

29 commits

Author SHA1 Message Date
dependabot[bot] fc44921818
ci: bump cachix/install-nix-action from 23 to 27
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 23 to 27.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v23...V27)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-26 15:20:31 +02:00
dependabot[bot] 6779167a73
ci: bump peaceiris/actions-gh-pages from 3 to 4
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3 to 4.
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases)
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md)
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4)

---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 09:42:27 +02:00
dependabot[bot] 219f4bef6d
ci: bump DeterminateSystems/update-flake-lock from 20 to 21
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock) from 20 to 21.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases)
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v20...v21)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 19:50:14 +01:00
dependabot[bot] 33110fb3c7
ci: bump cachix/cachix-action from 12 to 13
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 12 to 13.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](https://github.com/cachix/cachix-action/compare/v12...v13)

---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-10 09:07:48 +01:00
Shawn Morel 28535c3a34
home-manager: improve comment in example configuration
(cherry picked from commit 7af969886b)
2023-11-19 12:09:28 +01:00
Robert Helgesson 6d280e9543
home-manager: fix assignment to read-only variable
Fixes #4519

(cherry picked from commit e63c30fe97)
2023-11-19 12:09:07 +01:00
e-nikolov f51e5fdd70
home-manager: set profile path variables lazily
We only need the Home Manager path variables when performing a few
operations, so only set the variables for those operations.

This avoids problems on fresh installations, where no profile
directory exists.

Fixes #4403

(cherry picked from commit ae896c810f)
2023-11-19 12:08:59 +01:00
9p4 04bac349d5
swayidle: always restart systemd unit on failure
Occasionally, swayidle crashes with a failure to connect to the
Wayland session. Ideally, swayidle should automatically restart
instead of leaving the system in a vulnerable state.

(cherry picked from commit 50e582b9f9)
2023-11-12 01:14:41 +01:00
Motiejus Jakštys 07682fff75
pasystray: add extraOptions
Allows a user to, for example, add the `-g` option.

Also add a basic test case.

(cherry picked from commit 8045eb45a7)
2023-09-19 09:22:34 +02:00
Naïm Favier 1f5735f335
tests: fix getOutput on stubs
Setting `outputSpecified` prevents `getOutput` from descending into
outputs, which don't have an overridden `outPath`.

Additionally, use `__spliced` to permit derivations to use the dummy as
an input.

(cherry picked from commit 221056c59f)
2023-09-19 09:22:19 +02:00
dependabot[bot] 9787dffff5
ci: bump cachix/install-nix-action from 22 to 23
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 22 to 23.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v22...v23)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 20:45:29 +00:00
dependabot[bot] b605778e55
ci: bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 01:40:12 +00:00
Robert Helgesson 5bac4a1c06
ci: use nixos-23.05 channel 2023-08-28 09:44:29 +02:00
dependabot[bot] 4770bb9267
ci: bump DeterminateSystems/update-flake-lock from 19 to 20
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock) from 19 to 20.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases)
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v19...v20)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 01:30:44 +00:00
Naïm Favier 2a6679aa9c
[23.05] modules: types.string throws error now (#4324) (#4343)
Since the merge of https://github.com/NixOS/nixpkgs/pull/247848

(cherry picked from commit 7b8d43fbaf)

Co-authored-by: Christian Albrecht <christian.albrecht@mayflower.de>
2023-08-15 13:45:05 +02:00
Robert Helgesson 7f351e2993
home-manager: handle profile list in Nix >2.17
Nix 2.17 changed the format of the `nix profile list` output. This
commit adds support for parsing the new JSON profile list format.

Fixes #4298

(cherry picked from commit c3ab5ea047)
2023-08-13 23:44:46 +02:00
Naïm Favier 07c347bb50
[23.05] broot: fix test (#4171)
We can't test for the whole contents of the config file because that is
out of our control and may change unexpectedly. Only check for the
settings we know should be set.
2023-06-27 15:06:04 +02:00
Robert Helgesson 6ca1e16eb3
ci: build manual and push to home-manager.dev
This builds the manual on builds.sr.ht and pushes it for availability
on

  https://home-manager.dev/manual/unstable or
  https://home-manager.dev/manual/{version}

depending on which release branch is built.

(cherry picked from commit 0ee5ab611d)
2023-06-25 00:59:27 +02:00
Robert Helgesson 3ac8421e1f
flake: switch Nixpkgs input to 23.05 branch 2023-06-25 00:24:57 +02:00
Robert Helgesson 05a584b4f6
home-manager: use correct branchs in generated flake 2023-06-24 10:28:04 +02:00
dependabot[bot] ac53777f52
ci: bump cachix/install-nix-action from 21 to 22 (#4115)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 21 to 22.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v21...v22)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 10:36:30 +02:00
Rosario Pulella a8d549351d
home-manager: prioritize -I parameters
In 176e455 the order between the action of `-I` parameters getting
added to `EXTRA_NIX_PATH` and the action of a static path getting
added to `EXTRA_NIX_PATH` was reversed, also reversing the order of
`-I` parameters and the static `-I home-manager=...` leading to the
static `-I home-manager=...` to always come before any of the `-I`
parameters to later calls to Nix commands.

This made it impossible to override the static Home Manager path when
calling the home-manager tool with `-I home-manager=...`. This was
previously possible.

(cherry picked from commit edf9cf6523)
2023-06-18 00:45:25 +02:00
dependabot[bot] 61e5d1c38e
ci: bump cachix/install-nix-action from 20 to 21
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 20 to 21.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v20...v21)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13 21:56:15 +00:00
Naïm Favier e753d659c6
[23.05] backport #4066 (#4083)
* tests: `--show-trace` in CI (#4070)

(cherry picked from commit f889ec0ec3)

* tests/stubs: inherit default versions from pkgs (#4069)

* tests/stubs: inherit default versions from pkgs

* tests/browserpass: temporarily disable on darwin

The package currently fails to evaluate on darwin due to a nixpkgs
problem: https://github.com/NixOS/nixpkgs/pull/236258#issuecomment-1583450593

(cherry picked from commit 69bdd6de50)

* Espanso: Fix broken module to be compatible with Espanso version 2.x (#4066)

* Fix espanso module to work with 2.x version

* espanso: fix espanso module

This module is currently broken. It does not create `config` and `match` folders which are required by espanso 2.x version.

This PR fixed this issue and support creating multiple files under `config` and
`match` folder.

* Espanso: fix espanso module

This module is currently broken. It does not create `config` and `match` folders which are required by espanso 2.x version.

This PR fixed this issue and support creating multiple files under `config` and `match` folder.

Add descriptions

* Add versionAtLeast and mkRemovedOptionModule

* Correct maintainers list

* remove config key from example

* format basic-configuration.nix

* Update modules/services/espanso.nix

Co-authored-by: Naïm Favier <n@monade.li>

* fix maintainers list

---------

Co-authored-by: Naïm Favier <n@monade.li>
(cherry picked from commit 1e5d741ea3)

---------

Co-authored-by: Li Yang <71299093+liyangau@users.noreply.github.com>
2023-06-12 17:05:45 +02:00
Dan 93db05480c
Translate using Weblate (Ukrainian)
Currently translated at 100.0% (18 of 18 strings)

Co-authored-by: Dan <denqwerta@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/uk/
Translation: Home Manager/Home Manager Modules
(cherry picked from commit 3876cc613a)
2023-06-01 08:07:03 +02:00
Mohammad Abdolirad 59edd0a4b4
Translate using Weblate (Persian)
Currently translated at 30.3% (10 of 33 strings)

Co-authored-by: Mohammad Abdolirad <m.abdolirad@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/fa/
Translation: Home Manager/Home Manager CLI
(cherry picked from commit 04f6c2925b)
2023-06-01 08:07:02 +02:00
gallegonovato 91106499cb
Translate using Weblate (Spanish)
Currently translated at 100.0% (18 of 18 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/es/
Translation: Home Manager/Home Manager Modules
(cherry picked from commit efed2ccd9f)
2023-06-01 08:07:01 +02:00
Robert Helgesson 0fef41ca31
Translate using Weblate (Swedish)
Currently translated at 100.0% (18 of 18 strings)

Co-authored-by: Robert Helgesson <robert@rycee.net>
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/sv/
Translation: Home Manager/Home Manager Modules
(cherry picked from commit 4d8fedfd29)
2023-06-01 08:07:00 +02:00
Hosted Weblate 42e8a92cd2
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
(cherry picked from commit 76a816a896)
2023-06-01 08:06:59 +02:00
73 changed files with 772 additions and 394 deletions

34
.builds/manual.yml Normal file
View file

@ -0,0 +1,34 @@
image: nixos/unstable
sources:
- https://git.sr.ht/~rycee/home-manager
secrets:
- 01ad357c-3214-4f73-bb7e-2441e440cc51
- 7d16ccc0-1c4f-4fd6-91c1-c54fc0f5807f
- bd5f26ee-78b8-4a6f-9d68-8d8f53a068f1
environment:
NIX_CONFIG: "experimental-features = nix-command flakes"
packages:
- nixos.cachix
tasks:
- setup: |
cachix use rycee
- build: |
cd ./home-manager
gitBranch="$(git show -s --pretty=%D HEAD | sed '{ s/.*, //; s!origin/!!; }')"
[[ $gitBranch == master || $gitBranch == release-??.?? ]] || exit 0
nix build -L .#docs-html
cachix push rycee ./result
- deploy: |
cd ./home-manager
gitBranch="$(git show -s --pretty=%D HEAD | sed '{ s/.*, //; s!origin/!!; }')"
[[ $gitBranch == master || $gitBranch == release-??.?? ]] || exit 0
if [[ $gitBranch == master ]]; then
dirName="unstable"
else
dirName="$(cat .release)"
fi
rsync --delete -r --info=stats \
"result/share/doc/home-manager/" \
"hm-web:/srv/www/home-manager.dev/manual/$dirName"

View file

@ -10,11 +10,11 @@ jobs:
os: [ubuntu-latest] os: [ubuntu-latest]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: cachix/install-nix-action@v20 - uses: cachix/install-nix-action@V27
with: with:
nix_path: nixpkgs=channel:nixos-unstable nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12 - uses: cachix/cachix-action@v13
with: with:
name: nix-community name: nix-community
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
@ -22,7 +22,7 @@ jobs:
nix-build -A docs.html nix-build -A docs.html
cp -r result/share/doc/home-manager public cp -r result/share/doc/home-manager public
- name: Deploy - name: Deploy
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v4
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public publish_dir: ./public

View file

@ -11,11 +11,11 @@ jobs:
os: [ubuntu-latest, macos-latest] os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: cachix/install-nix-action@v20 - uses: cachix/install-nix-action@V27
with: with:
nix_path: nixpkgs=channel:nixos-unstable nix_path: nixpkgs=channel:nixos-23.05
- uses: cachix/cachix-action@v12 - uses: cachix/cachix-action@v13
with: with:
name: nix-community name: nix-community
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
@ -24,7 +24,7 @@ jobs:
echo "Error: literalExample should be replaced by literalExpression" > /dev/stderr echo "Error: literalExample should be replaced by literalExpression" > /dev/stderr
exit 1 exit 1
fi fi
- run: nix-build -A docs.jsonModuleMaintainers - run: nix-build --show-trace -A docs.jsonModuleMaintainers
- run: ./format -c - run: ./format -c
- run: nix-shell . -A install - run: nix-shell --show-trace . -A install
- run: nix-shell --arg enableBig false --pure tests -A run.all - run: nix-shell --show-trace --arg enableBig false --pure tests -A run.all

View file

@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Install Nix - name: Install Nix
uses: cachix/install-nix-action@v20 uses: cachix/install-nix-action@V27
- name: Update flake.lock - name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v19 uses: DeterminateSystems/update-flake-lock@v21
with: with:
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }} token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
pr-labels: dependencies pr-labels: dependencies

View file

@ -2,16 +2,16 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1684570954, "lastModified": 1687466461,
"narHash": "sha256-FX5y4Sm87RWwfu9PI71XFvuRpZLowh00FQpIJ1WfXqE=", "narHash": "sha256-oupXI7g7RPzlpGUfAu1xG4KBK53GrZH8/xeKgKDB4+Q=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3005f20ce0aaa58169cdee57c8aa12e5f1b6e1b3", "rev": "ecb441f22067ba1d6312f4932a7c64efa8d19a7b",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-unstable", "ref": "nixos-23.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View file

@ -1,7 +1,7 @@
{ {
description = "Home Manager for Nix"; description = "Home Manager for Nix";
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
outputs = { self, nixpkgs, ... }: outputs = { self, nixpkgs, ... }:
{ {

View file

@ -1,4 +1,4 @@
{ runCommand, lib, bash, callPackage, coreutils, findutils, gettext, gnused { runCommand, lib, bash, callPackage, coreutils, findutils, gettext, gnused, jq
, less, ncurses, unixtools , less, ncurses, unixtools
# used for pkgs.path for nixos-option # used for pkgs.path for nixos-option
, pkgs , pkgs
@ -36,6 +36,7 @@ in runCommand "home-manager" {
findutils findutils
gettext gettext
gnused gnused
jq
less less
ncurses ncurses
nixos-option nixos-option

View file

@ -11,11 +11,21 @@ export TEXTDOMAINDIR=@OUT@/share/locale
# shellcheck disable=1091 # shellcheck disable=1091
source @HOME_MANAGER_LIB@ source @HOME_MANAGER_LIB@
function removeByName() { function nixProfileList() {
# We attempt to use `--json` first (added in Nix 2.17). Otherwise attempt to
# parse the legacy output format.
{
nix profile list --json 2>/dev/null \
| jq -r --arg name "$1" '.elements[].storePaths[] | select(endswith($name))'
} || {
nix profile list \ nix profile list \
| { grep "$1" || test $? = 1; } \ | { grep "$1\$" || test $? = 1; } \
| cut -d ' ' -f 4 \ | cut -d ' ' -f 4
| xargs -t $DRY_RUN_CMD nix profile remove $VERBOSE_ARG }
}
function removeByName() {
nixProfileList "$1" | xargs -t $DRY_RUN_CMD nix profile remove $VERBOSE_ARG
} }
function setNixProfileCommands() { function setNixProfileCommands() {
@ -117,6 +127,11 @@ function setHomeManagerNixPath() {
# Sets some useful Home Manager related paths as global read-only variables. # Sets some useful Home Manager related paths as global read-only variables.
function setHomeManagerPathVariables() { function setHomeManagerPathVariables() {
# If called twice then just exit early.
if [[ -v HM_DATA_HOME ]]; then
return
fi
declare -r globalNixStateDir="${NIX_STATE_DIR:-/nix/var/nix}" declare -r globalNixStateDir="${NIX_STATE_DIR:-/nix/var/nix}"
declare -r globalProfilesDir="$globalNixStateDir/profiles/per-user/$USER" declare -r globalProfilesDir="$globalNixStateDir/profiles/per-user/$USER"
declare -r globalGcrootsDir="$globalNixStateDir/gcroots/per-user/$USER" declare -r globalGcrootsDir="$globalNixStateDir/gcroots/per-user/$USER"
@ -354,8 +369,10 @@ $xdgVars
# ''; # '';
}; };
# You can also manage environment variables but you will have to manually # Home Manager can also manage your environment variables through
# source # 'home.sessionVariables'. If you don't want to manage your shell through Home
# Manager then you have to manually source 'hm-session-vars.sh' located at
# either
# #
# ~/.nix-profile/etc/profile.d/hm-session-vars.sh # ~/.nix-profile/etc/profile.d/hm-session-vars.sh
# #
@ -363,7 +380,6 @@ $xdgVars
# #
# /etc/profiles/per-user/$USER/etc/profile.d/hm-session-vars.sh # /etc/profiles/per-user/$USER/etc/profile.d/hm-session-vars.sh
# #
# if you don't want to manage your shell through Home Manager.
home.sessionVariables = { home.sessionVariables = {
# EDITOR = "emacs"; # EDITOR = "emacs";
}; };
@ -394,9 +410,9 @@ EOF
inputs = { inputs = {
# Specify the source of Home Manager and Nixpkgs. # Specify the source of Home Manager and Nixpkgs.
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager/release-23.05";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
}; };
@ -613,6 +629,8 @@ function doSwitch() {
} }
function doListGens() { function doListGens() {
setHomeManagerPathVariables
# Whether to colorize the generations output. # Whether to colorize the generations output.
local color="never" local color="never"
if [[ ! -v NO_COLOR && -t 1 ]]; then if [[ ! -v NO_COLOR && -t 1 ]]; then
@ -630,6 +648,7 @@ function doListGens() {
# Removes linked generations. Takes as arguments identifiers of # Removes linked generations. Takes as arguments identifiers of
# generations to remove. # generations to remove.
function doRmGenerations() { function doRmGenerations() {
setHomeManagerPathVariables
setVerboseAndDryRun setVerboseAndDryRun
pushd "$HM_PROFILE_DIR" > /dev/null pushd "$HM_PROFILE_DIR" > /dev/null
@ -651,6 +670,8 @@ function doRmGenerations() {
} }
function doExpireGenerations() { function doExpireGenerations() {
setHomeManagerPathVariables
local generations local generations
generations="$( \ generations="$( \
find "$HM_PROFILE_DIR" -name 'home-manager-*-link' -not -newermt "$1" \ find "$HM_PROFILE_DIR" -name 'home-manager-*-link' -not -newermt "$1" \
@ -749,6 +770,7 @@ function doShowNews() {
} }
function doUninstall() { function doUninstall() {
setHomeManagerPathVariables
setVerboseAndDryRun setVerboseAndDryRun
setNixProfileCommands setNixProfileCommands
@ -883,9 +905,6 @@ COMMAND=""
COMMAND_ARGS=() COMMAND_ARGS=()
FLAKE_ARG="" FLAKE_ARG=""
setHomeManagerNixPath
setHomeManagerPathVariables
while [[ $# -gt 0 ]]; do while [[ $# -gt 0 ]]; do
opt="$1" opt="$1"
shift shift
@ -979,6 +998,8 @@ while [[ $# -gt 0 ]]; do
esac esac
done done
setHomeManagerNixPath
if [[ -z $COMMAND ]]; then if [[ -z $COMMAND ]]; then
doHelp >&2 doHelp >&2
exit 1 exit 1

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager\n" "Project-Id-Version: Home Manager\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-04-23 12:49+0000\n" "PO-Revision-Date: 2023-04-23 12:49+0000\n"
"Last-Translator: Leix b <abone9999@gmail.com>\n" "Last-Translator: Leix b <abone9999@gmail.com>\n"
"Language-Team: Catalan <https://hosted.weblate.org/projects/home-manager/cli/" "Language-Team: Catalan <https://hosted.weblate.org/projects/home-manager/cli/"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager\n" "Project-Id-Version: Home Manager\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2022-09-19 18:22+0000\n" "PO-Revision-Date: 2022-09-19 18:22+0000\n"
"Last-Translator: cafkafk <christina@cafkafk.com>\n" "Last-Translator: cafkafk <christina@cafkafk.com>\n"
"Language-Team: Danish <https://hosted.weblate.org/projects/home-manager/cli/" "Language-Team: Danish <https://hosted.weblate.org/projects/home-manager/cli/"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager\n" "Project-Id-Version: Home Manager\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-05-13 06:48+0000\n" "PO-Revision-Date: 2023-05-13 06:48+0000\n"
"Last-Translator: Reiner Gerecke <me@reinergerecke.de>\n" "Last-Translator: Reiner Gerecke <me@reinergerecke.de>\n"
"Language-Team: German <https://hosted.weblate.org/projects/home-manager/cli/" "Language-Team: German <https://hosted.weblate.org/projects/home-manager/cli/"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager\n" "Project-Id-Version: Home Manager\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-04-10 22:05+0000\n" "PO-Revision-Date: 2023-04-10 22:05+0000\n"
"Last-Translator: gallegonovato <fran-carro@hotmail.es>\n" "Last-Translator: gallegonovato <fran-carro@hotmail.es>\n"
"Language-Team: Spanish <https://hosted.weblate.org/projects/home-manager/cli/" "Language-Team: Spanish <https://hosted.weblate.org/projects/home-manager/cli/"

View file

@ -7,9 +7,9 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager\n" "Project-Id-Version: Home Manager\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2022-04-09 18:11+0000\n" "PO-Revision-Date: 2023-05-28 22:49+0000\n"
"Last-Translator: Artin Mobasher <mobasherartin.icm@gmail.com>\n" "Last-Translator: Mohammad Abdolirad <m.abdolirad@gmail.com>\n"
"Language-Team: Persian <https://hosted.weblate.org/projects/home-manager/cli/" "Language-Team: Persian <https://hosted.weblate.org/projects/home-manager/cli/"
"fa/>\n" "fa/>\n"
"Language: fa\n" "Language: fa\n"
@ -17,7 +17,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n" "Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.12-dev\n" "X-Generator: Weblate 4.18-dev\n"
#: home-manager/home-manager:71 #: home-manager/home-manager:71
msgid "No configuration file found at %s" msgid "No configuration file found at %s"
@ -56,11 +56,11 @@ msgstr ""
#: home-manager/home-manager:284 home-manager/home-manager:383 #: home-manager/home-manager:284 home-manager/home-manager:383
msgid "The file %s already exists, leaving it unchanged..." msgid "The file %s already exists, leaving it unchanged..."
msgstr "" msgstr "فایل %s از قبل وجود داشته است، بدون تغییر رها شد..."
#: home-manager/home-manager:286 home-manager/home-manager:385 #: home-manager/home-manager:286 home-manager/home-manager:385
msgid "Creating %s..." msgid "Creating %s..."
msgstr "" msgstr "ساختن %s..."
#: home-manager/home-manager:427 #: home-manager/home-manager:427
msgid "Creating initial Home Manager generation..." msgid "Creating initial Home Manager generation..."
@ -109,7 +109,7 @@ msgstr ""
#: home-manager/home-manager:542 #: home-manager/home-manager:542
#, sh-format #, sh-format
msgid "Please set the $EDITOR environment variable" msgid "Please set the $EDITOR environment variable"
msgstr "" msgstr "لطفا متغیر محیطی $EDITOR را مقدار دهی کنید"
#: home-manager/home-manager:557 #: home-manager/home-manager:557
msgid "Cannot run build in read-only directory" msgid "Cannot run build in read-only directory"
@ -121,11 +121,11 @@ msgstr ""
#: home-manager/home-manager:643 #: home-manager/home-manager:643
msgid "Cannot remove the current generation %s" msgid "Cannot remove the current generation %s"
msgstr "" msgstr "نمی‌توان نسل فعلی %s را حذف کرد"
#: home-manager/home-manager:645 #: home-manager/home-manager:645
msgid "Removing generation %s" msgid "Removing generation %s"
msgstr "" msgstr "حذف کردن نسل %s"
#: home-manager/home-manager:664 #: home-manager/home-manager:664
msgid "No generations to expire" msgid "No generations to expire"
@ -154,7 +154,7 @@ msgstr ""
#: home-manager/home-manager:762 #: home-manager/home-manager:762
msgid "Really uninstall Home Manager?" msgid "Really uninstall Home Manager?"
msgstr "" msgstr "واقعاً هوم منیجر را حذف نصب کنید؟"
#: home-manager/home-manager:768 #: home-manager/home-manager:768
msgid "Switching to empty Home Manager configuration..." msgid "Switching to empty Home Manager configuration..."
@ -167,7 +167,7 @@ msgstr "آره!"
#: home-manager/home-manager:800 #: home-manager/home-manager:800
msgid "Home Manager is uninstalled but your home.nix is left untouched." msgid "Home Manager is uninstalled but your home.nix is left untouched."
msgstr "" msgstr "هوم منیجر حذف نصب شد اما home.nix شما دست نخورده باقی ماند."
#: home-manager/home-manager:1011 #: home-manager/home-manager:1011
msgid "expire-generations expects one argument, got %d." msgid "expire-generations expects one argument, got %d."

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager\n" "Project-Id-Version: Home Manager\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n" "Last-Translator: Automatically generated\n"
"Language-Team: none\n" "Language-Team: none\n"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager\n" "Project-Id-Version: Home Manager\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-04-11 20:41+0000\n" "PO-Revision-Date: 2023-04-11 20:41+0000\n"
"Last-Translator: Robert Helgesson <robert@rycee.net>\n" "Last-Translator: Robert Helgesson <robert@rycee.net>\n"
"Language-Team: French <https://hosted.weblate.org/projects/home-manager/cli/" "Language-Team: French <https://hosted.weblate.org/projects/home-manager/cli/"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager\n" "Project-Id-Version: Home Manager\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-04-11 20:41+0000\n" "PO-Revision-Date: 2023-04-11 20:41+0000\n"
"Last-Translator: Robert Helgesson <robert@rycee.net>\n" "Last-Translator: Robert Helgesson <robert@rycee.net>\n"
"Language-Team: Italian <https://hosted.weblate.org/projects/home-manager/cli/" "Language-Team: Italian <https://hosted.weblate.org/projects/home-manager/cli/"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager\n" "Project-Id-Version: Home Manager\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-05-13 06:48+0000\n" "PO-Revision-Date: 2023-05-13 06:48+0000\n"
"Last-Translator: Markus Amano <markus.a.amano@gmail.com>\n" "Last-Translator: Markus Amano <markus.a.amano@gmail.com>\n"
"Language-Team: Japanese <https://hosted.weblate.org/projects/home-manager/" "Language-Team: Japanese <https://hosted.weblate.org/projects/home-manager/"
@ -40,7 +40,8 @@ msgstr "設定ファイルがありません。ファイルを %s に作って
#: home-manager/home-manager:136 #: home-manager/home-manager:136
msgid "Could not find suitable profile directory, tried %s and %s" msgid "Could not find suitable profile directory, tried %s and %s"
msgstr "適切なプロファイル ディレクトリが見つかりませんでした。%s と %s を試しました" msgstr ""
"適切なプロファイル ディレクトリが見つかりませんでした。%s と %s を試しました"
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature. #. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
#: home-manager/home-manager:191 #: home-manager/home-manager:191

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager\n" "Project-Id-Version: Home Manager\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-04-19 15:49+0000\n" "PO-Revision-Date: 2023-04-19 15:49+0000\n"
"Last-Translator: Suwon Park <sepiabrown@naver.com>\n" "Last-Translator: Suwon Park <sepiabrown@naver.com>\n"
"Language-Team: Korean <https://hosted.weblate.org/projects/home-manager/cli/" "Language-Team: Korean <https://hosted.weblate.org/projects/home-manager/cli/"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager\n" "Project-Id-Version: Home Manager\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-01-09 11:33+0000\n" "PO-Revision-Date: 2023-01-09 11:33+0000\n"
"Last-Translator: Kornelijus Tvarijanavičius <kornelijus@tvaria.com>\n" "Last-Translator: Kornelijus Tvarijanavičius <kornelijus@tvaria.com>\n"
"Language-Team: Lithuanian <https://hosted.weblate.org/projects/home-manager/" "Language-Team: Lithuanian <https://hosted.weblate.org/projects/home-manager/"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager\n" "Project-Id-Version: Home Manager\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-03-08 07:22+0000\n" "PO-Revision-Date: 2023-03-08 07:22+0000\n"
"Last-Translator: \"Kim A. Ødegaard\" <kim@dyktig.no>\n" "Last-Translator: \"Kim A. Ødegaard\" <kim@dyktig.no>\n"
"Language-Team: Norwegian Bokmål <https://hosted.weblate.org/projects/home-" "Language-Team: Norwegian Bokmål <https://hosted.weblate.org/projects/home-"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager\n" "Project-Id-Version: Home Manager\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-04-10 11:48+0000\n" "PO-Revision-Date: 2023-04-10 11:48+0000\n"
"Last-Translator: Pablo Bollansee <pablo.bollansee@gmail.com>\n" "Last-Translator: Pablo Bollansee <pablo.bollansee@gmail.com>\n"
"Language-Team: Dutch <https://hosted.weblate.org/projects/home-manager/cli/" "Language-Team: Dutch <https://hosted.weblate.org/projects/home-manager/cli/"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager\n" "Project-Id-Version: Home Manager\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-05-03 19:48+0000\n" "PO-Revision-Date: 2023-05-03 19:48+0000\n"
"Last-Translator: Eryk Michalak <gnu.ewm@protonmail.com>\n" "Last-Translator: Eryk Michalak <gnu.ewm@protonmail.com>\n"
"Language-Team: Polish <https://hosted.weblate.org/projects/home-manager/cli/" "Language-Team: Polish <https://hosted.weblate.org/projects/home-manager/cli/"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager\n" "Project-Id-Version: Home Manager\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-02-19 10:19+0000\n" "PO-Revision-Date: 2023-02-19 10:19+0000\n"
"Last-Translator: ssantos <ssantos@web.de>\n" "Last-Translator: ssantos <ssantos@web.de>\n"
"Language-Team: Portuguese <https://hosted.weblate.org/projects/home-manager/" "Language-Team: Portuguese <https://hosted.weblate.org/projects/home-manager/"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager\n" "Project-Id-Version: Home Manager\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2022-04-04 11:11+0000\n" "PO-Revision-Date: 2022-04-04 11:11+0000\n"
"Last-Translator: Alex Miranda <alexmirandamoraes@gmail.com>\n" "Last-Translator: Alex Miranda <alexmirandamoraes@gmail.com>\n"
"Language-Team: Portuguese (Brazil) <https://hosted.weblate.org/projects/home-" "Language-Team: Portuguese (Brazil) <https://hosted.weblate.org/projects/home-"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager\n" "Project-Id-Version: Home Manager\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n" "Last-Translator: Automatically generated\n"
"Language-Team: none\n" "Language-Team: none\n"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager\n" "Project-Id-Version: Home Manager\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2021-12-21 19:55+0000\n" "PO-Revision-Date: 2021-12-21 19:55+0000\n"
"Last-Translator: Mikhail Chekan <chekoopa@mail.ru>\n" "Last-Translator: Mikhail Chekan <chekoopa@mail.ru>\n"
"Language-Team: Russian <https://hosted.weblate.org/projects/home-manager/cli/" "Language-Team: Russian <https://hosted.weblate.org/projects/home-manager/cli/"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager\n" "Project-Id-Version: Home Manager\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-04-11 20:41+0000\n" "PO-Revision-Date: 2023-04-11 20:41+0000\n"
"Last-Translator: Robert Helgesson <robert@rycee.net>\n" "Last-Translator: Robert Helgesson <robert@rycee.net>\n"
"Language-Team: Swedish <https://hosted.weblate.org/projects/home-manager/cli/" "Language-Team: Swedish <https://hosted.weblate.org/projects/home-manager/cli/"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager\n" "Project-Id-Version: Home Manager\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2022-03-26 23:57+0000\n" "PO-Revision-Date: 2022-03-26 23:57+0000\n"
"Last-Translator: Oğuz Ersen <oguz@ersen.moe>\n" "Last-Translator: Oğuz Ersen <oguz@ersen.moe>\n"
"Language-Team: Turkish <https://hosted.weblate.org/projects/home-manager/cli/" "Language-Team: Turkish <https://hosted.weblate.org/projects/home-manager/cli/"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager\n" "Project-Id-Version: Home Manager\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-04-13 13:47+0000\n" "PO-Revision-Date: 2023-04-13 13:47+0000\n"
"Last-Translator: Dan <denqwerta@gmail.com>\n" "Last-Translator: Dan <denqwerta@gmail.com>\n"
"Language-Team: Ukrainian <https://hosted.weblate.org/projects/home-manager/" "Language-Team: Ukrainian <https://hosted.weblate.org/projects/home-manager/"
@ -16,8 +16,8 @@ msgstr ""
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.17-dev\n" "X-Generator: Weblate 4.17-dev\n"
#: home-manager/home-manager:71 #: home-manager/home-manager:71

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager\n" "Project-Id-Version: Home Manager\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2021-12-28 12:41+0000\n" "PO-Revision-Date: 2021-12-28 12:41+0000\n"
"Last-Translator: WhiredPlanck <fungdaat31@outlook.com>\n" "Last-Translator: WhiredPlanck <fungdaat31@outlook.com>\n"
"Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/" "Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager\n" "Project-Id-Version: Home Manager\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2021-12-29 08:48+0000\n" "PO-Revision-Date: 2021-12-29 08:48+0000\n"
"Last-Translator: WhiredPlanck <fungdaat31@outlook.com>\n" "Last-Translator: WhiredPlanck <fungdaat31@outlook.com>\n"
"Language-Team: Chinese (Traditional) <https://hosted.weblate.org/projects/" "Language-Team: Chinese (Traditional) <https://hosted.weblate.org/projects/"

View file

@ -599,13 +599,27 @@ in
'' ''
else else
'' ''
function nixProfileList() {
# We attempt to use `--json` first (added in Nix 2.17). Otherwise attempt to
# parse the legacy output format.
{
nix profile list --json 2>/dev/null \
| jq -r --arg name "$1" '.elements[].storePaths[] | select(endswith($name))'
} || {
nix profile list \
| { grep "$1\$" || test $? = 1; } \
| cut -d ' ' -f 4
}
}
function nixRemoveProfileByName() {
nixProfileList "$1" | xargs -t $DRY_RUN_CMD nix profile remove $VERBOSE_ARG
}
function nixReplaceProfile() { function nixReplaceProfile() {
local oldNix="$(command -v nix)" local oldNix="$(command -v nix)"
nix profile list \ nixRemoveProfileByName 'home-manager-path'
| { grep 'home-manager-path$' || test $? = 1; } \
| cut -d ' ' -f 4 \
| xargs -t $DRY_RUN_CMD nix profile remove $VERBOSE_ARG
$DRY_RUN_CMD $oldNix profile install $1 $DRY_RUN_CMD $oldNix profile install $1
} }
@ -627,7 +641,7 @@ in
_iError $'Oops, Nix failed to install your new Home Manager profile!\n\nPerhaps there is a conflict with a package that was installed using\n"%s"? Try running\n\n %s\n\nand if there is a conflicting package you can remove it with\n\n %s\n\nThen try activating your Home Manager configuration again.' "$INSTALL_CMD" "$LIST_CMD" "$REMOVE_CMD_SYNTAX" _iError $'Oops, Nix failed to install your new Home Manager profile!\n\nPerhaps there is a conflict with a package that was installed using\n"%s"? Try running\n\n %s\n\nand if there is a conflicting package you can remove it with\n\n %s\n\nThen try activating your Home Manager configuration again.' "$INSTALL_CMD" "$LIST_CMD" "$REMOVE_CMD_SYNTAX"
exit 1 exit 1
fi fi
unset -f nixReplaceProfile unset -f nixProfileList nixRemoveProfileByName nixReplaceProfile
unset INSTALL_CMD INSTALL_CMD_ACTUAL LIST_CMD REMOVE_CMD_SYNTAX unset INSTALL_CMD INSTALL_CMD_ACTUAL LIST_CMD REMOVE_CMD_SYNTAX
'' ''
); );
@ -679,6 +693,7 @@ in
gettext gettext
gnugrep gnugrep
gnused gnused
jq
ncurses # For `tput`. ncurses # For `tput`.
] ]
++ config.home.extraActivationPath ++ config.home.extraActivationPath

View file

@ -394,4 +394,10 @@
github = "natecox"; github = "natecox";
githubId = 2782695; githubId = 2782695;
}; };
liyangau = {
name = "Li Yang";
email = "d@aufomm.com";
github = "liyangau";
githubId = 71299093;
};
} }

View file

@ -107,7 +107,7 @@ let
}; };
settings = mkOption { settings = mkOption {
type = types.attrsOf types.string; type = types.attrsOf types.str;
description = '' description = ''
Extra key-value pairs to add to the <literal>[Desktop Entry]</literal> section. Extra key-value pairs to add to the <literal>[Desktop Entry]</literal> section.
This may override other values. This may override other values.

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager Modules\n" "Project-Id-Version: Home Manager Modules\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-04-23 12:49+0000\n" "PO-Revision-Date: 2023-04-23 12:49+0000\n"
"Last-Translator: Leix b <abone9999@gmail.com>\n" "Last-Translator: Leix b <abone9999@gmail.com>\n"
"Language-Team: Catalan <https://hosted.weblate.org/projects/home-manager/" "Language-Team: Catalan <https://hosted.weblate.org/projects/home-manager/"
@ -35,7 +35,7 @@ msgstr "Creant generació de perfil %s"
msgid "No change so reusing latest profile generation %s" msgid "No change so reusing latest profile generation %s"
msgstr "No hi ha canvis, reutilitzant últim perfil generat %s" msgstr "No hi ha canvis, reutilitzant últim perfil generat %s"
#: modules/home-environment.nix:625 #: modules/home-environment.nix:627
msgid "" msgid ""
"Oops, Nix failed to install your new Home Manager profile!\n" "Oops, Nix failed to install your new Home Manager profile!\n"
"\n" "\n"
@ -63,7 +63,7 @@ msgstr ""
"\n" "\n"
"i després provar d'activar la teva configuració de Home Manager de nou." "i després provar d'activar la teva configuració de Home Manager de nou."
#: modules/home-environment.nix:658 #: modules/home-environment.nix:660
msgid "Activating %s" msgid "Activating %s"
msgstr "Activant %s" msgstr "Activant %s"
@ -108,26 +108,34 @@ msgstr ""
"\n" "\n"
"i provar home-manager switch de nou. Bona Sort!" "i provar home-manager switch de nou. Bona Sort!"
#: modules/lib-bash/activation-init.sh:101 #: 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" msgid "Starting Home Manager activation"
msgstr "Començant activació de Home Manager" msgstr "Començant activació de Home Manager"
#: modules/lib-bash/activation-init.sh:105 #: modules/lib-bash/activation-init.sh:123
msgid "Sanity checking Nix" msgid "Sanity checking Nix"
msgstr "Comprovant Nix" msgstr "Comprovant Nix"
#: modules/lib-bash/activation-init.sh:112 #: modules/lib-bash/activation-init.sh:133
msgid "This is a dry run" msgid "This is a dry run"
msgstr "Execució de simulacre" msgstr "Execució de simulacre"
#: modules/lib-bash/activation-init.sh:116 #: modules/lib-bash/activation-init.sh:137
msgid "This is a live run" msgid "This is a live run"
msgstr "Execució en viu" msgstr "Execució en viu"
#: modules/lib-bash/activation-init.sh:122 #: modules/lib-bash/activation-init.sh:143
msgid "Using Nix version: %s" msgid "Using Nix version: %s"
msgstr "Utilitzant versió de Nix: %s" msgstr "Utilitzant versió de Nix: %s"
#: modules/lib-bash/activation-init.sh:125 #: modules/lib-bash/activation-init.sh:146
msgid "Activation variables:" msgid "Activation variables:"
msgstr "Variables d'activació:" msgstr "Variables d'activació:"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager Modules\n" "Project-Id-Version: Home Manager Modules\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2022-09-19 18:22+0000\n" "PO-Revision-Date: 2022-09-19 18:22+0000\n"
"Last-Translator: cafkafk <christina@cafkafk.com>\n" "Last-Translator: cafkafk <christina@cafkafk.com>\n"
"Language-Team: Danish <https://hosted.weblate.org/projects/home-manager/" "Language-Team: Danish <https://hosted.weblate.org/projects/home-manager/"
@ -35,7 +35,7 @@ msgstr "Kreere profil generation %s"
msgid "No change so reusing latest profile generation %s" msgid "No change so reusing latest profile generation %s"
msgstr "Ingen ændring så genbrug den seneste profil generation %s" msgstr "Ingen ændring så genbrug den seneste profil generation %s"
#: modules/home-environment.nix:625 #: modules/home-environment.nix:627
msgid "" msgid ""
"Oops, Nix failed to install your new Home Manager profile!\n" "Oops, Nix failed to install your new Home Manager profile!\n"
"\n" "\n"
@ -63,7 +63,7 @@ msgstr ""
" \n" " \n"
"og så prøve at genaktivere din Home Manager konfiguration igen." "og så prøve at genaktivere din Home Manager konfiguration igen."
#: modules/home-environment.nix:658 #: modules/home-environment.nix:660
msgid "Activating %s" msgid "Activating %s"
msgstr "Aktivere %s" msgstr "Aktivere %s"
@ -107,26 +107,34 @@ msgstr ""
" \n" " \n"
"og så prøve at køre home-manager switch igen. Held og lykke!" "og så prøve at køre home-manager switch igen. Held og lykke!"
#: modules/lib-bash/activation-init.sh:101 #: 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" msgid "Starting Home Manager activation"
msgstr "Starter Home Manager aktivation" msgstr "Starter Home Manager aktivation"
#: modules/lib-bash/activation-init.sh:105 #: modules/lib-bash/activation-init.sh:123
msgid "Sanity checking Nix" msgid "Sanity checking Nix"
msgstr "Udføre fornuft check af Nix" msgstr "Udføre fornuft check af Nix"
#: modules/lib-bash/activation-init.sh:112 #: modules/lib-bash/activation-init.sh:133
msgid "This is a dry run" msgid "This is a dry run"
msgstr "Dette er en tør kørsel" msgstr "Dette er en tør kørsel"
#: modules/lib-bash/activation-init.sh:116 #: modules/lib-bash/activation-init.sh:137
msgid "This is a live run" msgid "This is a live run"
msgstr "Dette er en direkte kørsel" msgstr "Dette er en direkte kørsel"
#: modules/lib-bash/activation-init.sh:122 #: modules/lib-bash/activation-init.sh:143
msgid "Using Nix version: %s" msgid "Using Nix version: %s"
msgstr "Bruger Nix version: %s" msgstr "Bruger Nix version: %s"
#: modules/lib-bash/activation-init.sh:125 #: modules/lib-bash/activation-init.sh:146
msgid "Activation variables:" msgid "Activation variables:"
msgstr "Aktivere variable:" msgstr "Aktivere variable:"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager Modules\n" "Project-Id-Version: Home Manager Modules\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-05-13 06:48+0000\n" "PO-Revision-Date: 2023-05-13 06:48+0000\n"
"Last-Translator: Reiner Gerecke <me@reinergerecke.de>\n" "Last-Translator: Reiner Gerecke <me@reinergerecke.de>\n"
"Language-Team: German <https://hosted.weblate.org/projects/home-manager/" "Language-Team: German <https://hosted.weblate.org/projects/home-manager/"
@ -35,7 +35,7 @@ msgstr "Erstelle Profilgeneration %s"
msgid "No change so reusing latest profile generation %s" msgid "No change so reusing latest profile generation %s"
msgstr "Keine Änderungen. Benutze daher letzte Profilgeneration %s" msgstr "Keine Änderungen. Benutze daher letzte Profilgeneration %s"
#: modules/home-environment.nix:625 #: modules/home-environment.nix:627
msgid "" msgid ""
"Oops, Nix failed to install your new Home Manager profile!\n" "Oops, Nix failed to install your new Home Manager profile!\n"
"\n" "\n"
@ -64,7 +64,7 @@ msgstr ""
"\n" "\n"
"Versuchen Sie dann, Ihre Home Manager Konfiguration erneut zu aktivieren." "Versuchen Sie dann, Ihre Home Manager Konfiguration erneut zu aktivieren."
#: modules/home-environment.nix:658 #: modules/home-environment.nix:660
msgid "Activating %s" msgid "Activating %s"
msgstr "Aktiviere %s" msgstr "Aktiviere %s"
@ -108,27 +108,35 @@ msgstr ""
"\n" "\n"
"Führen Sie danach 'home-manager switch' aus. Viel Glück!" "Führen Sie danach 'home-manager switch' aus. Viel Glück!"
#: modules/lib-bash/activation-init.sh:101 #: 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" msgid "Starting Home Manager activation"
msgstr "Starte Home Manager Aktivierung" msgstr "Starte Home Manager Aktivierung"
#: modules/lib-bash/activation-init.sh:105 #: modules/lib-bash/activation-init.sh:123
msgid "Sanity checking Nix" msgid "Sanity checking Nix"
msgstr "Überprüfe zur Sicherheit Nix" msgstr "Überprüfe zur Sicherheit Nix"
#: modules/lib-bash/activation-init.sh:112 #: modules/lib-bash/activation-init.sh:133
msgid "This is a dry run" msgid "This is a dry run"
msgstr "Dies ist ein Probelauf" msgstr "Dies ist ein Probelauf"
#: modules/lib-bash/activation-init.sh:116 #: modules/lib-bash/activation-init.sh:137
msgid "This is a live run" msgid "This is a live run"
msgstr "Dies ist eine Live-Ausführung" msgstr "Dies ist eine Live-Ausführung"
#: modules/lib-bash/activation-init.sh:122 #: modules/lib-bash/activation-init.sh:143
msgid "Using Nix version: %s" msgid "Using Nix version: %s"
msgstr "Nutze Nix Version: %s" msgstr "Nutze Nix Version: %s"
#: modules/lib-bash/activation-init.sh:125 #: modules/lib-bash/activation-init.sh:146
msgid "Activation variables:" msgid "Activation variables:"
msgstr "Aktivierungsvariablen:" msgstr "Aktivierungsvariablen:"

View file

@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager Modules\n" "Project-Id-Version: Home Manager Modules\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-04-10 22:05+0000\n" "PO-Revision-Date: 2023-05-27 12:11+0000\n"
"Last-Translator: gallegonovato <fran-carro@hotmail.es>\n" "Last-Translator: gallegonovato <fran-carro@hotmail.es>\n"
"Language-Team: Spanish <https://hosted.weblate.org/projects/home-manager/" "Language-Team: Spanish <https://hosted.weblate.org/projects/home-manager/"
"modules/es/>\n" "modules/es/>\n"
@ -17,7 +17,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n" "Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17-dev\n" "X-Generator: Weblate 4.18-dev\n"
#: modules/files.nix:234 #: modules/files.nix:234
msgid "Creating home file links in %s" msgid "Creating home file links in %s"
@ -35,7 +35,7 @@ msgstr "Creando generación de perfil %s"
msgid "No change so reusing latest profile generation %s" msgid "No change so reusing latest profile generation %s"
msgstr "No hay cambios, reutilizando la generación más reciente del perfil: %s" msgstr "No hay cambios, reutilizando la generación más reciente del perfil: %s"
#: modules/home-environment.nix:625 #: modules/home-environment.nix:627
msgid "" msgid ""
"Oops, Nix failed to install your new Home Manager profile!\n" "Oops, Nix failed to install your new Home Manager profile!\n"
"\n" "\n"
@ -63,7 +63,7 @@ msgstr ""
"\n" "\n"
"Y después reintente activar su configuración de Home Manager." "Y después reintente activar su configuración de Home Manager."
#: modules/home-environment.nix:658 #: modules/home-environment.nix:660
msgid "Activating %s" msgid "Activating %s"
msgstr "Activando %s" msgstr "Activando %s"
@ -109,27 +109,35 @@ msgstr ""
"\n" "\n"
"y probando el cambio de administrador de casa nuevamente. ¡Buena suerte!" "y probando el cambio de administrador de casa nuevamente. ¡Buena suerte!"
#: modules/lib-bash/activation-init.sh:101 #: modules/lib-bash/activation-init.sh:95
msgid "Error: USER is set to \"%s\" but we expect \"%s\""
msgstr "Error: USER está configurado en \"%s\" pero esperamos \"%s\""
#: modules/lib-bash/activation-init.sh:104
msgid "Error: HOME is set to \"%s\" but we expect \"%s\""
msgstr "Error: HOME está configurado en \"%s\" pero esperamos \"%s\""
#: modules/lib-bash/activation-init.sh:119
msgid "Starting Home Manager activation" msgid "Starting Home Manager activation"
msgstr "Comenzando activación de Home Manager" msgstr "Comenzando activación de Home Manager"
#: modules/lib-bash/activation-init.sh:105 #: modules/lib-bash/activation-init.sh:123
msgid "Sanity checking Nix" msgid "Sanity checking Nix"
msgstr "Chequeando Nix" msgstr "Chequeando Nix"
#: modules/lib-bash/activation-init.sh:112 #: modules/lib-bash/activation-init.sh:133
msgid "This is a dry run" msgid "This is a dry run"
msgstr "Ejecución de simulacro" msgstr "Ejecución de simulacro"
#: modules/lib-bash/activation-init.sh:116 #: modules/lib-bash/activation-init.sh:137
msgid "This is a live run" msgid "This is a live run"
msgstr "Ejecución en vivo" msgstr "Ejecución en vivo"
#: modules/lib-bash/activation-init.sh:122 #: modules/lib-bash/activation-init.sh:143
msgid "Using Nix version: %s" msgid "Using Nix version: %s"
msgstr "Usando Nix versión %s" msgstr "Usando Nix versión %s"
#: modules/lib-bash/activation-init.sh:125 #: modules/lib-bash/activation-init.sh:146
msgid "Activation variables:" msgid "Activation variables:"
msgstr "Variables de activación:" msgstr "Variables de activación:"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager Modules\n" "Project-Id-Version: Home Manager Modules\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n" "Last-Translator: Automatically generated\n"
"Language-Team: none\n" "Language-Team: none\n"
@ -32,7 +32,7 @@ msgstr ""
msgid "No change so reusing latest profile generation %s" msgid "No change so reusing latest profile generation %s"
msgstr "" msgstr ""
#: modules/home-environment.nix:625 #: modules/home-environment.nix:627
msgid "" msgid ""
"Oops, Nix failed to install your new Home Manager profile!\n" "Oops, Nix failed to install your new Home Manager profile!\n"
"\n" "\n"
@ -48,7 +48,7 @@ msgid ""
"Then try activating your Home Manager configuration again." "Then try activating your Home Manager configuration again."
msgstr "" msgstr ""
#: modules/home-environment.nix:658 #: modules/home-environment.nix:660
msgid "Activating %s" msgid "Activating %s"
msgstr "" msgstr ""
@ -80,26 +80,34 @@ msgid ""
"and trying home-manager switch again. Good luck!" "and trying home-manager switch again. Good luck!"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:101 #: 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" msgid "Starting Home Manager activation"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:105 #: modules/lib-bash/activation-init.sh:123
msgid "Sanity checking Nix" msgid "Sanity checking Nix"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:112 #: modules/lib-bash/activation-init.sh:133
msgid "This is a dry run" msgid "This is a dry run"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:116 #: modules/lib-bash/activation-init.sh:137
msgid "This is a live run" msgid "This is a live run"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:122 #: modules/lib-bash/activation-init.sh:143
msgid "Using Nix version: %s" msgid "Using Nix version: %s"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:125 #: modules/lib-bash/activation-init.sh:146
msgid "Activation variables:" msgid "Activation variables:"
msgstr "" msgstr ""

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager Modules\n" "Project-Id-Version: Home Manager Modules\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n" "Last-Translator: Automatically generated\n"
"Language-Team: none\n" "Language-Team: none\n"
@ -32,7 +32,7 @@ msgstr ""
msgid "No change so reusing latest profile generation %s" msgid "No change so reusing latest profile generation %s"
msgstr "" msgstr ""
#: modules/home-environment.nix:625 #: modules/home-environment.nix:627
msgid "" msgid ""
"Oops, Nix failed to install your new Home Manager profile!\n" "Oops, Nix failed to install your new Home Manager profile!\n"
"\n" "\n"
@ -48,7 +48,7 @@ msgid ""
"Then try activating your Home Manager configuration again." "Then try activating your Home Manager configuration again."
msgstr "" msgstr ""
#: modules/home-environment.nix:658 #: modules/home-environment.nix:660
msgid "Activating %s" msgid "Activating %s"
msgstr "" msgstr ""
@ -80,26 +80,34 @@ msgid ""
"and trying home-manager switch again. Good luck!" "and trying home-manager switch again. Good luck!"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:101 #: 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" msgid "Starting Home Manager activation"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:105 #: modules/lib-bash/activation-init.sh:123
msgid "Sanity checking Nix" msgid "Sanity checking Nix"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:112 #: modules/lib-bash/activation-init.sh:133
msgid "This is a dry run" msgid "This is a dry run"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:116 #: modules/lib-bash/activation-init.sh:137
msgid "This is a live run" msgid "This is a live run"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:122 #: modules/lib-bash/activation-init.sh:143
msgid "Using Nix version: %s" msgid "Using Nix version: %s"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:125 #: modules/lib-bash/activation-init.sh:146
msgid "Activation variables:" msgid "Activation variables:"
msgstr "" msgstr ""

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager Modules\n" "Project-Id-Version: Home Manager Modules\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2022-05-18 23:12+0000\n" "PO-Revision-Date: 2022-05-18 23:12+0000\n"
"Last-Translator: Naïm Camille Favier <n@monade.li>\n" "Last-Translator: Naïm Camille Favier <n@monade.li>\n"
"Language-Team: French <https://hosted.weblate.org/projects/home-manager/" "Language-Team: French <https://hosted.weblate.org/projects/home-manager/"
@ -35,7 +35,7 @@ msgstr "Création de la génération de profil %s"
msgid "No change so reusing latest profile generation %s" msgid "No change so reusing latest profile generation %s"
msgstr "Pas de changement, réutilisation du dernier profil génération %s" msgstr "Pas de changement, réutilisation du dernier profil génération %s"
#: modules/home-environment.nix:625 #: modules/home-environment.nix:627
msgid "" msgid ""
"Oops, Nix failed to install your new Home Manager profile!\n" "Oops, Nix failed to install your new Home Manager profile!\n"
"\n" "\n"
@ -63,7 +63,7 @@ msgstr ""
"\n" "\n"
"Après, essayez encore d'activer votre configuration de Home Manager." "Après, essayez encore d'activer votre configuration de Home Manager."
#: modules/home-environment.nix:658 #: modules/home-environment.nix:660
msgid "Activating %s" msgid "Activating %s"
msgstr "Activation de %s" msgstr "Activation de %s"
@ -109,27 +109,35 @@ msgstr ""
"\n" "\n"
"et de réessayer home-manager switch. Bonne chance !" "et de réessayer home-manager switch. Bonne chance !"
#: modules/lib-bash/activation-init.sh:101 #: 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" msgid "Starting Home Manager activation"
msgstr "Démarrage de l'activation de Home Manager" msgstr "Démarrage de l'activation de Home Manager"
#: modules/lib-bash/activation-init.sh:105 #: modules/lib-bash/activation-init.sh:123
msgid "Sanity checking Nix" msgid "Sanity checking Nix"
msgstr "Vérification de Nix" msgstr "Vérification de Nix"
#: modules/lib-bash/activation-init.sh:112 #: modules/lib-bash/activation-init.sh:133
msgid "This is a dry run" msgid "This is a dry run"
msgstr "Ceci est une fausse activation (essai à blanc)" msgstr "Ceci est une fausse activation (essai à blanc)"
#: modules/lib-bash/activation-init.sh:116 #: modules/lib-bash/activation-init.sh:137
msgid "This is a live run" msgid "This is a live run"
msgstr "Ceci est une vraie activation" msgstr "Ceci est une vraie activation"
#: modules/lib-bash/activation-init.sh:122 #: modules/lib-bash/activation-init.sh:143
msgid "Using Nix version: %s" msgid "Using Nix version: %s"
msgstr "Version de Nix : %s" msgstr "Version de Nix : %s"
#: modules/lib-bash/activation-init.sh:125 #: modules/lib-bash/activation-init.sh:146
msgid "Activation variables:" msgid "Activation variables:"
msgstr "Variables d'activation :" msgstr "Variables d'activation :"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager Modules\n" "Project-Id-Version: Home Manager Modules\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2022-12-15 08:50+0000\n" "PO-Revision-Date: 2022-12-15 08:50+0000\n"
"Last-Translator: Walter Franzini <walter.franzini@gmail.com>\n" "Last-Translator: Walter Franzini <walter.franzini@gmail.com>\n"
"Language-Team: Italian <https://hosted.weblate.org/projects/home-manager/" "Language-Team: Italian <https://hosted.weblate.org/projects/home-manager/"
@ -36,7 +36,7 @@ msgid "No change so reusing latest profile generation %s"
msgstr "" msgstr ""
"Nessuna modifica, verrà riutilizzata l'ultimo generazione di profilo %s" "Nessuna modifica, verrà riutilizzata l'ultimo generazione di profilo %s"
#: modules/home-environment.nix:625 #: modules/home-environment.nix:627
msgid "" msgid ""
"Oops, Nix failed to install your new Home Manager profile!\n" "Oops, Nix failed to install your new Home Manager profile!\n"
"\n" "\n"
@ -52,7 +52,7 @@ msgid ""
"Then try activating your Home Manager configuration again." "Then try activating your Home Manager configuration again."
msgstr "" msgstr ""
#: modules/home-environment.nix:658 #: modules/home-environment.nix:660
msgid "Activating %s" msgid "Activating %s"
msgstr "Attivando %s" msgstr "Attivando %s"
@ -96,26 +96,34 @@ msgstr ""
"\n" "\n"
"e provare a cambiare home-manager di nuovo. Buona fortuna!" "e provare a cambiare home-manager di nuovo. Buona fortuna!"
#: modules/lib-bash/activation-init.sh:101 #: 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" msgid "Starting Home Manager activation"
msgstr "Iniziando attivazione Home Manager" msgstr "Iniziando attivazione Home Manager"
#: modules/lib-bash/activation-init.sh:105 #: modules/lib-bash/activation-init.sh:123
msgid "Sanity checking Nix" msgid "Sanity checking Nix"
msgstr "Controllando Nix" msgstr "Controllando Nix"
#: modules/lib-bash/activation-init.sh:112 #: modules/lib-bash/activation-init.sh:133
msgid "This is a dry run" msgid "This is a dry run"
msgstr "Questo è un avvio secco" msgstr "Questo è un avvio secco"
#: modules/lib-bash/activation-init.sh:116 #: modules/lib-bash/activation-init.sh:137
msgid "This is a live run" msgid "This is a live run"
msgstr "Questa è una esecuzione live" msgstr "Questa è una esecuzione live"
#: modules/lib-bash/activation-init.sh:122 #: modules/lib-bash/activation-init.sh:143
msgid "Using Nix version: %s" msgid "Using Nix version: %s"
msgstr "Versione di Nix in uso: %s" msgstr "Versione di Nix in uso: %s"
#: modules/lib-bash/activation-init.sh:125 #: modules/lib-bash/activation-init.sh:146
msgid "Activation variables:" msgid "Activation variables:"
msgstr "Variabili di attivazione:" msgstr "Variabili di attivazione:"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager Modules\n" "Project-Id-Version: Home Manager Modules\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-05-13 06:48+0000\n" "PO-Revision-Date: 2023-05-13 06:48+0000\n"
"Last-Translator: Markus Amano <markus.a.amano@gmail.com>\n" "Last-Translator: Markus Amano <markus.a.amano@gmail.com>\n"
"Language-Team: Japanese <https://hosted.weblate.org/projects/home-manager/" "Language-Team: Japanese <https://hosted.weblate.org/projects/home-manager/"
@ -35,7 +35,7 @@ msgstr "世代 %s のプロファイルを生成しています"
msgid "No change so reusing latest profile generation %s" msgid "No change so reusing latest profile generation %s"
msgstr "変更されていないので最新の世代 %s のプロファイルを再利用します" msgstr "変更されていないので最新の世代 %s のプロファイルを再利用します"
#: modules/home-environment.nix:625 #: modules/home-environment.nix:627
msgid "" msgid ""
"Oops, Nix failed to install your new Home Manager profile!\n" "Oops, Nix failed to install your new Home Manager profile!\n"
"\n" "\n"
@ -63,7 +63,7 @@ msgstr ""
"\n" "\n"
"で競合を解消し、再度Home Managerの設定を試してください。" "で競合を解消し、再度Home Managerの設定を試してください。"
#: modules/home-environment.nix:658 #: modules/home-environment.nix:660
msgid "Activating %s" msgid "Activating %s"
msgstr "%s を有効化しています" msgstr "%s を有効化しています"
@ -73,7 +73,8 @@ msgstr "%s から %s にプロファイルを転送中"
#: modules/lib-bash/activation-init.sh:53 #: modules/lib-bash/activation-init.sh:53
msgid "Could not find suitable profile directory, tried %s and %s" msgid "Could not find suitable profile directory, tried %s and %s"
msgstr "適切なプロファイル ディレクトリが見つかりませんでした。%s と %s を試しました" msgstr ""
"適切なプロファイル ディレクトリが見つかりませんでした。%s と %s を試しました"
#: modules/lib-bash/activation-init.sh:81 #: modules/lib-bash/activation-init.sh:81
msgid "Sanity checking oldGenNum and oldGenPath" msgid "Sanity checking oldGenNum and oldGenPath"
@ -107,27 +108,35 @@ msgstr ""
"\n" "\n"
"を実行して、home-manager switch を再び実行してみることでしょう。幸運を!" "を実行して、home-manager switch を再び実行してみることでしょう。幸運を!"
#: modules/lib-bash/activation-init.sh:101 #: 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" msgid "Starting Home Manager activation"
msgstr "Home Managerの有効化を開始しました" msgstr "Home Managerの有効化を開始しました"
#: modules/lib-bash/activation-init.sh:105 #: modules/lib-bash/activation-init.sh:123
msgid "Sanity checking Nix" msgid "Sanity checking Nix"
msgstr "Nixの健全性検査中です" msgstr "Nixの健全性検査中です"
#: modules/lib-bash/activation-init.sh:112 #: modules/lib-bash/activation-init.sh:133
msgid "This is a dry run" msgid "This is a dry run"
msgstr "これは予行練習(dry run)です" msgstr "これは予行練習(dry run)です"
#: modules/lib-bash/activation-init.sh:116 #: modules/lib-bash/activation-init.sh:137
msgid "This is a live run" msgid "This is a live run"
msgstr "これは実際に実行されます" msgstr "これは実際に実行されます"
#: modules/lib-bash/activation-init.sh:122 #: modules/lib-bash/activation-init.sh:143
msgid "Using Nix version: %s" msgid "Using Nix version: %s"
msgstr "Nix バージョン %s を使用しています" msgstr "Nix バージョン %s を使用しています"
#: modules/lib-bash/activation-init.sh:125 #: modules/lib-bash/activation-init.sh:146
msgid "Activation variables:" msgid "Activation variables:"
msgstr "有効化変数:" msgstr "有効化変数:"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager Modules\n" "Project-Id-Version: Home Manager Modules\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-04-19 15:50+0000\n" "PO-Revision-Date: 2023-04-19 15:50+0000\n"
"Last-Translator: Suwon Park <sepiabrown@naver.com>\n" "Last-Translator: Suwon Park <sepiabrown@naver.com>\n"
"Language-Team: Korean <https://hosted.weblate.org/projects/home-manager/" "Language-Team: Korean <https://hosted.weblate.org/projects/home-manager/"
@ -37,7 +37,7 @@ msgstr ""
"바뀐 것이 없어서 가장 최근의 profile 세대 %s를 다시 사용하는 것으로 설정하는 " "바뀐 것이 없어서 가장 최근의 profile 세대 %s를 다시 사용하는 것으로 설정하는 "
"중" "중"
#: modules/home-environment.nix:625 #: modules/home-environment.nix:627
msgid "" msgid ""
"Oops, Nix failed to install your new Home Manager profile!\n" "Oops, Nix failed to install your new Home Manager profile!\n"
"\n" "\n"
@ -65,7 +65,7 @@ msgstr ""
"\n" "\n"
"그런 후, 다시 홈 매니저 설정을 활성화 해보세요." "그런 후, 다시 홈 매니저 설정을 활성화 해보세요."
#: modules/home-environment.nix:658 #: modules/home-environment.nix:660
msgid "Activating %s" msgid "Activating %s"
msgstr "%s를 활성화 하는 중" msgstr "%s를 활성화 하는 중"
@ -109,27 +109,35 @@ msgstr ""
"\n" "\n"
"그런 후 'home-manager switch'를 다시 시도해 보십시오. 행운을 빕니다!" "그런 후 'home-manager switch'를 다시 시도해 보십시오. 행운을 빕니다!"
#: modules/lib-bash/activation-init.sh:101 #: 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" msgid "Starting Home Manager activation"
msgstr "홈 매니저 활성화를 시작하는 중" msgstr "홈 매니저 활성화를 시작하는 중"
#: modules/lib-bash/activation-init.sh:105 #: modules/lib-bash/activation-init.sh:123
msgid "Sanity checking Nix" msgid "Sanity checking Nix"
msgstr "Nix가 정상인지 확인 중" msgstr "Nix가 정상인지 확인 중"
#: modules/lib-bash/activation-init.sh:112 #: modules/lib-bash/activation-init.sh:133
msgid "This is a dry run" msgid "This is a dry run"
msgstr "모의 실행 중 입니다" msgstr "모의 실행 중 입니다"
#: modules/lib-bash/activation-init.sh:116 #: modules/lib-bash/activation-init.sh:137
msgid "This is a live run" msgid "This is a live run"
msgstr "모의 실행이 아닌 실제 실행 중 입니다" msgstr "모의 실행이 아닌 실제 실행 중 입니다"
#: modules/lib-bash/activation-init.sh:122 #: modules/lib-bash/activation-init.sh:143
msgid "Using Nix version: %s" msgid "Using Nix version: %s"
msgstr "사용 중인 Nix 버전: %s" msgstr "사용 중인 Nix 버전: %s"
#: modules/lib-bash/activation-init.sh:125 #: modules/lib-bash/activation-init.sh:146
msgid "Activation variables:" msgid "Activation variables:"
msgstr "활성화 변수들:" msgstr "활성화 변수들:"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager Modules\n" "Project-Id-Version: Home Manager Modules\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n" "Last-Translator: Automatically generated\n"
"Language-Team: none\n" "Language-Team: none\n"
@ -32,7 +32,7 @@ msgstr ""
msgid "No change so reusing latest profile generation %s" msgid "No change so reusing latest profile generation %s"
msgstr "" msgstr ""
#: modules/home-environment.nix:625 #: modules/home-environment.nix:627
msgid "" msgid ""
"Oops, Nix failed to install your new Home Manager profile!\n" "Oops, Nix failed to install your new Home Manager profile!\n"
"\n" "\n"
@ -48,7 +48,7 @@ msgid ""
"Then try activating your Home Manager configuration again." "Then try activating your Home Manager configuration again."
msgstr "" msgstr ""
#: modules/home-environment.nix:658 #: modules/home-environment.nix:660
msgid "Activating %s" msgid "Activating %s"
msgstr "" msgstr ""
@ -80,26 +80,34 @@ msgid ""
"and trying home-manager switch again. Good luck!" "and trying home-manager switch again. Good luck!"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:101 #: 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" msgid "Starting Home Manager activation"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:105 #: modules/lib-bash/activation-init.sh:123
msgid "Sanity checking Nix" msgid "Sanity checking Nix"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:112 #: modules/lib-bash/activation-init.sh:133
msgid "This is a dry run" msgid "This is a dry run"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:116 #: modules/lib-bash/activation-init.sh:137
msgid "This is a live run" msgid "This is a live run"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:122 #: modules/lib-bash/activation-init.sh:143
msgid "Using Nix version: %s" msgid "Using Nix version: %s"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:125 #: modules/lib-bash/activation-init.sh:146
msgid "Activation variables:" msgid "Activation variables:"
msgstr "" msgstr ""

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager Modules\n" "Project-Id-Version: Home Manager Modules\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-03-08 07:22+0000\n" "PO-Revision-Date: 2023-03-08 07:22+0000\n"
"Last-Translator: \"Kim A. Ødegaard\" <kim@dyktig.no>\n" "Last-Translator: \"Kim A. Ødegaard\" <kim@dyktig.no>\n"
"Language-Team: Norwegian Bokmål <https://hosted.weblate.org/projects/home-" "Language-Team: Norwegian Bokmål <https://hosted.weblate.org/projects/home-"
@ -35,7 +35,7 @@ msgstr "Oppretter profil for generering %s"
msgid "No change so reusing latest profile generation %s" msgid "No change so reusing latest profile generation %s"
msgstr "Ingen endring, gjenbruker derfor siste profilgenerering %s" msgstr "Ingen endring, gjenbruker derfor siste profilgenerering %s"
#: modules/home-environment.nix:625 #: modules/home-environment.nix:627
msgid "" msgid ""
"Oops, Nix failed to install your new Home Manager profile!\n" "Oops, Nix failed to install your new Home Manager profile!\n"
"\n" "\n"
@ -63,7 +63,7 @@ msgstr ""
"\n" "\n"
"for så å aktivere ditt Home Manager-oppsett igjen." "for så å aktivere ditt Home Manager-oppsett igjen."
#: modules/home-environment.nix:658 #: modules/home-environment.nix:660
msgid "Activating %s" msgid "Activating %s"
msgstr "Aktiverer %s" msgstr "Aktiverer %s"
@ -107,27 +107,35 @@ msgstr ""
"\n" "\n"
"for så å forsøke `home-manager switch` igjen. Lykke til!" "for så å forsøke `home-manager switch` igjen. Lykke til!"
#: modules/lib-bash/activation-init.sh:101 #: 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" msgid "Starting Home Manager activation"
msgstr "Starter aktivering av Home Manager" msgstr "Starter aktivering av Home Manager"
#: modules/lib-bash/activation-init.sh:105 #: modules/lib-bash/activation-init.sh:123
msgid "Sanity checking Nix" msgid "Sanity checking Nix"
msgstr "Kontrollerer at Nix fungerer" msgstr "Kontrollerer at Nix fungerer"
#: modules/lib-bash/activation-init.sh:112 #: modules/lib-bash/activation-init.sh:133
msgid "This is a dry run" msgid "This is a dry run"
msgstr "Dette er en simulert kjøring" msgstr "Dette er en simulert kjøring"
#: modules/lib-bash/activation-init.sh:116 #: modules/lib-bash/activation-init.sh:137
msgid "This is a live run" msgid "This is a live run"
msgstr "Dette er en virkelig kjøring" msgstr "Dette er en virkelig kjøring"
#: modules/lib-bash/activation-init.sh:122 #: modules/lib-bash/activation-init.sh:143
msgid "Using Nix version: %s" msgid "Using Nix version: %s"
msgstr "Bruker Nix-versjon: %s" msgstr "Bruker Nix-versjon: %s"
#: modules/lib-bash/activation-init.sh:125 #: modules/lib-bash/activation-init.sh:146
msgid "Activation variables:" msgid "Activation variables:"
msgstr "Aktiveringsvariabler:" msgstr "Aktiveringsvariabler:"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager Modules\n" "Project-Id-Version: Home Manager Modules\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-04-10 11:48+0000\n" "PO-Revision-Date: 2023-04-10 11:48+0000\n"
"Last-Translator: Pablo Bollansee <pablo.bollansee@gmail.com>\n" "Last-Translator: Pablo Bollansee <pablo.bollansee@gmail.com>\n"
"Language-Team: Dutch <https://hosted.weblate.org/projects/home-manager/" "Language-Team: Dutch <https://hosted.weblate.org/projects/home-manager/"
@ -36,7 +36,7 @@ msgid "No change so reusing latest profile generation %s"
msgstr "" msgstr ""
"Geen veranderingen dus de laatste profiel generatie %s wordt hergebruikt" "Geen veranderingen dus de laatste profiel generatie %s wordt hergebruikt"
#: modules/home-environment.nix:625 #: modules/home-environment.nix:627
msgid "" msgid ""
"Oops, Nix failed to install your new Home Manager profile!\n" "Oops, Nix failed to install your new Home Manager profile!\n"
"\n" "\n"
@ -65,7 +65,7 @@ msgstr ""
"\n" "\n"
"Probeer daarna je Home Manager configuratie opnieuw te activeren." "Probeer daarna je Home Manager configuratie opnieuw te activeren."
#: modules/home-environment.nix:658 #: modules/home-environment.nix:660
msgid "Activating %s" msgid "Activating %s"
msgstr "%s aan het activeren" msgstr "%s aan het activeren"
@ -109,27 +109,35 @@ msgstr ""
"\n" "\n"
"en dan opnieuw 'home-manager switch' te proberen. Veel succes!" "en dan opnieuw 'home-manager switch' te proberen. Veel succes!"
#: modules/lib-bash/activation-init.sh:101 #: 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" msgid "Starting Home Manager activation"
msgstr "Home manager activatie aan het starten" msgstr "Home manager activatie aan het starten"
#: modules/lib-bash/activation-init.sh:105 #: modules/lib-bash/activation-init.sh:123
msgid "Sanity checking Nix" msgid "Sanity checking Nix"
msgstr "Nix aan het sanity checken" msgstr "Nix aan het sanity checken"
#: modules/lib-bash/activation-init.sh:112 #: modules/lib-bash/activation-init.sh:133
msgid "This is a dry run" msgid "This is a dry run"
msgstr "Dit is een oefening" msgstr "Dit is een oefening"
#: modules/lib-bash/activation-init.sh:116 #: modules/lib-bash/activation-init.sh:137
msgid "This is a live run" msgid "This is a live run"
msgstr "Dit is voor echt" msgstr "Dit is voor echt"
#: modules/lib-bash/activation-init.sh:122 #: modules/lib-bash/activation-init.sh:143
msgid "Using Nix version: %s" msgid "Using Nix version: %s"
msgstr "Nix versie %s wordt gebruikt" msgstr "Nix versie %s wordt gebruikt"
#: modules/lib-bash/activation-init.sh:125 #: modules/lib-bash/activation-init.sh:146
msgid "Activation variables:" msgid "Activation variables:"
msgstr "Activatie variabelen:" msgstr "Activatie variabelen:"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager Modules\n" "Project-Id-Version: Home Manager Modules\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-05-03 19:48+0000\n" "PO-Revision-Date: 2023-05-03 19:48+0000\n"
"Last-Translator: Eryk Michalak <gnu.ewm@protonmail.com>\n" "Last-Translator: Eryk Michalak <gnu.ewm@protonmail.com>\n"
"Language-Team: Polish <https://hosted.weblate.org/projects/home-manager/" "Language-Team: Polish <https://hosted.weblate.org/projects/home-manager/"
@ -36,7 +36,7 @@ msgstr "Tworzenie profilu generacji %s"
msgid "No change so reusing latest profile generation %s" msgid "No change so reusing latest profile generation %s"
msgstr "Brak zmian więc używam ostatniej generacji profilu %s" msgstr "Brak zmian więc używam ostatniej generacji profilu %s"
#: modules/home-environment.nix:625 #: modules/home-environment.nix:627
msgid "" msgid ""
"Oops, Nix failed to install your new Home Manager profile!\n" "Oops, Nix failed to install your new Home Manager profile!\n"
"\n" "\n"
@ -65,7 +65,7 @@ msgstr ""
"\n" "\n"
"Po czym spróbuj aktywować swoją konfigurację Home Manager jeszcze raz." "Po czym spróbuj aktywować swoją konfigurację Home Manager jeszcze raz."
#: modules/home-environment.nix:658 #: modules/home-environment.nix:660
msgid "Activating %s" msgid "Activating %s"
msgstr "Aktywowanie %s" msgstr "Aktywowanie %s"
@ -109,26 +109,34 @@ msgstr ""
"\n" "\n"
"i spróbować uruchomić home-manager switch raz jeszcze. Powodzenia!" "i spróbować uruchomić home-manager switch raz jeszcze. Powodzenia!"
#: modules/lib-bash/activation-init.sh:101 #: 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" msgid "Starting Home Manager activation"
msgstr "Rozpoczynam aktywację Home Managera" msgstr "Rozpoczynam aktywację Home Managera"
#: modules/lib-bash/activation-init.sh:105 #: modules/lib-bash/activation-init.sh:123
msgid "Sanity checking Nix" msgid "Sanity checking Nix"
msgstr "Sprawdzanie poprawności Nix" msgstr "Sprawdzanie poprawności Nix"
#: modules/lib-bash/activation-init.sh:112 #: modules/lib-bash/activation-init.sh:133
msgid "This is a dry run" msgid "This is a dry run"
msgstr "To jest wykonanie testowe" msgstr "To jest wykonanie testowe"
#: modules/lib-bash/activation-init.sh:116 #: modules/lib-bash/activation-init.sh:137
msgid "This is a live run" msgid "This is a live run"
msgstr "To jest wykonanie właściwe" msgstr "To jest wykonanie właściwe"
#: modules/lib-bash/activation-init.sh:122 #: modules/lib-bash/activation-init.sh:143
msgid "Using Nix version: %s" msgid "Using Nix version: %s"
msgstr "Używając wersji Nix: %s" msgstr "Używając wersji Nix: %s"
#: modules/lib-bash/activation-init.sh:125 #: modules/lib-bash/activation-init.sh:146
msgid "Activation variables:" msgid "Activation variables:"
msgstr "Zmienne aktywacyjne:" msgstr "Zmienne aktywacyjne:"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager Modules\n" "Project-Id-Version: Home Manager Modules\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-02-19 10:19+0000\n" "PO-Revision-Date: 2023-02-19 10:19+0000\n"
"Last-Translator: ssantos <ssantos@web.de>\n" "Last-Translator: ssantos <ssantos@web.de>\n"
"Language-Team: Portuguese <https://hosted.weblate.org/projects/home-manager/" "Language-Team: Portuguese <https://hosted.weblate.org/projects/home-manager/"
@ -35,7 +35,7 @@ msgstr "A criar geração %s para o perfil"
msgid "No change so reusing latest profile generation %s" msgid "No change so reusing latest profile generation %s"
msgstr "Nenhuma mudança, portanto a reusar a última geração %s para o perfil" msgstr "Nenhuma mudança, portanto a reusar a última geração %s para o perfil"
#: modules/home-environment.nix:625 #: modules/home-environment.nix:627
msgid "" msgid ""
"Oops, Nix failed to install your new Home Manager profile!\n" "Oops, Nix failed to install your new Home Manager profile!\n"
"\n" "\n"
@ -63,7 +63,7 @@ msgstr ""
"\n" "\n"
"E então tente novamente ativar a sua configuração do Home Manager." "E então tente novamente ativar a sua configuração do Home Manager."
#: modules/home-environment.nix:658 #: modules/home-environment.nix:660
msgid "Activating %s" msgid "Activating %s"
msgstr "Ativando %s" msgstr "Ativando %s"
@ -107,26 +107,34 @@ msgstr ""
"\n" "\n"
"e tentar executar \"home-manager switch\" de novo. Boa sorte!" "e tentar executar \"home-manager switch\" de novo. Boa sorte!"
#: modules/lib-bash/activation-init.sh:101 #: 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" msgid "Starting Home Manager activation"
msgstr "Iniciando ativação do Home Manager" msgstr "Iniciando ativação do Home Manager"
#: modules/lib-bash/activation-init.sh:105 #: modules/lib-bash/activation-init.sh:123
msgid "Sanity checking Nix" msgid "Sanity checking Nix"
msgstr "Revalidando Nix" msgstr "Revalidando Nix"
#: modules/lib-bash/activation-init.sh:112 #: modules/lib-bash/activation-init.sh:133
msgid "This is a dry run" msgid "This is a dry run"
msgstr "Essa é uma execução de teste" msgstr "Essa é uma execução de teste"
#: modules/lib-bash/activation-init.sh:116 #: modules/lib-bash/activation-init.sh:137
msgid "This is a live run" msgid "This is a live run"
msgstr "Essa é uma execução de fato" msgstr "Essa é uma execução de fato"
#: modules/lib-bash/activation-init.sh:122 #: modules/lib-bash/activation-init.sh:143
msgid "Using Nix version: %s" msgid "Using Nix version: %s"
msgstr "Usando versão do Nix: %s" msgstr "Usando versão do Nix: %s"
#: modules/lib-bash/activation-init.sh:125 #: modules/lib-bash/activation-init.sh:146
msgid "Activation variables:" msgid "Activation variables:"
msgstr "Variáveis durante ativação:" msgstr "Variáveis durante ativação:"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager Modules\n" "Project-Id-Version: Home Manager Modules\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2022-04-04 11:11+0000\n" "PO-Revision-Date: 2022-04-04 11:11+0000\n"
"Last-Translator: Alex Miranda <alexmirandamoraes@gmail.com>\n" "Last-Translator: Alex Miranda <alexmirandamoraes@gmail.com>\n"
"Language-Team: Portuguese (Brazil) <https://hosted.weblate.org/projects/home-" "Language-Team: Portuguese (Brazil) <https://hosted.weblate.org/projects/home-"
@ -35,7 +35,7 @@ msgstr "Criando geração %s para o perfil"
msgid "No change so reusing latest profile generation %s" msgid "No change so reusing latest profile generation %s"
msgstr "Nenhuma mudança, portanto reusando a última geração %s para o perfil" msgstr "Nenhuma mudança, portanto reusando a última geração %s para o perfil"
#: modules/home-environment.nix:625 #: modules/home-environment.nix:627
msgid "" msgid ""
"Oops, Nix failed to install your new Home Manager profile!\n" "Oops, Nix failed to install your new Home Manager profile!\n"
"\n" "\n"
@ -63,7 +63,7 @@ msgstr ""
"\n" "\n"
"E então tente novamente ativar a sua configuração do Home Manager." "E então tente novamente ativar a sua configuração do Home Manager."
#: modules/home-environment.nix:658 #: modules/home-environment.nix:660
msgid "Activating %s" msgid "Activating %s"
msgstr "Ativando %s" msgstr "Ativando %s"
@ -107,26 +107,34 @@ msgstr ""
"\n" "\n"
"e tentar rodar \"home-manager switch\" de novo. Boa sorte!" "e tentar rodar \"home-manager switch\" de novo. Boa sorte!"
#: modules/lib-bash/activation-init.sh:101 #: 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" msgid "Starting Home Manager activation"
msgstr "Iniciando ativação do Home Manager" msgstr "Iniciando ativação do Home Manager"
#: modules/lib-bash/activation-init.sh:105 #: modules/lib-bash/activation-init.sh:123
msgid "Sanity checking Nix" msgid "Sanity checking Nix"
msgstr "Revalidando Nix" msgstr "Revalidando Nix"
#: modules/lib-bash/activation-init.sh:112 #: modules/lib-bash/activation-init.sh:133
msgid "This is a dry run" msgid "This is a dry run"
msgstr "Essa é uma execução de teste" msgstr "Essa é uma execução de teste"
#: modules/lib-bash/activation-init.sh:116 #: modules/lib-bash/activation-init.sh:137
msgid "This is a live run" msgid "This is a live run"
msgstr "Essa é uma execução de fato" msgstr "Essa é uma execução de fato"
#: modules/lib-bash/activation-init.sh:122 #: modules/lib-bash/activation-init.sh:143
msgid "Using Nix version: %s" msgid "Using Nix version: %s"
msgstr "Usando versão do Nix: %s" msgstr "Usando versão do Nix: %s"
#: modules/lib-bash/activation-init.sh:125 #: modules/lib-bash/activation-init.sh:146
msgid "Activation variables:" msgid "Activation variables:"
msgstr "Variáveis durante ativação:" msgstr "Variáveis durante ativação:"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager Modules\n" "Project-Id-Version: Home Manager Modules\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n" "Last-Translator: Automatically generated\n"
"Language-Team: none\n" "Language-Team: none\n"
@ -32,7 +32,7 @@ msgstr ""
msgid "No change so reusing latest profile generation %s" msgid "No change so reusing latest profile generation %s"
msgstr "" msgstr ""
#: modules/home-environment.nix:625 #: modules/home-environment.nix:627
msgid "" msgid ""
"Oops, Nix failed to install your new Home Manager profile!\n" "Oops, Nix failed to install your new Home Manager profile!\n"
"\n" "\n"
@ -48,7 +48,7 @@ msgid ""
"Then try activating your Home Manager configuration again." "Then try activating your Home Manager configuration again."
msgstr "" msgstr ""
#: modules/home-environment.nix:658 #: modules/home-environment.nix:660
msgid "Activating %s" msgid "Activating %s"
msgstr "" msgstr ""
@ -80,26 +80,34 @@ msgid ""
"and trying home-manager switch again. Good luck!" "and trying home-manager switch again. Good luck!"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:101 #: 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" msgid "Starting Home Manager activation"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:105 #: modules/lib-bash/activation-init.sh:123
msgid "Sanity checking Nix" msgid "Sanity checking Nix"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:112 #: modules/lib-bash/activation-init.sh:133
msgid "This is a dry run" msgid "This is a dry run"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:116 #: modules/lib-bash/activation-init.sh:137
msgid "This is a live run" msgid "This is a live run"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:122 #: modules/lib-bash/activation-init.sh:143
msgid "Using Nix version: %s" msgid "Using Nix version: %s"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:125 #: modules/lib-bash/activation-init.sh:146
msgid "Activation variables:" msgid "Activation variables:"
msgstr "" msgstr ""

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager Modules\n" "Project-Id-Version: Home Manager Modules\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2022-03-26 23:57+0000\n" "PO-Revision-Date: 2022-03-26 23:57+0000\n"
"Last-Translator: Robert Helgesson <robert@rycee.net>\n" "Last-Translator: Robert Helgesson <robert@rycee.net>\n"
"Language-Team: Russian <https://hosted.weblate.org/projects/home-manager/" "Language-Team: Russian <https://hosted.weblate.org/projects/home-manager/"
@ -36,7 +36,7 @@ msgstr "Создаю профиль в поколении %s"
msgid "No change so reusing latest profile generation %s" msgid "No change so reusing latest profile generation %s"
msgstr "Изменений нет, переиспользую профиль в последнем поколении %s" msgstr "Изменений нет, переиспользую профиль в последнем поколении %s"
#: modules/home-environment.nix:625 #: modules/home-environment.nix:627
msgid "" msgid ""
"Oops, Nix failed to install your new Home Manager profile!\n" "Oops, Nix failed to install your new Home Manager profile!\n"
"\n" "\n"
@ -64,7 +64,7 @@ msgstr ""
"\n" "\n"
"После попробуйте активировать конфигурацию снова." "После попробуйте активировать конфигурацию снова."
#: modules/home-environment.nix:658 #: modules/home-environment.nix:660
msgid "Activating %s" msgid "Activating %s"
msgstr "Активирую %s" msgstr "Активирую %s"
@ -108,27 +108,35 @@ msgstr ""
"\n" "\n"
"и выполнить home-manager switch ещё раз. Удачи!" "и выполнить home-manager switch ещё раз. Удачи!"
#: modules/lib-bash/activation-init.sh:101 #: 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" msgid "Starting Home Manager activation"
msgstr "Начинаю активацию Home Manager" msgstr "Начинаю активацию Home Manager"
#: modules/lib-bash/activation-init.sh:105 #: modules/lib-bash/activation-init.sh:123
msgid "Sanity checking Nix" msgid "Sanity checking Nix"
msgstr "Проверяю Nix на всякий случай" msgstr "Проверяю Nix на всякий случай"
#: modules/lib-bash/activation-init.sh:112 #: modules/lib-bash/activation-init.sh:133
msgid "This is a dry run" msgid "This is a dry run"
msgstr "Это пробный запуск" msgstr "Это пробный запуск"
#: modules/lib-bash/activation-init.sh:116 #: modules/lib-bash/activation-init.sh:137
msgid "This is a live run" msgid "This is a live run"
msgstr "Это реальный запуск" msgstr "Это реальный запуск"
#: modules/lib-bash/activation-init.sh:122 #: modules/lib-bash/activation-init.sh:143
msgid "Using Nix version: %s" msgid "Using Nix version: %s"
msgstr "Использую Nix версии: %s" msgstr "Использую Nix версии: %s"
#: modules/lib-bash/activation-init.sh:125 #: modules/lib-bash/activation-init.sh:146
msgid "Activation variables:" msgid "Activation variables:"
msgstr "Переменные для активации:" msgstr "Переменные для активации:"

View file

@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager Modules\n" "Project-Id-Version: Home Manager Modules\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-04-10 14:51+0000\n" "PO-Revision-Date: 2023-05-27 12:11+0000\n"
"Last-Translator: Robert Helgesson <robert@rycee.net>\n" "Last-Translator: Robert Helgesson <robert@rycee.net>\n"
"Language-Team: Swedish <https://hosted.weblate.org/projects/home-manager/" "Language-Team: Swedish <https://hosted.weblate.org/projects/home-manager/"
"modules/sv/>\n" "modules/sv/>\n"
@ -17,7 +17,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n" "Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17-dev\n" "X-Generator: Weblate 4.18-dev\n"
#: modules/files.nix:234 #: modules/files.nix:234
msgid "Creating home file links in %s" msgid "Creating home file links in %s"
@ -35,7 +35,7 @@ msgstr "Skapar profil för generation %s"
msgid "No change so reusing latest profile generation %s" msgid "No change so reusing latest profile generation %s"
msgstr "Ingen förändring, återanvänder därför profil-generation %s" msgstr "Ingen förändring, återanvänder därför profil-generation %s"
#: modules/home-environment.nix:625 #: modules/home-environment.nix:627
msgid "" msgid ""
"Oops, Nix failed to install your new Home Manager profile!\n" "Oops, Nix failed to install your new Home Manager profile!\n"
"\n" "\n"
@ -63,7 +63,7 @@ msgstr ""
"\n" "\n"
"Prova sedan att aktivera din Home Manager-konfiguration igen." "Prova sedan att aktivera din Home Manager-konfiguration igen."
#: modules/home-environment.nix:658 #: modules/home-environment.nix:660
msgid "Activating %s" msgid "Activating %s"
msgstr "Aktiverar %s" msgstr "Aktiverar %s"
@ -107,27 +107,35 @@ msgstr ""
"\n" "\n"
"och prova 'home-manager switch' igen. Lycka till!" "och prova 'home-manager switch' igen. Lycka till!"
#: modules/lib-bash/activation-init.sh:101 #: modules/lib-bash/activation-init.sh:95
msgid "Error: USER is set to \"%s\" but we expect \"%s\""
msgstr "Fel: USER är satt till \"%s\" men \"%s\" förväntades"
#: modules/lib-bash/activation-init.sh:104
msgid "Error: HOME is set to \"%s\" but we expect \"%s\""
msgstr "Fel: HOME är satt till \"%s\" men \"%s\" förväntades"
#: modules/lib-bash/activation-init.sh:119
msgid "Starting Home Manager activation" msgid "Starting Home Manager activation"
msgstr "Startar Home Manager-aktivering" msgstr "Startar Home Manager-aktivering"
#: modules/lib-bash/activation-init.sh:105 #: modules/lib-bash/activation-init.sh:123
msgid "Sanity checking Nix" msgid "Sanity checking Nix"
msgstr "Kontrollerar att Nix funkar" msgstr "Kontrollerar att Nix funkar"
#: modules/lib-bash/activation-init.sh:112 #: modules/lib-bash/activation-init.sh:133
msgid "This is a dry run" msgid "This is a dry run"
msgstr "Detta är en simulerad körning" msgstr "Detta är en simulerad körning"
#: modules/lib-bash/activation-init.sh:116 #: modules/lib-bash/activation-init.sh:137
msgid "This is a live run" msgid "This is a live run"
msgstr "Detta är en verklig körning" msgstr "Detta är en verklig körning"
#: modules/lib-bash/activation-init.sh:122 #: modules/lib-bash/activation-init.sh:143
msgid "Using Nix version: %s" msgid "Using Nix version: %s"
msgstr "Använder Nix-version: %s" msgstr "Använder Nix-version: %s"
#: modules/lib-bash/activation-init.sh:125 #: modules/lib-bash/activation-init.sh:146
msgid "Activation variables:" msgid "Activation variables:"
msgstr "Aktiveringsvariabler:" msgstr "Aktiveringsvariabler:"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager Modules\n" "Project-Id-Version: Home Manager Modules\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2022-03-26 23:57+0000\n" "PO-Revision-Date: 2022-03-26 23:57+0000\n"
"Last-Translator: Oğuz Ersen <oguz@ersen.moe>\n" "Last-Translator: Oğuz Ersen <oguz@ersen.moe>\n"
"Language-Team: Turkish <https://hosted.weblate.org/projects/home-manager/" "Language-Team: Turkish <https://hosted.weblate.org/projects/home-manager/"
@ -36,7 +36,7 @@ msgid "No change so reusing latest profile generation %s"
msgstr "" msgstr ""
"Değişiklik yok, bu nedenle en son profil inşası %s yeniden kullanılıyor" "Değişiklik yok, bu nedenle en son profil inşası %s yeniden kullanılıyor"
#: modules/home-environment.nix:625 #: modules/home-environment.nix:627
msgid "" msgid ""
"Oops, Nix failed to install your new Home Manager profile!\n" "Oops, Nix failed to install your new Home Manager profile!\n"
"\n" "\n"
@ -64,7 +64,7 @@ msgstr ""
"ile kaldırabilirsiniz. Sonra Home Manager yapılandırmanızı yeniden\n" "ile kaldırabilirsiniz. Sonra Home Manager yapılandırmanızı yeniden\n"
"etkinleştirmeyi deneyin." "etkinleştirmeyi deneyin."
#: modules/home-environment.nix:658 #: modules/home-environment.nix:660
msgid "Activating %s" msgid "Activating %s"
msgstr "%s etkinleştiriliyor" msgstr "%s etkinleştiriliyor"
@ -109,26 +109,34 @@ msgstr ""
"komutlarını çalıştırmak ve tekrar home-manager switch denemektir. İyi " "komutlarını çalıştırmak ve tekrar home-manager switch denemektir. İyi "
"şanslar!" "şanslar!"
#: modules/lib-bash/activation-init.sh:101 #: 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" msgid "Starting Home Manager activation"
msgstr "Home Manager etkinleştirmesi başlatılıyor" msgstr "Home Manager etkinleştirmesi başlatılıyor"
#: modules/lib-bash/activation-init.sh:105 #: modules/lib-bash/activation-init.sh:123
msgid "Sanity checking Nix" msgid "Sanity checking Nix"
msgstr "Nix denetleniyor" msgstr "Nix denetleniyor"
#: modules/lib-bash/activation-init.sh:112 #: modules/lib-bash/activation-init.sh:133
msgid "This is a dry run" msgid "This is a dry run"
msgstr "Bu bir deneme çalıştırmasıdır" msgstr "Bu bir deneme çalıştırmasıdır"
#: modules/lib-bash/activation-init.sh:116 #: modules/lib-bash/activation-init.sh:137
msgid "This is a live run" msgid "This is a live run"
msgstr "Bu bir gerçek çalıştırmadır" msgstr "Bu bir gerçek çalıştırmadır"
#: modules/lib-bash/activation-init.sh:122 #: modules/lib-bash/activation-init.sh:143
msgid "Using Nix version: %s" msgid "Using Nix version: %s"
msgstr "Kullanılan Nix sürümü: %s" msgstr "Kullanılan Nix sürümü: %s"
#: modules/lib-bash/activation-init.sh:125 #: modules/lib-bash/activation-init.sh:146
msgid "Activation variables:" msgid "Activation variables:"
msgstr "Etkinleştirme değişkenleri:" msgstr "Etkinleştirme değişkenleri:"

View file

@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager Modules\n" "Project-Id-Version: Home Manager Modules\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-04-13 13:47+0000\n" "PO-Revision-Date: 2023-05-28 22:49+0000\n"
"Last-Translator: Dan <denqwerta@gmail.com>\n" "Last-Translator: Dan <denqwerta@gmail.com>\n"
"Language-Team: Ukrainian <https://hosted.weblate.org/projects/home-manager/" "Language-Team: Ukrainian <https://hosted.weblate.org/projects/home-manager/"
"modules/uk/>\n" "modules/uk/>\n"
@ -18,7 +18,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.17-dev\n" "X-Generator: Weblate 4.18-dev\n"
#: modules/files.nix:234 #: modules/files.nix:234
msgid "Creating home file links in %s" msgid "Creating home file links in %s"
@ -36,7 +36,7 @@ msgstr "Створення генерації профілю %s"
msgid "No change so reusing latest profile generation %s" msgid "No change so reusing latest profile generation %s"
msgstr "Без змін, тому повторне використання останньої генерації профілю %s" msgstr "Без змін, тому повторне використання останньої генерації профілю %s"
#: modules/home-environment.nix:625 #: modules/home-environment.nix:627
msgid "" msgid ""
"Oops, Nix failed to install your new Home Manager profile!\n" "Oops, Nix failed to install your new Home Manager profile!\n"
"\n" "\n"
@ -64,7 +64,7 @@ msgstr ""
"\n" "\n"
"Потім спробуйте знову активувати конфігурацію Home Manager." "Потім спробуйте знову активувати конфігурацію Home Manager."
#: modules/home-environment.nix:658 #: modules/home-environment.nix:660
msgid "Activating %s" msgid "Activating %s"
msgstr "Активація %s" msgstr "Активація %s"
@ -109,27 +109,35 @@ msgstr ""
"\n" "\n"
"і знову намагатися переключитися на home-manager switch. Удачі!" "і знову намагатися переключитися на home-manager switch. Удачі!"
#: modules/lib-bash/activation-init.sh:101 #: modules/lib-bash/activation-init.sh:95
msgid "Error: USER is set to \"%s\" but we expect \"%s\""
msgstr "Помилка: USER встановлено на \"%s\", але очікувалося \"%s\""
#: modules/lib-bash/activation-init.sh:104
msgid "Error: HOME is set to \"%s\" but we expect \"%s\""
msgstr "Помилка: HOME встановлено на \"%s\", але очікувалося \"%s\""
#: modules/lib-bash/activation-init.sh:119
msgid "Starting Home Manager activation" msgid "Starting Home Manager activation"
msgstr "Початок активації Home Manager" msgstr "Початок активації Home Manager"
#: modules/lib-bash/activation-init.sh:105 #: modules/lib-bash/activation-init.sh:123
msgid "Sanity checking Nix" msgid "Sanity checking Nix"
msgstr "Перевірка адекватності Nix" msgstr "Перевірка адекватності Nix"
#: modules/lib-bash/activation-init.sh:112 #: modules/lib-bash/activation-init.sh:133
msgid "This is a dry run" msgid "This is a dry run"
msgstr "Це пробний запуск" msgstr "Це пробний запуск"
#: modules/lib-bash/activation-init.sh:116 #: modules/lib-bash/activation-init.sh:137
msgid "This is a live run" msgid "This is a live run"
msgstr "Це справжній запуск" msgstr "Це справжній запуск"
#: modules/lib-bash/activation-init.sh:122 #: modules/lib-bash/activation-init.sh:143
msgid "Using Nix version: %s" msgid "Using Nix version: %s"
msgstr "Використання версії Nix: %s" msgstr "Використання версії Nix: %s"
#: modules/lib-bash/activation-init.sh:125 #: modules/lib-bash/activation-init.sh:146
msgid "Activation variables:" msgid "Activation variables:"
msgstr "Активація змінних:" msgstr "Активація змінних:"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager Modules\n" "Project-Id-Version: Home Manager Modules\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2022-05-16 13:18+0000\n" "PO-Revision-Date: 2022-05-16 13:18+0000\n"
"Last-Translator: Yubo-Cao <Cao2006721@gmail.com>\n" "Last-Translator: Yubo-Cao <Cao2006721@gmail.com>\n"
"Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/" "Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/"
@ -35,7 +35,7 @@ msgstr "正在创建配置文件世代 %s"
msgid "No change so reusing latest profile generation %s" msgid "No change so reusing latest profile generation %s"
msgstr "未发生变化,正在重新使用最近一次的配置文件世代 %s" msgstr "未发生变化,正在重新使用最近一次的配置文件世代 %s"
#: modules/home-environment.nix:625 #: modules/home-environment.nix:627
msgid "" msgid ""
"Oops, Nix failed to install your new Home Manager profile!\n" "Oops, Nix failed to install your new Home Manager profile!\n"
"\n" "\n"
@ -63,7 +63,7 @@ msgstr ""
"\n" "\n"
"来移除。然后尝试再次激活您的 Home Manager 配置。" "来移除。然后尝试再次激活您的 Home Manager 配置。"
#: modules/home-environment.nix:658 #: modules/home-environment.nix:660
msgid "Activating %s" msgid "Activating %s"
msgstr "正在激活 %s" msgstr "正在激活 %s"
@ -95,26 +95,34 @@ msgid ""
"and trying home-manager switch again. Good luck!" "and trying home-manager switch again. Good luck!"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:101 #: 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" msgid "Starting Home Manager activation"
msgstr "正在启动 Home Manager 初始化程序" msgstr "正在启动 Home Manager 初始化程序"
#: modules/lib-bash/activation-init.sh:105 #: modules/lib-bash/activation-init.sh:123
msgid "Sanity checking Nix" msgid "Sanity checking Nix"
msgstr "正在进行 Nix 完整性检查" msgstr "正在进行 Nix 完整性检查"
#: modules/lib-bash/activation-init.sh:112 #: modules/lib-bash/activation-init.sh:133
msgid "This is a dry run" msgid "This is a dry run"
msgstr "这是试运行" msgstr "这是试运行"
#: modules/lib-bash/activation-init.sh:116 #: modules/lib-bash/activation-init.sh:137
msgid "This is a live run" msgid "This is a live run"
msgstr "这是在实际运行" msgstr "这是在实际运行"
#: modules/lib-bash/activation-init.sh:122 #: modules/lib-bash/activation-init.sh:143
msgid "Using Nix version: %s" msgid "Using Nix version: %s"
msgstr "正在使用的 Nix 版本: %s" msgstr "正在使用的 Nix 版本: %s"
#: modules/lib-bash/activation-init.sh:125 #: modules/lib-bash/activation-init.sh:146
msgid "Activation variables:" msgid "Activation variables:"
msgstr "激活的变量:" msgstr "激活的变量:"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Home Manager Modules\n" "Project-Id-Version: Home Manager Modules\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n"
"PO-Revision-Date: 2023-01-08 11:50+0000\n" "PO-Revision-Date: 2023-01-08 11:50+0000\n"
"Last-Translator: Eric Ho <eric913@gmail.com>\n" "Last-Translator: Eric Ho <eric913@gmail.com>\n"
"Language-Team: Chinese (Traditional) <https://hosted.weblate.org/projects/" "Language-Team: Chinese (Traditional) <https://hosted.weblate.org/projects/"
@ -35,7 +35,7 @@ msgstr "正在建立配置檔案世代 %s"
msgid "No change so reusing latest profile generation %s" msgid "No change so reusing latest profile generation %s"
msgstr "未發生變化,正在重新使用最近一次的配置檔案世代 %s" msgstr "未發生變化,正在重新使用最近一次的配置檔案世代 %s"
#: modules/home-environment.nix:625 #: modules/home-environment.nix:627
msgid "" msgid ""
"Oops, Nix failed to install your new Home Manager profile!\n" "Oops, Nix failed to install your new Home Manager profile!\n"
"\n" "\n"
@ -63,7 +63,7 @@ msgstr ""
"\n" "\n"
"來移除。然後嘗試再次啟用您的 Home Manager 配置。" "來移除。然後嘗試再次啟用您的 Home Manager 配置。"
#: modules/home-environment.nix:658 #: modules/home-environment.nix:660
msgid "Activating %s" msgid "Activating %s"
msgstr "正在啟用 %s" msgstr "正在啟用 %s"
@ -95,26 +95,34 @@ msgid ""
"and trying home-manager switch again. Good luck!" "and trying home-manager switch again. Good luck!"
msgstr "" msgstr ""
#: modules/lib-bash/activation-init.sh:101 #: 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" msgid "Starting Home Manager activation"
msgstr "正在啟動 Home Manager 初始化程式" msgstr "正在啟動 Home Manager 初始化程式"
#: modules/lib-bash/activation-init.sh:105 #: modules/lib-bash/activation-init.sh:123
msgid "Sanity checking Nix" msgid "Sanity checking Nix"
msgstr "正在進行 Nix 完整性檢查" msgstr "正在進行 Nix 完整性檢查"
#: modules/lib-bash/activation-init.sh:112 #: modules/lib-bash/activation-init.sh:133
msgid "This is a dry run" msgid "This is a dry run"
msgstr "這是試運行" msgstr "這是試運行"
#: modules/lib-bash/activation-init.sh:116 #: modules/lib-bash/activation-init.sh:137
msgid "This is a live run" msgid "This is a live run"
msgstr "這是在實際運行" msgstr "這是在實際運行"
#: modules/lib-bash/activation-init.sh:122 #: modules/lib-bash/activation-init.sh:143
msgid "Using Nix version: %s" msgid "Using Nix version: %s"
msgstr "正在使用的 Nix 版本: %s" msgstr "正在使用的 Nix 版本: %s"
#: modules/lib-bash/activation-init.sh:125 #: modules/lib-bash/activation-init.sh:146
msgid "Activation variables:" msgid "Activation variables:"
msgstr "啟用的變數:" msgstr "啟用的變數:"

View file

@ -36,7 +36,7 @@ in {
}; };
dsaFingerprint = mkOption { dsaFingerprint = mkOption {
type = with types; nullOr string; type = with types; nullOr str;
default = null; default = null;
example = literalExpression example = literalExpression
"SHA256:1111111111111111111111111111111111111111111"; "SHA256:1111111111111111111111111111111111111111111";
@ -44,7 +44,7 @@ in {
}; };
rsaFingerprint = mkOption { rsaFingerprint = mkOption {
type = with types; nullOr string; type = with types; nullOr str;
default = null; default = null;
example = literalExpression example = literalExpression
"SHA256:1111111111111111111111111111111111111111111"; "SHA256:1111111111111111111111111111111111111111111";

View file

@ -1,19 +1,25 @@
{ pkgs, config, lib, ... }: { pkgs, config, lib, ... }:
let let
inherit (lib) inherit (lib)
mkOption mkEnableOption mkIf maintainers literalExpression types platforms; mkOption mkEnableOption mkIf maintainers literalExpression types platforms
mkRemovedOptionModule versionAtLeast;
inherit (lib.hm.assertions) assertPlatform; inherit (lib.hm.assertions) assertPlatform;
cfg = config.services.espanso; cfg = config.services.espanso;
espansoVersion = cfg.package.version;
yaml = pkgs.formats.yaml { }; yaml = pkgs.formats.yaml { };
in { in {
meta.maintainers = with maintainers; [ lucasew ]; imports = [
(mkRemovedOptionModule [ "services" "espanso" "settings" ]
"Use services.espanso.configs and services.espanso.matches instead.")
];
meta.maintainers = [
maintainers.lucasew
maintainers.bobvanderlinden
lib.hm.maintainers.liyangau
];
options = { options = {
services.espanso = { services.espanso = {
enable = mkEnableOption "Espanso: cross platform text expander in Rust"; enable = mkEnableOption "Espanso: cross platform text expander in Rust";
@ -25,40 +31,67 @@ in {
defaultText = literalExpression "pkgs.espanso"; defaultText = literalExpression "pkgs.espanso";
}; };
settings = mkOption { configs = mkOption {
type = yaml.type; type = yaml.type;
default = { matches = [ ]; }; default = { default = { }; };
example = literalExpression '' example = literalExpression ''
{ {
matches = [ default = {
{ # Simple text replacement show_notifications = false;
trigger = ":espanso"; };
replace = "Hi there!"; vscode = {
} filter_title = "Visual Studio Code$";
{ # Dates backend = "Clipboard";
trigger = ":date"; };
replace = "{{mydate}}"; };
vars = [{
name = "mydate";
type = "date";
params = { format = "%m/%d/%Y"; };
}];
}
{ # Shell commands
trigger = ":shell";
replace = "{{output}}";
vars = [{
name = "output";
type = "shell";
params = { cmd = "echo Hello from your shell"; };
}];
}
];
}
''; '';
description = '' description = ''
The Espanso configuration to use. See The Espanso configuration to use. See
<link xlink:href="https://espanso.org/docs/configuration/"/> <link xlink:href="https://espanso.org/docs/configuration/basics/"/>
for a description of available options.
'';
};
matches = mkOption {
type = yaml.type;
default = { default.matches = [ ]; };
example = literalExpression ''
{
base = {
matches = [
{
trigger = ":now";
replace = "It's {{currentdate}} {{currenttime}}";
}
{
trigger = ":hello";
replace = "line1\nline2";
}
{
regex = ":hi(?P<person>.*)\\.";
replace = "Hi {{person}}!";
}
];
};
global_vars = {
global_vars = [
{
name = "currentdate";
type = "date";
params = {format = "%d/%m/%Y";};
}
{
name = "currenttime";
type = "date";
params = {format = "%R";};
}
];
};
};
'';
description = ''
The Espanso matches to use. See
<link xlink:href="https://espanso.org/docs/matches/basics/"/>
for a description of available options. for a description of available options.
''; '';
}; };
@ -66,12 +99,28 @@ in {
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
assertions = [ (assertPlatform "services.espanso" pkgs platforms.linux) ]; assertions = [
(assertPlatform "services.espanso" pkgs platforms.linux)
{
assertion = versionAtLeast espansoVersion "2";
message = ''
The services.espanso module only supports Espanso version 2 or later.
'';
}
];
home.packages = [ cfg.package ]; home.packages = [ cfg.package ];
xdg.configFile."espanso/default.yml".source = xdg.configFile = let
yaml.generate "espanso-default.yml" cfg.settings; configFiles = lib.mapAttrs' (name: value: {
name = "espanso/config/${name}.yml";
value = { source = yaml.generate "${name}.yml" value; };
}) cfg.configs;
matchesFiles = lib.mapAttrs' (name: value: {
name = "espanso/match/${name}.yml";
value = { source = yaml.generate "${name}.yml" value; };
}) cfg.matches;
in configFiles // matchesFiles;
systemd.user.services.espanso = { systemd.user.services.espanso = {
Unit = { Description = "Espanso: cross platform text expander in Rust"; }; Unit = { Description = "Espanso: cross platform text expander in Rust"; };

View file

@ -2,14 +2,26 @@
with lib; with lib;
{ let cfg = config.services.pasystray;
in {
meta.maintainers = [ hm.maintainers.pltanton ]; meta.maintainers = [ hm.maintainers.pltanton ];
options = { options = {
services.pasystray = { enable = mkEnableOption "PulseAudio system tray"; }; services.pasystray = {
enable = mkEnableOption "PulseAudio system tray";
extraOptions = mkOption {
type = types.listOf types.str;
default = [ ];
description = ''
Extra command-line arguments to pass to {command}`pasystray`.
'';
};
};
}; };
config = mkIf config.services.pasystray.enable { config = mkIf cfg.enable {
assertions = [ assertions = [
(hm.assertions.assertPlatform "services.pasystray" pkgs platforms.linux) (hm.assertions.assertPlatform "services.pasystray" pkgs platforms.linux)
]; ];
@ -28,7 +40,8 @@ with lib;
Environment = Environment =
let toolPaths = makeBinPath [ pkgs.paprefs pkgs.pavucontrol ]; let toolPaths = makeBinPath [ pkgs.paprefs pkgs.pavucontrol ];
in [ "PATH=${toolPaths}" ]; in [ "PATH=${toolPaths}" ];
ExecStart = "${pkgs.pasystray}/bin/pasystray"; ExecStart = escapeShellArgs
([ "${pkgs.pasystray}/bin/pasystray" ] ++ cfg.extraOptions);
}; };
}; };
}; };

View file

@ -121,6 +121,7 @@ in {
Service = { Service = {
Type = "simple"; Type = "simple";
Restart = "always";
# swayidle executes commands using "sh -c", so the PATH needs to contain a shell. # swayidle executes commands using "sh -c", so the PATH needs to contain a shell.
Environment = [ "PATH=${makeBinPath [ pkgs.bash ]}" ]; Environment = [ "PATH=${makeBinPath [ pkgs.bash ]}" ];
ExecStart = ExecStart =

View file

@ -64,7 +64,6 @@ import nmt {
./modules/programs/bat ./modules/programs/bat
./modules/programs/bottom ./modules/programs/bottom
./modules/programs/broot ./modules/programs/broot
./modules/programs/browserpass
./modules/programs/btop ./modules/programs/btop
./modules/programs/dircolors ./modules/programs/dircolors
./modules/programs/direnv ./modules/programs/direnv
@ -155,6 +154,7 @@ import nmt {
./modules/programs/autorandr ./modules/programs/autorandr
./modules/programs/beets # One test relies on services.mpd ./modules/programs/beets # One test relies on services.mpd
./modules/programs/borgmatic ./modules/programs/borgmatic
./modules/programs/browserpass # TODO re-enable on Darwin when https://github.com/NixOS/nixpkgs/pull/236258#issuecomment-1583450593 is fixed
./modules/programs/firefox ./modules/programs/firefox
./modules/programs/foot ./modules/programs/foot
./modules/programs/fuzzel ./modules/programs/fuzzel
@ -203,6 +203,7 @@ import nmt {
./modules/services/pantalaimon ./modules/services/pantalaimon
./modules/services/parcellite ./modules/services/parcellite
./modules/services/pass-secret-service ./modules/services/pass-secret-service
./modules/services/pasystray
./modules/services/pbgopy ./modules/services/pbgopy
./modules/services/picom ./modules/services/picom
./modules/services/playerctld ./modules/services/playerctld

View file

@ -8,6 +8,7 @@ with lib;
test.stubs.autojump = { test.stubs.autojump = {
buildScript = "mkdir -p $out/bin; touch $out/bin/autojump"; buildScript = "mkdir -p $out/bin; touch $out/bin/autojump";
outPath = null;
}; };
nmt.script = '' nmt.script = ''

View file

@ -8,19 +8,6 @@
nmt.script = '' nmt.script = ''
assertFileExists home-files/.config/broot/conf.toml assertFileExists home-files/.config/broot/conf.toml
assertFileContent home-files/.config/broot/conf.toml ${ assertFileContains home-files/.config/broot/conf.toml 'modal = true'
builtins.toFile "broot.expected" ''
content_search_max_file_size = "10MB"
imports = ["verbs.hjson", {file = "dark-blue-skin.hjson", luma = ["dark", "unknown"]}, {file = "white-skin.hjson", luma = "light"}]
modal = true
show_selection_mark = true
verbs = []
[skin]
[special_paths]
"/media" = "no-enter"
''
}
''; '';
} }

View file

@ -3,31 +3,38 @@
{ {
services.espanso = { services.espanso = {
enable = true; enable = true;
settings = { configs = { default = { show_notifications = false; }; };
matches = {
base = {
matches = [ matches = [
{ # Simple text replacement {
trigger = ":espanso"; trigger = ":now";
replace = "Hi there!"; replace = "It's {{currentdate}} {{currenttime}}";
} }
{ # Dates {
trigger = ":date"; trigger = ":hello";
replace = "{{mydate}}"; replace = ''
vars = [{ line1
name = "mydate"; line2'';
type = "date";
params = { format = "%m/%d/%Y"; };
}];
} }
{ # Shell commands {
trigger = ":shell"; regex = ":hi(?P<person>.*)\\.";
replace = "{{output}}"; replace = "Hi {{person}}!";
vars = [{
name = "output";
type = "shell";
params = { cmd = "echo Hello from your shell"; };
}];
} }
]; ];
global_vars = [
{
name = "currentdate";
type = "date";
params = { format = "%d/%m/%Y"; };
}
{
name = "currenttime";
type = "date";
params = { format = "%R"; };
}
];
};
}; };
}; };
@ -38,8 +45,12 @@
assertFileExists "$serviceFile" assertFileExists "$serviceFile"
assertFileContent "$serviceFile" ${./basic-configuration.service} assertFileContent "$serviceFile" ${./basic-configuration.service}
configFile=home-files/.config/espanso/default.yml configFile=home-files/.config/espanso/config/default.yml
assertFileExists "$configFile" assertFileExists "$configFile"
assertFileContent "$configFile" ${./basic-configuration.yaml} assertFileContent "$configFile" ${./basic-configuration.yaml}
matchFile=home-files/.config/espanso/match/base.yml
assertFileExists "$matchFile"
assertFileContent "$matchFile" ${./basic-matches.yaml}
''; '';
} }

View file

@ -1,17 +1 @@
matches: show_notifications: false
- replace: Hi there!
trigger: :espanso
- replace: '{{mydate}}'
trigger: :date
vars:
- name: mydate
params:
format: '%m/%d/%Y'
type: date
- replace: '{{output}}'
trigger: :shell
vars:
- name: output
params:
cmd: echo Hello from your shell
type: shell

View file

@ -0,0 +1,18 @@
global_vars:
- name: currentdate
params:
format: '%d/%m/%Y'
type: date
- name: currenttime
params:
format: '%R'
type: date
matches:
- replace: It's {{currentdate}} {{currenttime}}
trigger: :now
- replace: 'line1
line2'
trigger: :hello
- regex: :hi(?P<person>.*)\.
replace: Hi {{person}}!

View file

@ -24,7 +24,7 @@
WantedBy=default.target WantedBy=default.target
[Service] [Service]
Environment=PATH=/nix/store/00000000000000000000000000000000-openssh/bin:/nix/store/00000000000000000000000000000000-git/bin Environment=PATH=@openssh@/bin:/nix/store/00000000000000000000000000000000-git/bin
Environment=GIT_SYNC_DIRECTORY=/a/path Environment=GIT_SYNC_DIRECTORY=/a/path
Environment=GIT_SYNC_COMMAND=@git-sync@/bin/git-sync Environment=GIT_SYNC_COMMAND=@git-sync@/bin/git-sync
Environment=GIT_SYNC_REPOSITORY=git+ssh://user@example.com:/~user/path/to/repo.git Environment=GIT_SYNC_REPOSITORY=git+ssh://user@example.com:/~user/path/to/repo.git

View file

@ -0,0 +1 @@
{ pasystray-service = ./service.nix; }

View file

@ -0,0 +1,13 @@
[Install]
WantedBy=graphical-session.target
[Service]
Environment=PATH=@paprefs@/bin:@pavucontrol@/bin
ExecStart='@pasystray@/bin/pasystray' '-g'
[Unit]
After=graphical-session-pre.target
After=tray.target
Description=PulseAudio system tray
PartOf=graphical-session.target
Requires=tray.target

View file

@ -0,0 +1,19 @@
{ ... }:
{
services.pasystray = {
enable = true;
extraOptions = [ "-g" ];
};
test.stubs = {
pasystray = { };
paprefs = { };
pavucontrol = { };
};
nmt.script = ''
serviceFile=$(normalizeStorePaths home-files/.config/systemd/user/pasystray.service)
assertFileContent "$serviceFile" ${./expected.service}
'';
}

View file

@ -46,6 +46,7 @@
assertFileExists $serviceFile assertFileExists $serviceFile
assertFileRegex $serviceFile 'ExecStart=.*/bin/swayidle ${expectedArgs}' assertFileRegex $serviceFile 'ExecStart=.*/bin/swayidle ${expectedArgs}'
assertFileRegex $serviceFile 'Restart=always'
assertFileRegex $serviceFile 'Environment=.*PATH=${ assertFileRegex $serviceFile 'Environment=.*PATH=${
lib.makeBinPath [ pkgs.bash ] lib.makeBinPath [ pkgs.bash ]
}' }'

View file

@ -15,12 +15,13 @@ let
outPath = mkOption { outPath = mkOption {
type = types.nullOr types.str; type = types.nullOr types.str;
default = "@${name}@"; default = "@${name}@";
defaultText = "@\${name}@"; defaultText = literalExpression ''"@''${name}@"'';
}; };
version = mkOption { version = mkOption {
type = types.nullOr types.str; type = types.nullOr types.str;
default = null; default = null;
defaultText = literalExpression "pkgs.\${name}.version or null";
}; };
buildScript = mkOption { buildScript = mkOption {
@ -41,8 +42,18 @@ let
dummyPackage dummyPackage
else else
pkgs.runCommandLocal name { pname = name; } buildScript; pkgs.runCommandLocal name { pname = name; } buildScript;
in pkg // optionalAttrs (outPath != null) { inherit outPath; } in pkg // optionalAttrs (outPath != null) {
// optionalAttrs (version != null) { inherit version; }; inherit outPath;
# Prevent getOutput from descending into outputs
outputSpecified = true;
# Allow the original package to be used in derivation inputs
__spliced = {
buildHost = pkg;
hostTarget = pkg;
};
} // optionalAttrs (version != null) { inherit version; };
in { in {
options.test.stubs = mkOption { options.test.stubs = mkOption {
@ -55,7 +66,12 @@ in {
config = { config = {
lib.test.mkStubPackage = mkStubPackage; lib.test.mkStubPackage = mkStubPackage;
nixpkgs.overlays = mkIf (config.test.stubs != { }) nixpkgs.overlays = mkIf (config.test.stubs != { }) [
[ (self: super: mapAttrs (n: mkStubPackage) config.test.stubs) ]; (self: super:
mapAttrs (n: v:
mkStubPackage (v // optionalAttrs (v.version == null) {
version = super.${n}.version or null;
})) config.test.stubs)
];
}; };
} }