mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
Compare commits
658 Commits
release-22
...
release-23
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fc44921818 | ||
|
|
6779167a73 | ||
|
|
219f4bef6d | ||
|
|
33110fb3c7 | ||
|
|
28535c3a34 | ||
|
|
6d280e9543 | ||
|
|
f51e5fdd70 | ||
|
|
04bac349d5 | ||
|
|
07682fff75 | ||
|
|
1f5735f335 | ||
|
|
9787dffff5 | ||
|
|
b605778e55 | ||
|
|
5bac4a1c06 | ||
|
|
4770bb9267 | ||
|
|
2a6679aa9c | ||
|
|
7f351e2993 | ||
|
|
07c347bb50 | ||
|
|
6ca1e16eb3 | ||
|
|
3ac8421e1f | ||
|
|
05a584b4f6 | ||
|
|
ac53777f52 | ||
|
|
a8d549351d | ||
|
|
61e5d1c38e | ||
|
|
e753d659c6 | ||
|
|
93db05480c | ||
|
|
59edd0a4b4 | ||
|
|
91106499cb | ||
|
|
0fef41ca31 | ||
|
|
42e8a92cd2 | ||
|
|
33ccc5c285 | ||
|
|
b2a6cf7b59 | ||
|
|
54a9d6456e | ||
|
|
9f82227b64 | ||
|
|
43ed7048f6 | ||
|
|
2d963854ae | ||
|
|
6a19225683 | ||
|
|
bec196cd9b | ||
|
|
d1f04b0f36 | ||
|
|
58eb968c21 | ||
|
|
d9995d94f1 | ||
|
|
ba006d7cca | ||
|
|
13a74643d7 | ||
|
|
27ef11f021 | ||
|
|
b9a52ad20e | ||
|
|
c10403a573 | ||
|
|
59659243cd | ||
|
|
e14e797041 | ||
|
|
b7d814c574 | ||
|
|
c0deab0eff | ||
|
|
e4272987f7 | ||
|
|
db3d440e26 | ||
|
|
6702b22b98 | ||
|
|
e0026e16a5 | ||
|
|
9384997717 | ||
|
|
130abb8dbd | ||
|
|
eec2272999 | ||
|
|
19c509a6fa | ||
|
|
1eac5febc4 | ||
|
|
caa47705f7 | ||
|
|
8345a3166d | ||
|
|
70c8bd08e6 | ||
|
|
a835096fd2 | ||
|
|
cc9f65d104 | ||
|
|
d97e8f8861 | ||
|
|
6be873663e | ||
|
|
2f6a917ade | ||
|
|
d991776527 | ||
|
|
622fa73725 | ||
|
|
f714b17031 | ||
|
|
fa720861b5 | ||
|
|
b365342adb | ||
|
|
010c269877 | ||
|
|
983f8a1bb9 | ||
|
|
3f3fa731ad | ||
|
|
78ceec68f2 | ||
|
|
e34fbe1801 | ||
|
|
d12ca77844 | ||
|
|
de8ba413c5 | ||
|
|
017302483c | ||
|
|
6fc82e5697 | ||
|
|
990b82ecd3 | ||
|
|
0b4ec66640 | ||
|
|
ea29b1a8d1 | ||
|
|
13d666dd68 | ||
|
|
a0ddb8af40 | ||
|
|
cfa5c2869b | ||
|
|
81d5b220cd | ||
|
|
3e906060a8 | ||
|
|
c752906800 | ||
|
|
a834ddf88c | ||
|
|
669669fcb4 | ||
|
|
38271ead8e | ||
|
|
f3824311a1 | ||
|
|
ae6d5466bf | ||
|
|
6abb775e75 | ||
|
|
514c0a71f4 | ||
|
|
788777b536 | ||
|
|
0e4c33d760 | ||
|
|
3144311f31 | ||
|
|
27d89b49e3 | ||
|
|
c4f3a37071 | ||
|
|
f2d6291150 | ||
|
|
43ba4489bd | ||
|
|
d82c9af817 | ||
|
|
6142193635 | ||
|
|
0263da497e | ||
|
|
6f9781b1b0 | ||
|
|
a5a294a622 | ||
|
|
e21ec3db17 | ||
|
|
5904f12d7d | ||
|
|
48ad7ade11 | ||
|
|
32d3e39c49 | ||
|
|
6169690ae3 | ||
|
|
5cd5a1b585 | ||
|
|
3895469036 | ||
|
|
64d1f75a1e | ||
|
|
218503b691 | ||
|
|
47d6c3f652 | ||
|
|
342fd40ccb | ||
|
|
5160039edc | ||
|
|
571d0ed825 | ||
|
|
8506c69222 | ||
|
|
cc05d26326 | ||
|
|
ac4c5c6fd8 | ||
|
|
dfe7024f7e | ||
|
|
5ae849d3c5 | ||
|
|
aa03c8a429 | ||
|
|
cd5723734a | ||
|
|
2dcb61d396 | ||
|
|
fa980cc985 | ||
|
|
58b8685e47 | ||
|
|
6db559daa9 | ||
|
|
e17e5e4f48 | ||
|
|
cd690d2021 | ||
|
|
ae79840bc7 | ||
|
|
53bd74f786 | ||
|
|
68eaf4b577 | ||
|
|
d1d0ee37c3 | ||
|
|
21ca88f3a9 | ||
|
|
40ebb62101 | ||
|
|
2df3d5d39c | ||
|
|
75f4f362e1 | ||
|
|
17198cf5ae | ||
|
|
9f78c6de4f | ||
|
|
5cdaa2982c | ||
|
|
48aa5429cc | ||
|
|
d53b9b39b2 | ||
|
|
61f5c2196f | ||
|
|
49a3eff146 | ||
|
|
9481677f34 | ||
|
|
b10e3ee4ad | ||
|
|
916b7a545d | ||
|
|
af8a80c4ce | ||
|
|
8631c04416 | ||
|
|
fe1e2dee19 | ||
|
|
28698126bd | ||
|
|
6e57fc4705 | ||
|
|
013948ddf6 | ||
|
|
4e79c6a414 | ||
|
|
93f5cb2482 | ||
|
|
440faf5ae4 | ||
|
|
ec06f419af | ||
|
|
eefb379386 | ||
|
|
24f60622a7 | ||
|
|
a5fe7bf73c | ||
|
|
ccf650bb5b | ||
|
|
6c76fb5b12 | ||
|
|
ddd8866c03 | ||
|
|
67b97020b6 | ||
|
|
d3fd3b9d69 | ||
|
|
0e065e1b6f | ||
|
|
765e4007b6 | ||
|
|
deb2f59b5c | ||
|
|
cf662b6c98 | ||
|
|
da325265b7 | ||
|
|
2acea86583 | ||
|
|
d80bf24dab | ||
|
|
225d1fb77e | ||
|
|
99680311f1 | ||
|
|
3ace6a31dd | ||
|
|
885a504f80 | ||
|
|
2f8d24b7f5 | ||
|
|
a34aaad2ae | ||
|
|
db37c53760 | ||
|
|
363c46b248 | ||
|
|
c6a7bc90ca | ||
|
|
486ba3de4e | ||
|
|
e60080ddfb | ||
|
|
e386ec640e | ||
|
|
a8f5ca239f | ||
|
|
2ddd4e151d | ||
|
|
2bf15d3835 | ||
|
|
7720f200ea | ||
|
|
c509a7d5ff | ||
|
|
abc8378e21 | ||
|
|
69bf0fedbe | ||
|
|
7217ca165b | ||
|
|
1b8bf5c327 | ||
|
|
bcc417b80f | ||
|
|
3239e0b40f | ||
|
|
62cc5d815c | ||
|
|
c7231c06e9 | ||
|
|
b832390db3 | ||
|
|
5e94669f8e | ||
|
|
c8cb60b8a1 | ||
|
|
95201931f2 | ||
|
|
2bd74d92bc | ||
|
|
85196310e1 | ||
|
|
5b798e2b99 | ||
|
|
5eec450c75 | ||
|
|
215af6252d | ||
|
|
af4e1af1ae | ||
|
|
2fa7d28699 | ||
|
|
cae54dc45c | ||
|
|
da15dd1f27 | ||
|
|
8d2b898532 | ||
|
|
24c1a6335e | ||
|
|
7fe539dfbb | ||
|
|
46f637bd80 | ||
|
|
118a9f79fd | ||
|
|
dd6c5acd86 | ||
|
|
7783e1b949 | ||
|
|
4bc153e9c8 | ||
|
|
609bc04c21 | ||
|
|
564aea1c43 | ||
|
|
9a8e3ad21a | ||
|
|
a410f8d658 | ||
|
|
bf5712c586 | ||
|
|
7224d7c54c | ||
|
|
c03d1e75a1 | ||
|
|
fce9dbfeb4 | ||
|
|
36999b8d19 | ||
|
|
f69816489d | ||
|
|
0f3dfc16d0 | ||
|
|
defd16c5d5 | ||
|
|
04d6cad675 | ||
|
|
e314f6cf21 | ||
|
|
68ba595783 | ||
|
|
3c18113bd7 | ||
|
|
b9e3a29864 | ||
|
|
547a3bc8d4 | ||
|
|
db1c22626a | ||
|
|
f807788035 | ||
|
|
ef7d316578 | ||
|
|
ddcbf676ba | ||
|
|
9438e56a7b | ||
|
|
4bac341868 | ||
|
|
305daba44a | ||
|
|
ab7c8f4a84 | ||
|
|
635bbcdd6f | ||
|
|
bf76afbb06 | ||
|
|
fc3432bac2 | ||
|
|
d68cd7f7df | ||
|
|
7b6e507151 | ||
|
|
693d76eeb8 | ||
|
|
664945b3e0 | ||
|
|
4295fdfa6b | ||
|
|
564b82b354 | ||
|
|
c7c69ec405 | ||
|
|
5e889b385c | ||
|
|
72ce74d3ea | ||
|
|
ebb21e1bf6 | ||
|
|
6ea501044b | ||
|
|
ae6f1895d5 | ||
|
|
bdcd1bde4e | ||
|
|
aa4c685096 | ||
|
|
9e9a0e43fe | ||
|
|
81f16a1e3c | ||
|
|
5ffb0f1f81 | ||
|
|
da72e6fc6b | ||
|
|
2dce7f1a55 | ||
|
|
1232d0e133 | ||
|
|
e631d78ddf | ||
|
|
d7a5a28fc3 | ||
|
|
6d95d98b6b | ||
|
|
02ac667557 | ||
|
|
7529a2674a | ||
|
|
edb3645383 | ||
|
|
17dc593930 | ||
|
|
d6b1d42682 | ||
|
|
b70362bf9b | ||
|
|
c43d4a3d6d | ||
|
|
9621e9ab80 | ||
|
|
9f4268e6b6 | ||
|
|
e3f28ddb0d | ||
|
|
6d2ba4654d | ||
|
|
ca69be9335 | ||
|
|
ffc022b6a7 | ||
|
|
e716961d78 | ||
|
|
2ffc6d6496 | ||
|
|
e2c1756e3a | ||
|
|
d1c7730bb7 | ||
|
|
4a95852490 | ||
|
|
2f62da9837 | ||
|
|
782cb855b2 | ||
|
|
1d94de5604 | ||
|
|
1c6f3054ca | ||
|
|
69696fe539 | ||
|
|
08a778d803 | ||
|
|
bb4b25b302 | ||
|
|
8f39c67c4c | ||
|
|
7efca2ca18 | ||
|
|
c59f0eac51 | ||
|
|
12d43fd40a | ||
|
|
ab25abf9e5 | ||
|
|
275ab72891 | ||
|
|
7026e1a934 | ||
|
|
866a4ddcb3 | ||
|
|
2c29ae48f9 | ||
|
|
6c5b08a0c1 | ||
|
|
bd3efacb82 | ||
|
|
3e42035fc0 | ||
|
|
d633afe0d9 | ||
|
|
2827b53064 | ||
|
|
176e455371 | ||
|
|
950aace44e | ||
|
|
b0a3689878 | ||
|
|
efb7b11974 | ||
|
|
6816934f41 | ||
|
|
19dccb46f4 | ||
|
|
5344183861 | ||
|
|
f1b1594e7b | ||
|
|
69806e9378 | ||
|
|
4f0c1afba7 | ||
|
|
684bdb386c | ||
|
|
9e565f0d9d | ||
|
|
2cff1c7642 | ||
|
|
709a87fe33 | ||
|
|
1786883425 | ||
|
|
3ecd5305a4 | ||
|
|
54245e1820 | ||
|
|
498c46ea5d | ||
|
|
d01e7280ad | ||
|
|
c1a830c8fa | ||
|
|
dd99675ee8 | ||
|
|
c8f6322303 | ||
|
|
079a33a015 | ||
|
|
cbacdaba3c | ||
|
|
f97f191fe7 | ||
|
|
a993eac106 | ||
|
|
fa1bc088ea | ||
|
|
fb49fbc368 | ||
|
|
8745cc9a21 | ||
|
|
d38dbec809 | ||
|
|
e70550577f | ||
|
|
3ad22341a2 | ||
|
|
5a570962a9 | ||
|
|
d7a3c26854 | ||
|
|
18b56e3f7d | ||
|
|
a62e4c88d7 | ||
|
|
646ac0ad17 | ||
|
|
c55fa26ce0 | ||
|
|
939731b8cb | ||
|
|
d7eee202e5 | ||
|
|
eb9ff9556d | ||
|
|
0f8bf4f92e | ||
|
|
b44f56dfcd | ||
|
|
47bb9e7569 | ||
|
|
1a0a5f5037 | ||
|
|
e7eba9cc46 | ||
|
|
37713c6b04 | ||
|
|
7d55a72d4c | ||
|
|
b7eb400d41 | ||
|
|
d744c2bb9b | ||
|
|
3f0d04aeca | ||
|
|
b3565b3447 | ||
|
|
0e9e86b179 | ||
|
|
e412025fff | ||
|
|
263f6e4523 | ||
|
|
054d9e3187 | ||
|
|
2af0d07678 | ||
|
|
7e81e7ae2b | ||
|
|
747e36476f | ||
|
|
8faa86f134 | ||
|
|
b5c083300b | ||
|
|
c3060ab937 | ||
|
|
6ce326cef9 | ||
|
|
e3e2abaef5 | ||
|
|
90b0e5f440 | ||
|
|
e56714a057 | ||
|
|
2b02f8c7cb | ||
|
|
17bbfcb824 | ||
|
|
7bfe3cd9b0 | ||
|
|
848ae0d6bb | ||
|
|
15d94f3058 | ||
|
|
65700a4fd1 | ||
|
|
9fb1bb9794 | ||
|
|
05d71f517b | ||
|
|
9e266ca2a7 | ||
|
|
ca48fced83 | ||
|
|
518dca61c0 | ||
|
|
eb3598cf44 | ||
|
|
71fa4cdf9c | ||
|
|
478610aa37 | ||
|
|
e38ce0ae16 | ||
|
|
724395e653 | ||
|
|
3b0a446bbf | ||
|
|
63cef13e49 | ||
|
|
cd2a826f33 | ||
|
|
02c0546033 | ||
|
|
50c9bccb6a | ||
|
|
fa671f1795 | ||
|
|
f7fed4dd3d | ||
|
|
1bdbebc3f8 | ||
|
|
7ae7250df8 | ||
|
|
4a12f304e0 | ||
|
|
e999dfe7cb | ||
|
|
cc58d31953 | ||
|
|
5c98a8d860 | ||
|
|
64f7a77517 | ||
|
|
bf99255fc9 | ||
|
|
62cb5bcf93 | ||
|
|
f7641a3ff3 | ||
|
|
3ce1c4787a | ||
|
|
c3690701d1 | ||
|
|
433e8de330 | ||
|
|
c0f9cbcf93 | ||
|
|
948d1f8a5c | ||
|
|
5589b28e66 | ||
|
|
c94c9c342f | ||
|
|
fe85cc4c37 | ||
|
|
bc90de24d8 | ||
|
|
651db464dc | ||
|
|
6ce3493a3c | ||
|
|
d20e3d070c | ||
|
|
b0cf7245c4 | ||
|
|
886675991b | ||
|
|
d67776563e | ||
|
|
5dd3ce3f1e | ||
|
|
1ef0da3212 | ||
|
|
c5adf29545 | ||
|
|
989d4fa536 | ||
|
|
ccc9164b76 | ||
|
|
c728307482 | ||
|
|
b764068a50 | ||
|
|
9333581075 | ||
|
|
39c1e6704a | ||
|
|
f520832a47 | ||
|
|
916811c8f9 | ||
|
|
04e844090e | ||
|
|
183a62f356 | ||
|
|
824202b4c4 | ||
|
|
8957d53199 | ||
|
|
722e8d65d3 | ||
|
|
25344cb808 | ||
|
|
2464c21ab2 | ||
|
|
fad4e7c79c | ||
|
|
160025ca46 | ||
|
|
423211401c | ||
|
|
213a06295d | ||
|
|
f67649307d | ||
|
|
d3f21617ac | ||
|
|
32fe7d2ebb | ||
|
|
7dc4e4ebd7 | ||
|
|
186d9399f9 | ||
|
|
69d19b9839 | ||
|
|
c485669ca5 | ||
|
|
d1191c6d05 | ||
|
|
42f81ac107 | ||
|
|
e901c8d860 | ||
|
|
a50c0c6fe0 | ||
|
|
bc7432fbcc | ||
|
|
04f5399978 | ||
|
|
da3b8049fd | ||
|
|
86bc0e349f | ||
|
|
2ecb3ea990 | ||
|
|
8cbc6500df | ||
|
|
8eaa3ba56e | ||
|
|
618ab0f882 | ||
|
|
2d8e5a9934 | ||
|
|
5597b3a742 | ||
|
|
b37a909508 | ||
|
|
ebe6d2c747 | ||
|
|
e1f1160284 | ||
|
|
bd87a34bb4 | ||
|
|
3b5a8d3dc7 | ||
|
|
9fcae11ff2 | ||
|
|
be2cade373 | ||
|
|
8c297e1816 | ||
|
|
7fee13eb4c | ||
|
|
599e22b1c7 | ||
|
|
6427ae9578 | ||
|
|
1a8e35d2e5 | ||
|
|
e4e639dd4d | ||
|
|
a7f0cc2d7b | ||
|
|
7a3384c796 | ||
|
|
9727190b80 | ||
|
|
5c5a5b9b45 | ||
|
|
a053da0f22 | ||
|
|
e7be7c4688 | ||
|
|
864ff685fe | ||
|
|
9da6c0232e | ||
|
|
68ea28d330 | ||
|
|
28334988db | ||
|
|
6dc8a43f39 | ||
|
|
1f5ef2bb41 | ||
|
|
65b65ce5ef | ||
|
|
9e7394523e | ||
|
|
707cb75ed3 | ||
|
|
9b91709899 | ||
|
|
3eaadd82b8 | ||
|
|
de3758e31a | ||
|
|
bd83eab622 | ||
|
|
f17819f4f1 | ||
|
|
f5e4614c11 | ||
|
|
41790ba656 | ||
|
|
df79df8be1 | ||
|
|
22ef57a54c | ||
|
|
b4bfe3b2d9 | ||
|
|
9555918151 | ||
|
|
610b1d988c | ||
|
|
5427f3d1f0 | ||
|
|
b0247ceedc | ||
|
|
5408e27961 | ||
|
|
6745da6dce | ||
|
|
ebd7830814 | ||
|
|
60c6bfe322 | ||
|
|
9f7fe353b6 | ||
|
|
b92826d0c4 | ||
|
|
f9f4c8e1e7 | ||
|
|
4cfc0a1e02 | ||
|
|
6ec6b2e362 | ||
|
|
340ec22f6f | ||
|
|
2e41a1bab3 | ||
|
|
22113a3ae3 | ||
|
|
de94878b6b | ||
|
|
583a99f016 | ||
|
|
140aaed3df | ||
|
|
de079ec371 | ||
|
|
960c009ce0 | ||
|
|
66cc5c7ef9 | ||
|
|
f9a35cacdc | ||
|
|
7b512c94ff | ||
|
|
5bd66dc6cd | ||
|
|
d89bdff445 | ||
|
|
8e4220e6c6 | ||
|
|
375631f35b | ||
|
|
0884d6c6e4 | ||
|
|
5bb1f67568 | ||
|
|
3d3bbdfe95 | ||
|
|
4c8c1c9977 | ||
|
|
76fbb1b15e | ||
|
|
7bb4576f46 | ||
|
|
ae474885f7 | ||
|
|
c5b4177bda | ||
|
|
b382b59faf | ||
|
|
1d81e6295c | ||
|
|
353d21e108 | ||
|
|
8ea0e4d6d8 | ||
|
|
991ff35249 | ||
|
|
ee8e99add5 | ||
|
|
0160a0cef0 | ||
|
|
688e5c85b7 | ||
|
|
ff5133843c | ||
|
|
44dcad5604 | ||
|
|
8675cfa549 | ||
|
|
78f964347c | ||
|
|
324fedcf9f | ||
|
|
c1addfdad3 | ||
|
|
389f2b2037 | ||
|
|
f5e9879e74 | ||
|
|
d9e03b7f8c | ||
|
|
91f26e0b0e | ||
|
|
d8d9ff0b2d | ||
|
|
77648a07e4 | ||
|
|
d1c677ac25 | ||
|
|
7146638e9e | ||
|
|
0e2f7876d2 | ||
|
|
b13946438f | ||
|
|
119febc464 | ||
|
|
0b7fd187e2 | ||
|
|
dbed4c794d | ||
|
|
8419dfd39d | ||
|
|
a3b778e672 | ||
|
|
572f348a10 | ||
|
|
1d3380afba | ||
|
|
d86c189158 | ||
|
|
218cb3aee2 | ||
|
|
f91fb470bc | ||
|
|
f47611fb17 | ||
|
|
9cf40a43fc | ||
|
|
70d5929885 | ||
|
|
4a724cb84c | ||
|
|
30dda628bc | ||
|
|
64c745fe1c | ||
|
|
4c5106ed0f | ||
|
|
8385408c65 | ||
|
|
3b5330c80f | ||
|
|
2c94b9801f | ||
|
|
66d7007e43 | ||
|
|
241a375f49 | ||
|
|
602f2ce59c | ||
|
|
d6d600e76d | ||
|
|
d4081057e5 | ||
|
|
b8bb5f291a | ||
|
|
c5fc157554 | ||
|
|
1e66e035e1 | ||
|
|
45ef70cc73 | ||
|
|
43ea4c5123 | ||
|
|
6311f4adc3 | ||
|
|
177f1887d4 | ||
|
|
b908e61dfa | ||
|
|
0639aa34f1 | ||
|
|
c645cc9f82 | ||
|
|
f2b216c320 | ||
|
|
8d5b07fc83 | ||
|
|
8160b3b45b | ||
|
|
25a9948361 | ||
|
|
12cfcc1b9d | ||
|
|
ef990143b6 | ||
|
|
face4094d4 | ||
|
|
f2445620d1 | ||
|
|
3bf16c0fd1 | ||
|
|
be3adf9920 | ||
|
|
9550595502 | ||
|
|
0434f8e4ca | ||
|
|
0ca0b91088 | ||
|
|
72a135b093 | ||
|
|
1dbac84b84 | ||
|
|
f26946858e | ||
|
|
e0baf8ee0c | ||
|
|
da55d18ba2 | ||
|
|
223b9deead | ||
|
|
65bcfaccc5 | ||
|
|
fd047c84f7 | ||
|
|
e622bad163 | ||
|
|
06bb67ab24 | ||
|
|
77f1c7636a | ||
|
|
d059b9448a | ||
|
|
467617947d | ||
|
|
1ebbef8642 | ||
|
|
206ded407e | ||
|
|
ce563f5911 | ||
|
|
60b064249d | ||
|
|
931e610552 | ||
|
|
3c710201d5 | ||
|
|
3d8265c5ef | ||
|
|
ce8266dedc | ||
|
|
5197e5df7d | ||
|
|
931653b99f | ||
|
|
586ac1fd58 | ||
|
|
69e804839e | ||
|
|
2ff38c646f | ||
|
|
a0e7ffe7aa | ||
|
|
1de492f6f8 | ||
|
|
504d6de6a0 | ||
|
|
a9b027b826 | ||
|
|
68edbc7f28 | ||
|
|
1342f4a07c | ||
|
|
07dbd4c0dd | ||
|
|
87d30c1648 | ||
|
|
cd3dd2188c | ||
|
|
935ecea67d | ||
|
|
70824bb5c7 | ||
|
|
64ab7d6e8d | ||
|
|
2070389247 | ||
|
|
a3638db009 | ||
|
|
684e85d01d |
34
.builds/manual.yml
Normal file
34
.builds/manual.yml
Normal 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"
|
||||
468
.github/CODEOWNERS
vendored
468
.github/CODEOWNERS
vendored
@@ -1,468 +0,0 @@
|
||||
* @rycee
|
||||
|
||||
/flake.nix @bqv @kisik21
|
||||
|
||||
/modules/home-environment.nix @rycee
|
||||
|
||||
/modules/i18n/input-method @Kranzes
|
||||
/tests/modules/i18n/input-method @Kranzes
|
||||
|
||||
/modules/launchd @midchildan
|
||||
|
||||
/modules/misc/dconf.nix @rycee
|
||||
|
||||
/modules/misc/fontconfig.nix @rycee
|
||||
/tests/modules/misc/fontconfig @rycee
|
||||
|
||||
/modules/misc/gtk.nix @rycee
|
||||
|
||||
/modules/config/home-cursor.nix @polykernel @league
|
||||
|
||||
/modules/config/i18n.nix @midchildan
|
||||
/tests/modules/config/i18n @midchildan
|
||||
|
||||
/modules/misc/news.nix @rycee
|
||||
|
||||
/modules/misc/nix.nix @polykernel
|
||||
/tests/modules/misc/nix @polykernel
|
||||
|
||||
/modules/misc/nixpkgs-disabled.nix @thiagokokada
|
||||
|
||||
/modules/misc/numlock.nix @evanjs
|
||||
/tests/modules/misc/numlock @evanjs
|
||||
|
||||
/modules/misc/pam.nix @rycee
|
||||
/tests/modules/misc/pam @rycee
|
||||
|
||||
/modules/misc/qt.nix @rycee
|
||||
|
||||
/modules/misc/submodule-support.nix @rycee
|
||||
|
||||
/modules/misc/tmpfiles.nix @dawidsowa
|
||||
|
||||
/modules/misc/vte.nix @rycee
|
||||
|
||||
/modules/misc/xdg-mime-apps.nix @pacien
|
||||
|
||||
/modules/misc/xdg-user-dirs.nix @pacien
|
||||
|
||||
/modules/misc/xdg-system-dirs.nix @tadfisher
|
||||
/tests/modules/misc/xdg/system-dirs.nix @tadfisher
|
||||
|
||||
/modules/misc/xdg-desktop-entries.nix @cwyc
|
||||
/tests/modules/misc/xdg/desktop-entries.nix @cwyc
|
||||
/tests/modules/misc/xdg/desktop-full-expected.desktop @cwyc
|
||||
/tests/modules/misc/xdg/desktop-min-expected.desktop @cwyc
|
||||
|
||||
/modules/programs/aria2.nix @JustinLovinger
|
||||
|
||||
/modules/programs/autojump.nix @evanjs
|
||||
/tests/modules/programs/autojump @evanjs
|
||||
|
||||
/modules/programs/atuin.nix @hawkw
|
||||
/tests/modules/programs/atuin @hawkw
|
||||
|
||||
/modules/programs/autorandr.nix @uvNikita
|
||||
|
||||
/modules/programs/bash.nix @rycee
|
||||
|
||||
/modules/programs/bat.nix @marsam
|
||||
|
||||
/modules/programs/beets.nix @rycee
|
||||
|
||||
/modules/programs/bottom.nix @polykernel
|
||||
/tests/modules/programs/bottom @polykernel
|
||||
|
||||
/modules/programs/broot.nix @aheaume
|
||||
|
||||
/modules/programs/dircolors.nix @JustinLovinger
|
||||
|
||||
/modules/programs/direnv.nix @rycee
|
||||
|
||||
/modules/programs/eclipse.nix @rycee
|
||||
|
||||
/modules/programs/emacs.nix @rycee
|
||||
|
||||
/modules/programs/eww.nix @mainrs
|
||||
|
||||
/modules/programs/exa.nix @kalhauge
|
||||
|
||||
/modules/programs/firefox.nix @rycee
|
||||
|
||||
/modules/programs/foot.nix @plabadens
|
||||
/tests/modules/programs/foot @plabadens
|
||||
|
||||
/modules/services/fusuma.nix @iosmanthus
|
||||
/tests/modules/services/fusuma @iosmanthus
|
||||
|
||||
/modules/programs/gh.nix @Gerschtli @berbiche
|
||||
/tests/modules/programs/gh @Gerschtli @berbiche
|
||||
|
||||
/modules/programs/git.nix @rycee
|
||||
|
||||
/modules/programs/gitui/gitui.nix @mifom
|
||||
/modules/programs/gitui/default_key_config.ron @mifom
|
||||
|
||||
/modules/programs/gnome-terminal.nix @kamadorueda @rycee
|
||||
|
||||
/modules/programs/go.nix @rvolosatovs
|
||||
|
||||
/modules/programs/helix.nix @Philipp-M
|
||||
/tests/modules/programs/helix @Philipp-M
|
||||
|
||||
/modules/programs/hexchat.nix @thiagokokada
|
||||
/tests/modules/programs/hexchat @thiagokokada
|
||||
|
||||
/modules/programs/himalaya.nix @ambroisie
|
||||
/tests/modules/programs/himalaya @ambroisie
|
||||
|
||||
/modules/programs/home-manager.nix @rycee
|
||||
|
||||
/modules/programs/htop.nix @bjpbakker
|
||||
/tests/modules/htop @bjpbakker
|
||||
|
||||
/modules/programs/i3status.nix @JustinLovinger
|
||||
|
||||
/modules/programs/i3status-rust.nix @workflow
|
||||
|
||||
/modules/programs/java.nix @ShamrockLee
|
||||
|
||||
/modules/programs/just.nix @maximsmol
|
||||
|
||||
/modules/programs/keychain.nix @marsam
|
||||
|
||||
/modules/programs/kodi.nix @dwagenk
|
||||
/tests/modules/programs/kodi @dwagenk
|
||||
|
||||
/modules/programs/lazygit.nix @kalhauge
|
||||
|
||||
/modules/programs/less.nix @pamplemousse
|
||||
/tests/modules/programs/less @pamplemousse
|
||||
|
||||
/modules/programs/lesspipe.nix @rycee
|
||||
|
||||
/modules/programs/lf.nix @owm111
|
||||
/tests/modules/programs/lf @owm111
|
||||
|
||||
/modules/programs/lieer.nix @tadfisher
|
||||
|
||||
/modules/programs/lsd.nix @marsam
|
||||
|
||||
/modules/programs/matplotlib.nix @rprospero
|
||||
|
||||
/modules/programs/mangohud.nix @ZerataX
|
||||
/tests/modules/programs/mangohud @ZerataX
|
||||
|
||||
/modules/programs/mbsync.nix @KarlJoad
|
||||
/tests/modules/programs/mbsync @KarlJoad
|
||||
|
||||
/modules/programs/mcfly.nix @marsam
|
||||
|
||||
/modules/programs/mpv.nix @tadeokondrak @thiagokokada
|
||||
/tests/modules/programs/mpv @thiagokokada
|
||||
|
||||
/modules/programs/mu.nix @KarlJoad
|
||||
|
||||
/modules/programs/navi.nix @marsam
|
||||
|
||||
/modules/programs/ncmpcpp.nix @olmokramer
|
||||
/tests/modules/programs/ncmpcpp @olmokramer
|
||||
/tests/modules/programs/ncmpcpp-linux @olmokramer
|
||||
|
||||
/modules/programs/ncspot.nix @marsam
|
||||
|
||||
/modules/programs/ne.nix @cwyc
|
||||
/tests/modules/programs/ne @cwyc
|
||||
|
||||
/modules/programs/newsboat.nix @sumnerevans
|
||||
/tests/modules/programs/newsboat @sumnerevans
|
||||
|
||||
/modules/programs/nix-index.nix @ambroisie
|
||||
/tests/modules/programs/nix-index @ambroisie
|
||||
|
||||
/modules/programs/nnn.nix @thiagokokada
|
||||
/tests/modules/programs/nnn @thiagokokada
|
||||
|
||||
/modules/programs/noti.nix @marsam
|
||||
|
||||
/modules/programs/nushell.nix @Philipp-M
|
||||
/tests/modules/programs/nushell @Philipp-M
|
||||
|
||||
/modules/programs/obs-studio.nix @adisbladis
|
||||
|
||||
/modules/programs/octant.nix @06kellyjac
|
||||
|
||||
/modules/programs/opam.nix @marsam
|
||||
|
||||
/modules/programs/openssh.nix @rycee
|
||||
|
||||
/modules/programs/pandoc.nix @kirelagin
|
||||
/tests/modules/programs/pandoc @kirelagin
|
||||
|
||||
/modules/programs/password-store.nix @pacien
|
||||
|
||||
/modules/programs/pazi.nix @marsam
|
||||
|
||||
/modules/programs/pidgin.nix @rycee
|
||||
|
||||
/modules/programs/piston-cli.nix @ethancedwards8
|
||||
|
||||
/modules/programs/powerline-go.nix @DamienCassou
|
||||
|
||||
/modules/programs/pubs.nix @loicreynier
|
||||
/tests/modules/programs/pubs @loicreynier
|
||||
|
||||
/modules/programs/pylint.nix @florpe
|
||||
|
||||
/modules/programs/rbw.nix @ambroisie
|
||||
/tests/modules/programs/rbw @ambroisie
|
||||
|
||||
/modules/programs/rofi.nix @thiagokokada
|
||||
/tests/modules/programs/rofi @thiagokokada
|
||||
|
||||
/modules/programs/rofi-pass.nix @seylerius
|
||||
/tests/modules/programs/rofi-pass @seylerius
|
||||
|
||||
/modules/programs/rtorrent.nix @marsam
|
||||
|
||||
/modules/programs/sagemath.nix @kirelagin
|
||||
/tests/modules/programs/sagemath @kirelagin
|
||||
|
||||
/modules/programs/sbt.nix @kubukoz
|
||||
/tests/modules/programs/sbt @kubukoz
|
||||
|
||||
/modules/programs/scmpuff.nix @cpcloud
|
||||
/tests/modules/programs/scmpuff @cpcloud
|
||||
|
||||
/modules/programs/senpai.nix @malte-v
|
||||
|
||||
/modules/programs/sioyek.nix @podocarp
|
||||
|
||||
/modules/programs/sm64ex.nix @ivarwithoutbones
|
||||
/tests/modules/programs/sm64ex @ivarwithoutbones
|
||||
|
||||
/modules/programs/sqls.nix @marsam
|
||||
|
||||
/modules/programs/ssh.nix @rycee
|
||||
|
||||
/modules/programs/starship.nix @marsam
|
||||
|
||||
/modules/programs/tealdeer.nix @marsam
|
||||
|
||||
/modules/programs/terminator.nix @chisui
|
||||
|
||||
/modules/programs/texlive.nix @rycee
|
||||
|
||||
/modules/programs/timidity.nix @amesgen
|
||||
|
||||
/modules/programs/tiny.nix @kmaasrud
|
||||
|
||||
/modules/programs/topgrade.nix @msfjarvis
|
||||
/tests/modules/programs/topgrade @msfjarvis
|
||||
|
||||
/mdules/programs/watson.nix @polykernel
|
||||
/tests/modules/programs/watson @polykernel
|
||||
|
||||
/modules/programs/waybar.nix @berbiche
|
||||
/tests/modules/programs/waybar @berbiche
|
||||
|
||||
/modules/programs/xmobar.nix @t4ccer
|
||||
/tests/modules/programs/xmobar @t4ccer
|
||||
|
||||
/modules/programs/z-lua.nix @marsam
|
||||
|
||||
/modules/programs/zathura.nix @rprospero
|
||||
|
||||
/modules/programs/zellij.nix @mainrs
|
||||
|
||||
/modules/programs/zoxide.nix @marsam
|
||||
|
||||
/modules/programs/zsh/prezto.nix @NickHu
|
||||
|
||||
/modules/services/barrier.nix @Kritnich
|
||||
/tests/modules/services/barrier @Kritnich
|
||||
|
||||
/modules/services/betterlockscreen.nix @SebTM
|
||||
|
||||
/modules/services/caffeine.nix @uvNikita
|
||||
|
||||
/modules/services/cbatticon.nix @pmiddend
|
||||
|
||||
/modules/services/clipmenu.nix @DamienCassou
|
||||
|
||||
/modules/services/devilspie2.nix @dawidsowa
|
||||
/tests/modules/services/devilspie2 @dawidsowa
|
||||
|
||||
/modules/services/dropbox.nix @eyJhb
|
||||
/tests/modules/services/dropbox @eyJhb
|
||||
|
||||
/modules/services/dunst.nix @rycee
|
||||
|
||||
/modules/services/easyeffects.nix @fufexan
|
||||
|
||||
/modules/services/emacs.nix @tadfisher
|
||||
|
||||
/modules/services/etesync-dav.nix @Valodim
|
||||
|
||||
/modules/services/espanso.nix @lucasew
|
||||
|
||||
/modules/services/flameshot.nix @moredhel
|
||||
|
||||
/modules/services/fluidsynth.nix @Valodim
|
||||
|
||||
/modules/services/fnott.nix @polykernel
|
||||
/tests/modules/services/fnott @polykernel
|
||||
|
||||
/modules/services/git-sync.nix @IvanMalison
|
||||
|
||||
/modules/services/gnome-keyring.nix @rycee
|
||||
|
||||
/modules/services/gpg-agent.nix @rycee
|
||||
|
||||
/modules/services/grobi.nix @mbrgm
|
||||
|
||||
/modules/services/gromit-mpx.nix @pjones
|
||||
/tests/modules/services/gromit-mpx @pjones
|
||||
|
||||
/modules/services/home-manager-auto-upgrade.nix @pinage404
|
||||
/tests/modules/services/home-manager-auto-upgrade @pinage404
|
||||
|
||||
/modules/services/hound.nix @adisbladis
|
||||
|
||||
/modules/services/imapnotify.nix @nickhu
|
||||
|
||||
/modules/services/kanshi.nix @nurelin
|
||||
/tests/modules/services/kanshi @nurelin
|
||||
|
||||
/modules/services/kdeconnect.nix @adisbladis
|
||||
|
||||
/modules/services/keepassx.nix @rycee
|
||||
|
||||
/modules/services/lieer.nix @tadfisher
|
||||
|
||||
/modules/services/lorri.nix @Gerschtli
|
||||
|
||||
/modules/services/mako.nix @onny
|
||||
|
||||
/modules/services/mbsync.nix @pjones
|
||||
|
||||
/modules/services/mopidy.nix @foo-dogsquared
|
||||
/tests/modules/services/mopidy @foo-dogsquared
|
||||
|
||||
/modules/services/mpdris2.nix @pjones
|
||||
|
||||
/modules/services/mpd-discord-rpc.nix @Kranzes
|
||||
|
||||
/modules/services/mpris-proxy.nix @ThibautMarty
|
||||
|
||||
/modules/services/muchsync.nix @pacien
|
||||
|
||||
/modules/services/network-manager-applet.nix @rycee
|
||||
|
||||
/modules/services/notify-osd.nix @imalison
|
||||
|
||||
/modules/services/opensnitch-ui.nix @onny
|
||||
|
||||
/modules/services/pantalaimon.nix @jojosch
|
||||
/tests/modules/services/pantalaimon @jojosch
|
||||
|
||||
/modules/services/parcellite.nix @gleber
|
||||
|
||||
/modules/services/pass-secret-service.nix @cab404
|
||||
|
||||
/modules/services/password-store-sync.nix @pacien
|
||||
|
||||
/modules/services/pasystray.nix @pltanton
|
||||
|
||||
/modules/services/pbgopy.nix @ivarwithoutbones
|
||||
/tests/modules/services/pbgopy @ivarwithoutbones
|
||||
|
||||
/modules/services/plan9port.nix @ehmry
|
||||
|
||||
/modules/services/playerctld.nix @fendse
|
||||
/tests/modules/playerctld @fendse
|
||||
|
||||
/modules/services/poweralertd.nix @ThibautMarty
|
||||
|
||||
/modules/services/pulseeffects.nix @jonringer
|
||||
|
||||
/modules/services/random-background.nix @rycee
|
||||
|
||||
/modules/services/redshift-gammastep @rycee @petabyteboy @thiagokokada
|
||||
/tests/modules/redshift-gammastep @thiagokokada
|
||||
|
||||
/modules/services/screen-locker.nix @jrobsonchase @rszamszur
|
||||
/tests/modules/services/screen-locker @jrobsonchase @rszamszur
|
||||
|
||||
/modules/services/status-notifier-watcher.nix @pltanton
|
||||
|
||||
/modules/services/syncthing.nix @rycee
|
||||
|
||||
/modules/services/taffybar.nix @rycee
|
||||
|
||||
/modules/services/tahoe-lafs.nix @rycee
|
||||
|
||||
/modules/services/taskwarrior-sync.nix @minijackson @pacien
|
||||
|
||||
/modules/services/trayer.nix @AndreasMager
|
||||
/tests/modules/services/trayer @AndreasMager
|
||||
|
||||
/modules/services/twmn.nix @Austreelis
|
||||
/tests/modules/services/twmn @Austreelis
|
||||
|
||||
/modules/services/udiskie.nix @rycee
|
||||
|
||||
/modules/services/unison.nix @pacien
|
||||
|
||||
/modules/services/window-managers/bspwm @ncfavier
|
||||
/tests/modules/services/window-managers/bspwm @ncfavier
|
||||
|
||||
/modules/services/window-managers/herbstluftwm @olmokramer
|
||||
/tests/modules/services/window-managers/herbstluftwm @olmokramer
|
||||
|
||||
/modules/services/window-managers/i3-sway/i3.nix @sumnerevans @sebtm
|
||||
/tests/modules/services/window-managers/i3 @sumnerevans @sebtm
|
||||
|
||||
/modules/services/window-managers/i3-sway/lib @sumnerevans @sebtm
|
||||
|
||||
/modules/services/window-managers/i3-sway/sway.nix @alexarice @sumnerevans @sebtm
|
||||
/tests/modules/services/window-managers/sway @sumnerevans @sebtm
|
||||
|
||||
/modules/services/window-managers/i3-sway/swaynag.nix @polykernel
|
||||
|
||||
/modules/services/wlsunset.nix @matrss
|
||||
/tests/modules/services/wlsunset @matrss
|
||||
|
||||
/modules/services/xcape.nix @nickhu
|
||||
|
||||
/modules/services/xembed-sni-proxy.nix @rycee
|
||||
|
||||
/modules/services/xidlehook.nix @dschrempf
|
||||
|
||||
/modules/services/xscreensaver.nix @rycee
|
||||
|
||||
/modules/services/xsuspender.nix @offlinehacker
|
||||
|
||||
/modules/systemd.nix @rycee
|
||||
|
||||
/modules/xresources.nix @rycee
|
||||
|
||||
/modules/xsession.nix @rycee
|
||||
|
||||
/modules/services/volnoti.nix @IvanMalison
|
||||
|
||||
/modules/services/systembus-notify.nix @asymmetric
|
||||
|
||||
/modules/targets/darwin @midchildan
|
||||
/tests/modules/targets-darwin @midchildan
|
||||
|
||||
/modules/programs/tint2.nix @CarlosLoboxyz
|
||||
|
||||
Makefile @thiagokokada
|
||||
|
||||
/modules/services/swayidle.nix @c0deaddict
|
||||
/tests/modules/services/swayidle @c0deaddict
|
||||
|
||||
/modules/programs/ion.nix @jo1gi
|
||||
|
||||
/modules/services/plex-mpv-shim.nix @starcraft66
|
||||
9
.github/ISSUE_TEMPLATE/issue.yaml
vendored
9
.github/ISSUE_TEMPLATE/issue.yaml
vendored
@@ -8,6 +8,15 @@ labels: [bug, triage]
|
||||
assignees: [rycee, berbiche, sumnerevans]
|
||||
|
||||
body:
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: Are you following the right branch?
|
||||
description: |
|
||||
You should follow the branch of Home Manager that corresponds to your
|
||||
version of Nixpkgs; see [the README](https://github.com/nix-community/home-manager#releases) for details.
|
||||
options:
|
||||
- label: My Nixpkgs and Home Manager versions are in sync
|
||||
required: true
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: Is there an existing issue for this?
|
||||
|
||||
4
.github/PULL_REQUEST_TEMPLATE.md
vendored
4
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -23,7 +23,7 @@ Also make sure to read the guidelines found at
|
||||
|
||||
- [ ] Code formatted with `./format`.
|
||||
|
||||
- [ ] Code tested through `nix-shell --pure tests -A run.all`.
|
||||
- [ ] Code tested through `nix-shell --pure tests -A run.all` or `nix develop --ignore-environment .#all` using Flakes.
|
||||
|
||||
- [ ] Test cases updated/added. See [example](https://github.com/nix-community/home-manager/commit/f3fbb50b68df20da47f9b0def5607857fcc0d021#diff-b61a6d542f9036550ba9c401c80f00ef).
|
||||
|
||||
@@ -40,5 +40,3 @@ Also make sure to read the guidelines found at
|
||||
- If this PR adds a new module
|
||||
|
||||
- [ ] Added myself as module maintainer. See [example](https://github.com/nix-community/home-manager/blob/068ff76a10e95820f886ac46957edcff4e44621d/modules/programs/lesspipe.nix#L6).
|
||||
|
||||
- [ ] Added myself and the module files to `.github/CODEOWNERS`.
|
||||
|
||||
2
.github/dependabot.yml
vendored
2
.github/dependabot.yml
vendored
@@ -10,7 +10,7 @@ updates:
|
||||
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
target-branch: "release-21.11"
|
||||
target-branch: "release-23.05"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
commit-message:
|
||||
|
||||
29
.github/labeler.yml
vendored
Normal file
29
.github/labeler.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
"mail":
|
||||
- modules/programs/aerc*.nix
|
||||
- modules/programs/alot*.nix
|
||||
- tests/modules/programs/aerc/*
|
||||
- tests/modules/programs/alot/*
|
||||
- modules/programs/mujmap.nix
|
||||
- tests/modules/programs/mujmap/*
|
||||
- modules/programs/notmuch.nix
|
||||
- modules/programs/neomutt*
|
||||
- tests/modules/programs/neomutt/*
|
||||
- modules/programs/getmail*
|
||||
- modules/*/mbsync*
|
||||
- tests/modules/programs/mbsync/*
|
||||
- modules/programs/himalaya.nix
|
||||
- tests/modules/programs/himalaya/*
|
||||
- modules/programs/thunderbird.nix
|
||||
- tests/modules/programs/thunderbird/*
|
||||
- modules/services/imapnotify.nix
|
||||
|
||||
"neovim":
|
||||
- modules/programs/neovim.nix
|
||||
- tests/modules/programs/neovim/**/*
|
||||
|
||||
"shell":
|
||||
- modules/lib/zsh.nix
|
||||
- modules/programs/zsh*
|
||||
- modules/programs/bash*
|
||||
- tests/modules/programs/zsh/**/*
|
||||
|
||||
10
.github/workflows/github_pages.yml
vendored
10
.github/workflows/github_pages.yml
vendored
@@ -10,19 +10,19 @@ jobs:
|
||||
os: [ubuntu-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v17
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@V27
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- uses: cachix/cachix-action@v10
|
||||
- uses: cachix/cachix-action@v13
|
||||
with:
|
||||
name: nix-community
|
||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
- run: |
|
||||
nix-build -A docs.html
|
||||
cp -r result/share/doc/home-manager public
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
uses: peaceiris/actions-gh-pages@v4
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./public
|
||||
|
||||
24
.github/workflows/labeler.yml
vendored
Normal file
24
.github/workflows/labeler.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: "Label PR"
|
||||
|
||||
on:
|
||||
- pull_request_target
|
||||
|
||||
# WARNING:
|
||||
# When extending this action, be aware that $GITHUB_TOKEN allows some write
|
||||
# access to the GitHub API. This means that it should not evaluate user input in
|
||||
# a way that allows code injection.
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
labels:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository_owner == 'nix-community'
|
||||
steps:
|
||||
- uses: actions/labeler@v4
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
sync-labels: true
|
||||
|
||||
16
.github/workflows/test.yml
vendored
16
.github/workflows/test.yml
vendored
@@ -11,20 +11,20 @@ jobs:
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v17
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@V27
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- uses: cachix/cachix-action@v10
|
||||
nix_path: nixpkgs=channel:nixos-23.05
|
||||
- uses: cachix/cachix-action@v13
|
||||
with:
|
||||
name: nix-community
|
||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
- run: |
|
||||
if grep -R --exclude stdlib-extended.nix literalExample modules ; then
|
||||
echo "Error: literalExample should be replaced by literalExpression" > /dev/stderr
|
||||
exit 1
|
||||
fi
|
||||
- run: nix-build -A docs.jsonModuleMaintainers
|
||||
- run: nix-build --show-trace -A docs.jsonModuleMaintainers
|
||||
- run: ./format -c
|
||||
- run: nix-shell . -A install
|
||||
- run: nix-shell --arg enableBig false --pure tests -A run.all
|
||||
- run: nix-shell --show-trace . -A install
|
||||
- run: nix-shell --show-trace --arg enableBig false --pure tests -A run.all
|
||||
|
||||
20
.github/workflows/update-flake.yml
vendored
Normal file
20
.github/workflows/update-flake.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Update flake inputs
|
||||
on:
|
||||
schedule:
|
||||
# Update every Sunday and Wednesday
|
||||
- cron: "51 3 * * 0,3"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
update:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@V27
|
||||
- name: Update flake.lock
|
||||
uses: DeterminateSystems/update-flake-lock@v21
|
||||
with:
|
||||
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
||||
pr-labels: dependencies
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1 @@
|
||||
/flake.lock
|
||||
/result*
|
||||
|
||||
@@ -4,17 +4,8 @@ variables:
|
||||
NIX_PATH: "nixpkgs=channel:nixos-unstable"
|
||||
|
||||
stages:
|
||||
- test
|
||||
- deploy
|
||||
|
||||
Run tests:
|
||||
stage: test
|
||||
script:
|
||||
- nix-shell --pure tests -A run.files-text
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == "master"
|
||||
when: always
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
script:
|
||||
|
||||
2
LICENSE
2
LICENSE
@@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2017-2022 Home Manager contributors
|
||||
Copyright (c) 2017-2023 Home Manager contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
29
README.md
29
README.md
@@ -14,12 +14,24 @@ Before attempting to use Home Manager please read the warning below.
|
||||
For a systematic overview of Home Manager and its available options,
|
||||
please see
|
||||
|
||||
- the [Home Manager manual][manual] and
|
||||
- the [Home Manager configuration options][configuration options].
|
||||
- the [Home Manager manual][manual],
|
||||
- the [Home Manager configuration options][configuration options], and
|
||||
- the 3rd party [Home Manager option search](https://mipmip.github.io/home-manager-option-search/).
|
||||
|
||||
If you would like to contribute to Home Manager
|
||||
then please have a look at the [contributing][] chapter of the manual.
|
||||
|
||||
Releases
|
||||
--------
|
||||
|
||||
Home Manager is developed against `nixpkgs-unstable` branch, which
|
||||
often causes it to contain tweaks for changes/packages not yet
|
||||
released in stable NixOS. To avoid breaking users' configurations,
|
||||
Home Manager is released in branches corresponding to NixOS releases
|
||||
(e.g. `release-23.05`). These branches get fixes, but usually not new
|
||||
modules. If you need a module to be backported, then feel free to open
|
||||
an issue.
|
||||
|
||||
Words of warning
|
||||
----------------
|
||||
|
||||
@@ -41,7 +53,7 @@ will write to your dconf store and cannot tell whether a configuration
|
||||
that it is about to be overwritten was from a previous Home Manager
|
||||
generation or from manual configuration.
|
||||
|
||||
Home Manager targets [NixOS][] unstable and NixOS version 22.05 (the
|
||||
Home Manager targets [NixOS][] unstable and NixOS version 23.05 (the
|
||||
current stable version), it may or may not work on other Linux
|
||||
distributions and NixOS versions.
|
||||
|
||||
@@ -99,17 +111,6 @@ contribute to the translation effort then start by going to the
|
||||
<img src="https://hosted.weblate.org/widgets/home-manager/-/multi-auto.svg" alt="Translation status" />
|
||||
</a>
|
||||
|
||||
Releases
|
||||
--------
|
||||
|
||||
Home Manager is developed against `nixpkgs-unstable` branch, which
|
||||
often causes it to contain tweaks for changes/packages not yet
|
||||
released in stable NixOS. To avoid breaking users' configurations,
|
||||
Home Manager is released in branches corresponding to NixOS releases
|
||||
(e.g. `release-22.05`). These branches get fixes, but usually not new
|
||||
modules. If you need a module to be backported, then feel free to open
|
||||
an issue.
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
|
||||
22
docs/3rd-party.adoc
Normal file
22
docs/3rd-party.adoc
Normal file
@@ -0,0 +1,22 @@
|
||||
[[ch-3rd-party]]
|
||||
== Third-Party Tools and Extensions
|
||||
|
||||
Here is a collection of tools and extensions that relate to Home
|
||||
Manager. Note, these are maintained outside the regular Home Manager
|
||||
flow so quality and support may vary wildly. If you encounter problems
|
||||
then please raise them in the corresponding project, not as issues in
|
||||
the Home Manager tracker.
|
||||
|
||||
If you have made something interesting related to Home Manager then
|
||||
you are encouraged to create a PR that expands this chapter.
|
||||
|
||||
[[sec-3rd-party-module-collections]]
|
||||
=== Module Collections
|
||||
|
||||
- https://github.com/schuelermine/xhmm[xhmm — extra Home Manager modules]
|
||||
+
|
||||
A collection of modules maintained by Anselm Schüler.
|
||||
|
||||
- https://github.com/danth/stylix/[Stylix — System-wide colorscheming and typography]
|
||||
+
|
||||
Configure your applications to get coherent color scheme and font.
|
||||
@@ -28,6 +28,11 @@ Assuming your clone is at `$HOME/devel/home-manager` then you can make the `home
|
||||
[source,console]
|
||||
$ home-manager -I home-manager=$HOME/devel/home-manager
|
||||
+
|
||||
or, if using <<sec-flakes-standalone,flakes>>:
|
||||
+
|
||||
[source,console]
|
||||
$ home-manager --override-input home-manager ~/devel/home-manager
|
||||
+
|
||||
or
|
||||
|
||||
2. changing the default path by ensuring your configuration includes
|
||||
@@ -45,8 +50,8 @@ The first option is good if you only temporarily want to use your clone.
|
||||
[[sec-guidelines]]
|
||||
=== Guidelines
|
||||
:irc-home-manager: https://webchat.oftc.net/?channels=home-manager
|
||||
:valuable-options: https://github.com/Infinisil/rfcs/blob/config-option/rfcs/0042-config-option.md#valuable-options
|
||||
:rfc-42: https://github.com/Infinisil/rfcs/blob/config-option/rfcs/0042-config-option.md
|
||||
:valuable-options: https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md#valuable-options
|
||||
:rfc-42: https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md
|
||||
:assertions: https://nixos.org/manual/nixos/stable/index.html#sec-assertions
|
||||
|
||||
If your contribution satisfy the following rules then there is a good chance it will be merged without too much trouble. The rules are enforced by the Home Manager maintainers and to a lesser extent the Home Manager CI system.
|
||||
@@ -105,17 +110,15 @@ When you have made changes to a module, it is a good idea to check that the man
|
||||
|
||||
[source,console]
|
||||
$ nix-build -A docs.manPages
|
||||
$ man ./result/share/man/man5/home-configuration.nix.5
|
||||
$ man ./result/share/man/man5/home-configuration.nix.5.gz
|
||||
|
||||
==== Add yourself as a module maintainer
|
||||
|
||||
Every new module _must_ include a named maintainer using the `meta.maintainers` attribute. If you are a user of a module that currently lacks a maintainer then please consider adopting it.
|
||||
|
||||
If you are present in the NixOS maintainer list then you can use that entry. If you are not then you can add yourself to `modules/lib/maintainers.nix` in the Home Manager project.
|
||||
If you are present in the nixpkgs maintainer list then you can use that entry. If you are not then you can add yourself to `modules/lib/maintainers.nix` in the Home Manager project.
|
||||
|
||||
Also add yourself to `.github/CODEOWNERS` as owner of the associated module files, including the test files. You will then be automatically added as a reviewer on any new pull request that touches your files.
|
||||
|
||||
Maintainers are encouraged to join the IRC channel and participate when they have opportunity.
|
||||
Maintainers are encouraged to join the IRC or Matrix channel and participate when they have opportunity.
|
||||
|
||||
[[sec-guidelines-code-style]]
|
||||
==== Format your code
|
||||
@@ -155,7 +158,7 @@ A potential gotcha with respect to licensing are option descriptions. Often it i
|
||||
|
||||
The commits in your pull request should be reasonably self-contained, that is, each commit should make sense in isolation. In particular, you will be asked to amend any commit that introduces syntax errors or similar problems even if they are fixed in a later commit.
|
||||
|
||||
The commit messages should follow the {seven-rules}[seven rules]. We also ask you to include the affected code component or module in the first line. That is, a commit message should follow the template
|
||||
The commit messages should follow the {seven-rules}[seven rules], except for "Capitalize the subject line". We also ask you to include the affected code component or module in the first line. That is, a commit message should follow the template
|
||||
|
||||
----
|
||||
{component}: {description}
|
||||
@@ -256,3 +259,8 @@ and run an individual test, for example `alacritty-empty-settings`, through
|
||||
|
||||
[source,console]
|
||||
$ nix-shell --pure tests -A run.alacritty-empty-settings
|
||||
|
||||
However, those invocations will impurely source the system’s nixpkgs, and may cause failures. To run against the nixpkgs from the flake.lock, use instead e.g.
|
||||
|
||||
[source,console]
|
||||
$ nix develop --ignore-environment .#all
|
||||
|
||||
@@ -5,12 +5,10 @@
|
||||
|
||||
let
|
||||
|
||||
nmdSrc = pkgs.fetchFromGitLab {
|
||||
name = "nmd";
|
||||
owner = "rycee";
|
||||
repo = "nmd";
|
||||
rev = "9e7a20e6ee3f6751f699f79c0b299390f81f7bcd";
|
||||
sha256 = "1s49gjn1wapcjn0q4gabi8jwp8k5f18354a9c1vji0hfqsaknxzj";
|
||||
nmdSrc = fetchTarball {
|
||||
url =
|
||||
"https://git.sr.ht/~rycee/nmd/archive/abb15317ebd17e5a0a7dd105e2ce52f2700185a8.tar.gz";
|
||||
sha256 = "0zzrbjxf15hada279irif7s3sb8vs95jn4y4f8694as0j739gd1m";
|
||||
};
|
||||
|
||||
nmd = import nmdSrc { inherit lib pkgs; };
|
||||
@@ -26,6 +24,8 @@ let
|
||||
}];
|
||||
};
|
||||
|
||||
dontCheckDefinitions = { _module.check = false; };
|
||||
|
||||
buildModulesDocs = args:
|
||||
nmd.buildModulesDocs ({
|
||||
moduleRootPaths = [ ./.. ];
|
||||
@@ -43,21 +43,7 @@ let
|
||||
};
|
||||
|
||||
nixosModuleDocs = buildModulesDocs {
|
||||
modules = let
|
||||
nixosModule = module: pkgs.path + "/nixos/modules" + module;
|
||||
mockedNixos = with lib; {
|
||||
options = {
|
||||
environment.pathsToLink = mkSinkUndeclaredOptions { };
|
||||
systemd.services = mkSinkUndeclaredOptions { };
|
||||
users.users = mkSinkUndeclaredOptions { };
|
||||
};
|
||||
};
|
||||
in [
|
||||
../nixos/default.nix
|
||||
mockedNixos
|
||||
(nixosModule "/misc/assertions.nix")
|
||||
scrubbedPkgsModule
|
||||
];
|
||||
modules = [ ../nixos scrubbedPkgsModule dontCheckDefinitions ];
|
||||
docBook = {
|
||||
id = "nixos-options";
|
||||
optionIdPrefix = "nixos-opt";
|
||||
@@ -65,22 +51,7 @@ let
|
||||
};
|
||||
|
||||
nixDarwinModuleDocs = buildModulesDocs {
|
||||
modules = let
|
||||
nixosModule = module: pkgs.path + "/nixos/modules" + module;
|
||||
mockedNixDarwin = with lib; {
|
||||
options = {
|
||||
environment.pathsToLink = mkSinkUndeclaredOptions { };
|
||||
system.activationScripts.postActivation.text =
|
||||
mkSinkUndeclaredOptions { };
|
||||
users.users = mkSinkUndeclaredOptions { };
|
||||
};
|
||||
};
|
||||
in [
|
||||
../nix-darwin/default.nix
|
||||
mockedNixDarwin
|
||||
(nixosModule "/misc/assertions.nix")
|
||||
scrubbedPkgsModule
|
||||
];
|
||||
modules = [ ../nix-darwin scrubbedPkgsModule dontCheckDefinitions ];
|
||||
docBook = {
|
||||
id = "nix-darwin-options";
|
||||
optionIdPrefix = "nix-darwin-opt";
|
||||
|
||||
@@ -72,7 +72,10 @@ For example, if you have two machines, called "kronos" and "rhea" on which you w
|
||||
- `rhea-jane.nix`, and
|
||||
- `common.nix`
|
||||
|
||||
in your repository. On the kronos and rhea machines you can then make `~jane/.config/nixpkgs/home.nix` be a symbolic link to the corresponding file in your configuration repository.
|
||||
in your repository.
|
||||
On the kronos and rhea machines you can then make
|
||||
`~jane/.config/home-manager/home.nix`
|
||||
be a symbolic link to the corresponding file in your configuration repository.
|
||||
|
||||
The `kronos-jane.nix` and `rhea-jane.nix` files follow the format
|
||||
|
||||
@@ -143,8 +146,8 @@ You can add the `nixpkgs-unstable` channel by running
|
||||
|
||||
[source,console]
|
||||
----
|
||||
# nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs-unstable
|
||||
# nix-channel --update
|
||||
$ nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs-unstable
|
||||
$ nix-channel --update
|
||||
----
|
||||
|
||||
Note, the package will not be affected by any package overrides, overlays, etc.
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
== Installing Home Manager
|
||||
|
||||
:nix-darwin: https://github.com/LnL7/nix-darwin/
|
||||
:nixos-wiki-flakes: https://nixos.wiki/wiki/Flakes
|
||||
|
||||
Home Manager can be used in three primary ways:
|
||||
|
||||
@@ -22,6 +23,12 @@ This allows the user profiles to be built together with the system
|
||||
when running `darwin-rebuild`. See <<sec-install-nix-darwin-module>>
|
||||
for a description of this setup.
|
||||
|
||||
[NOTE]
|
||||
In this chapter we describe how to install Home Manager in the
|
||||
standard way using channels. If you prefer to use
|
||||
{nixos-wiki-flakes}[Nix Flakes] then please see the instructions in
|
||||
<<ch-nix-flakes>>.
|
||||
|
||||
[[sec-install-standalone]]
|
||||
=== Standalone installation
|
||||
|
||||
@@ -41,9 +48,6 @@ root user. For a multi-user install of Nix this means that your user
|
||||
must be covered by the {nix-allowed-users}[`allowed-users`] Nix
|
||||
option. On NixOS you can control this option using the
|
||||
{nixos-allowed-users}[`nix.allowedUsers`] system option.
|
||||
+
|
||||
Note that Nix 2.4 is not yet fully supported. Most significantly, Home
|
||||
Manager is incompatible with the new `nix profile`.
|
||||
|
||||
2. Add the appropriate Home Manager channel. If you are following
|
||||
Nixpkgs master or an unstable channel you can run
|
||||
@@ -54,23 +58,13 @@ $ nix-channel --add https://github.com/nix-community/home-manager/archive/master
|
||||
$ nix-channel --update
|
||||
----
|
||||
+
|
||||
and if you follow a Nixpkgs version 22.05 channel you can run
|
||||
and if you follow a Nixpkgs version 23.05 channel you can run
|
||||
+
|
||||
[source,console]
|
||||
----
|
||||
$ nix-channel --add https://github.com/nix-community/home-manager/archive/release-22.05.tar.gz home-manager
|
||||
$ nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz home-manager
|
||||
$ nix-channel --update
|
||||
----
|
||||
+
|
||||
On non-NixOS, you may have to add
|
||||
+
|
||||
[source,bash]
|
||||
export NIX_PATH=$HOME/.nix-defexpr/channels:/nix/var/nix/profiles/per-user/root/channels${NIX_PATH:+:$NIX_PATH}
|
||||
+
|
||||
to your shell (see https://github.com/NixOS/nix/issues/2033[nix#2033]
|
||||
and
|
||||
https://discourse.nixos.org/t/where-is-nix-path-supposed-to-be-set/16434/8[this
|
||||
reply on the Nix Discourse]).
|
||||
|
||||
3. Run the Home Manager installation command and create the first Home
|
||||
Manager generation:
|
||||
@@ -127,21 +121,21 @@ deployed through NixOps.
|
||||
|
||||
To make the NixOS module available for use you must `import` it into
|
||||
your system configuration. This is most conveniently done by adding a
|
||||
Home Manager channel. For example, if you are following Nixpkgs master
|
||||
or an unstable channel, you can run
|
||||
Home Manager channel to the root user. For example, if you are
|
||||
following Nixpkgs master or an unstable channel, you can run
|
||||
|
||||
[source,console]
|
||||
----
|
||||
# nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
|
||||
# nix-channel --update
|
||||
$ sudo nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
|
||||
$ sudo nix-channel --update
|
||||
----
|
||||
|
||||
and if you follow a Nixpkgs version 22.05 channel, you can run
|
||||
and if you follow a Nixpkgs version 23.05 channel, you can run
|
||||
|
||||
[source,console]
|
||||
----
|
||||
# nix-channel --add https://github.com/nix-community/home-manager/archive/release-22.05.tar.gz home-manager
|
||||
# nix-channel --update
|
||||
$ sudo nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz home-manager
|
||||
$ sudo nix-channel --update
|
||||
----
|
||||
|
||||
It is then possible to add
|
||||
@@ -164,7 +158,7 @@ home-manager.users.eve = { pkgs, ... }: {
|
||||
};
|
||||
----
|
||||
|
||||
and after a `nixos-rebuild switch` the user eve's environment should
|
||||
and after a `sudo nixos-rebuild switch` the user eve's environment should
|
||||
include a basic Bash configuration and the packages atool and httpie.
|
||||
|
||||
[NOTE]
|
||||
@@ -243,16 +237,16 @@ or an unstable channel, you can run
|
||||
|
||||
[source,console]
|
||||
----
|
||||
# nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
|
||||
# nix-channel --update
|
||||
$ nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
|
||||
$ nix-channel --update
|
||||
----
|
||||
|
||||
and if you follow a Nixpkgs version 22.05 channel, you can run
|
||||
and if you follow a Nixpkgs version 23.05 channel, you can run
|
||||
|
||||
[source,console]
|
||||
----
|
||||
# nix-channel --add https://github.com/nix-community/home-manager/archive/release-22.05.tar.gz home-manager
|
||||
# nix-channel --update
|
||||
$ nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz home-manager
|
||||
$ nix-channel --update
|
||||
----
|
||||
|
||||
It is then possible to add
|
||||
@@ -306,7 +300,7 @@ can be sourced directly by POSIX.2-like shells such as {bash}[Bash] or
|
||||
[NOTE]
|
||||
====
|
||||
By default user packages will not be ignored in favor of
|
||||
`environment.systemPackages`, but they will be intalled to
|
||||
`environment.systemPackages`, but they will be installed to
|
||||
`/etc/profiles/per-user/$USERNAME` if
|
||||
|
||||
[source,nix]
|
||||
|
||||
@@ -13,12 +13,12 @@
|
||||
</refnamediv>
|
||||
<refsection>
|
||||
<title>Description</title>
|
||||
<para>
|
||||
The file <filename>~/.config/nixpkgs/home.nix</filename> contains the
|
||||
<simpara>
|
||||
The file <filename>~/.config/home-manager/home.nix</filename> contains the
|
||||
declarative specification of your Home Manager configuration. The command
|
||||
<command>home-manager</command> takes this file and realises the user
|
||||
environment configuration specified therein.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsection>
|
||||
<refsection>
|
||||
<title>Options</title>
|
||||
|
||||
@@ -17,6 +17,10 @@
|
||||
build
|
||||
</arg>
|
||||
|
||||
<arg choice="plain">
|
||||
init <arg>--switch</arg> <arg><replaceable>dir</replaceable></arg>
|
||||
</arg>
|
||||
|
||||
<arg choice="plain">
|
||||
instantiate
|
||||
</arg>
|
||||
@@ -155,6 +159,18 @@
|
||||
--keep-going
|
||||
</arg>
|
||||
|
||||
<arg>
|
||||
<group choice="req">
|
||||
<arg choice="plain">
|
||||
-L
|
||||
</arg>
|
||||
|
||||
<arg choice="plain">
|
||||
--print-build-logs
|
||||
</arg>
|
||||
</group>
|
||||
</arg>
|
||||
|
||||
<arg>
|
||||
--show-trace
|
||||
</arg>
|
||||
@@ -167,6 +183,10 @@
|
||||
--no-out-link
|
||||
</arg>
|
||||
|
||||
<arg>
|
||||
--refresh
|
||||
</arg>
|
||||
|
||||
<arg>
|
||||
<group choice="req">
|
||||
<arg choice="plain">
|
||||
@@ -184,7 +204,9 @@
|
||||
<title>Description</title>
|
||||
<para>
|
||||
This command updates the user environment so that it corresponds to the
|
||||
configuration specified in <filename>~/.config/nixpkgs/home.nix</filename> or <filename>~/.config/nixpkgs/flake.nix</filename>.
|
||||
configuration specified in
|
||||
<filename>$XDG_CONFIG_HOME/home-manager/home.nix</filename> or
|
||||
<filename>$XDG_CONFIG_HOME/home-manager/flake.nix</filename>.
|
||||
</para>
|
||||
<para>
|
||||
All operations using this tool expects a sub-command that indicates the
|
||||
@@ -200,6 +222,35 @@
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<option>init</option> [<option>--switch</option>] [<replaceable>dir</replaceable>]
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Generates an initial <filename>home.nix</filename> file for the
|
||||
current user. If Nix flakes are enabled, then this command also
|
||||
generates a <filename>flake.nix</filename> file.
|
||||
</simpara>
|
||||
<simpara>
|
||||
If a path <replaceable>dir</replaceable> is given then the
|
||||
configuration will be generated in that directory. Otherwise, the
|
||||
configuration will be generated in
|
||||
<filename>~/.config/home-manager</filename>. The output directory will
|
||||
be created if it does not exist.
|
||||
</simpara>
|
||||
<simpara>
|
||||
If the <option>--switch</option> option is given, then the generated
|
||||
configuration is activated.
|
||||
</simpara>
|
||||
<simpara>
|
||||
Note, this command will not overwrite any existing files. It is
|
||||
therefore safe to initialize a configuration, edit it, and then re-run
|
||||
the <option>init</option> command with <option>--switch</option>
|
||||
enabled to activate the configuration.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<option>instantiate</option>
|
||||
@@ -330,8 +381,8 @@
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
optionally remove all Home Manager generations and make them
|
||||
available for immediate garbage collection.
|
||||
remove all Home Manager generations and make them available
|
||||
for immediate garbage collection.
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
@@ -418,7 +469,7 @@
|
||||
<listitem>
|
||||
<para>
|
||||
Indicates the path to the Home Manager configuration file. If not given,
|
||||
<filename>$XDG_CONFIG_HOME/nixpkgs/home.nix</filename> is used.
|
||||
<filename>$XDG_CONFIG_HOME/home-manager/home.nix</filename> is used.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -546,6 +597,22 @@
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<option>-L</option>
|
||||
</term>
|
||||
<term>
|
||||
<option>--print-build-logs</option>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Passed on to <citerefentry>
|
||||
<refentrytitle>nix build</refentrytitle>
|
||||
</citerefentry>
|
||||
when building from a flake.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<option>--show-trace</option>
|
||||
@@ -583,6 +650,18 @@
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<option>--refresh</option>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Passed on to <citerefentry>
|
||||
<refentrytitle>nix-build</refentrytitle>
|
||||
<manvolnum>1</manvolnum> </citerefentry>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<option>-v</option>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
Commands prefixed with <literal>#</literal> have to be run as root, either
|
||||
Commands prefixed with <literal>$ sudo</literal> have to be run as root, either
|
||||
requiring to login as root user or temporarily switching to it using
|
||||
<literal>sudo</literal> for example.
|
||||
</para>
|
||||
@@ -35,6 +35,7 @@
|
||||
<xi:include href="nix-flakes.xml" />
|
||||
<xi:include href="writing-modules.xml" />
|
||||
<xi:include href="contributing.xml" />
|
||||
<xi:include href="3rd-party.xml" />
|
||||
<xi:include href="faq.xml" />
|
||||
<appendix xml:id="ch-options">
|
||||
<title>Configuration Options</title>
|
||||
|
||||
@@ -3,22 +3,55 @@
|
||||
|
||||
:nixos-wiki-flakes: https://nixos.wiki/wiki/Flakes
|
||||
|
||||
Home Manager includes a `flake.nix` file for compatibility with {nixos-wiki-flakes}[Nix Flakes].
|
||||
The support is still experimental and may change in backwards incompatible ways.
|
||||
Home Manager is compatible with {nixos-wiki-flakes}[Nix Flakes]. But
|
||||
please be aware that the support it is still experimental and may
|
||||
change in backwards incompatible ways.
|
||||
|
||||
[[sec-flakes-prerequisties]]
|
||||
=== Prerequisties
|
||||
Just like in the standard installation you can use the Home Manager
|
||||
flake in three ways:
|
||||
|
||||
* Install Nix 2.4 or have it in `nix-shell`.
|
||||
1. Using the standalone `home-manager` tool. For platforms other than
|
||||
NixOS and Darwin, this is the only available choice. It is also
|
||||
recommended for people on NixOS or Darwin that want to manage their
|
||||
home directory independently of the system as a whole. See
|
||||
<<sec-flakes-standalone>> for instructions on how to perform this
|
||||
installation.
|
||||
|
||||
2. As a module within a NixOS system configuration. This allows the
|
||||
user profiles to be built together with the system when running
|
||||
`nixos-rebuild`. See <<sec-flakes-nixos-module>> for a description of
|
||||
this setup.
|
||||
|
||||
3. As a module within a {nix-darwin}[nix-darwin] system configuration.
|
||||
This allows the user profiles to be built together with the system
|
||||
when running `darwin-rebuild`. See <<sec-flakes-nix-darwin-module>>
|
||||
for a description of this setup.
|
||||
|
||||
[[sec-flakes-prerequisites]]
|
||||
=== Prerequisites
|
||||
|
||||
* Install Nix 2.4 or later, or have it in `nix-shell`.
|
||||
|
||||
* Enable experimental features `nix-command` and `flakes`.
|
||||
+
|
||||
Either set in `nix.conf`
|
||||
** When using NixOS, add the following to your `configuration.nix` and rebuild your system.
|
||||
+
|
||||
[source,nix]
|
||||
nix = {
|
||||
package = pkgs.nixFlakes;
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
};
|
||||
+
|
||||
** If you are not using NixOS, add the following to `nix.conf` (located at `~/.config/nix/` or `/etc/nix/nix.conf`).
|
||||
+
|
||||
[source,bash]
|
||||
experimental-features = nix-command flakes
|
||||
+
|
||||
or pass them to `nix` and `home-manager` by
|
||||
You may need to restart the Nix daemon with, for example, `sudo systemctl restart nix-daemon.service`.
|
||||
+
|
||||
** Alternatively, you can enable flakes on a per-command basis with the following additional flags to `nix` and `home-manager`:
|
||||
+
|
||||
[source,console]
|
||||
----
|
||||
@@ -33,106 +66,68 @@ Unlike the channel-based setup,
|
||||
so it must be present before bootstrap of Home Manager from the flake.
|
||||
See <<sec-usage-configuration>> for introduction about
|
||||
writing a Home Manager configuration.
|
||||
+
|
||||
[NOTE]
|
||||
====
|
||||
The `stateVersion` will be specified in the flake instead of in the configuration file.
|
||||
|
||||
Remove the line containing `home.stateVersion` in the example.
|
||||
====
|
||||
|
||||
[[sec-flakes-standalone]]
|
||||
=== Standalone setup
|
||||
|
||||
1. Set up a flake with a `flake.nix` as follows:
|
||||
+
|
||||
[source,nix]
|
||||
----
|
||||
{
|
||||
description = "Home Manager configuration of Jane Doe";
|
||||
To prepare an initial Home Manager configuration for your logged in user,
|
||||
you can run the Home Manager `init` command directly from its flake.
|
||||
|
||||
inputs = {
|
||||
# Specify the source of Home Manager and Nixpkgs
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
For example, if you are using the unstable version of Nixpkgs or NixOS,
|
||||
then to generate and activate a basic configuration run the command
|
||||
|
||||
outputs = { home-manager, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
username = "jdoe";
|
||||
in {
|
||||
homeConfigurations.${username} = home-manager.lib.homeManagerConfiguration {
|
||||
# Specify the path to your home configuration here
|
||||
configuration = import ./home.nix;
|
||||
[source,console]
|
||||
$ nix run home-manager/master -- init --switch
|
||||
|
||||
inherit system username;
|
||||
homeDirectory = "/home/${username}";
|
||||
# Update the state version as needed.
|
||||
# See the changelog here:
|
||||
# https://nix-community.github.io/home-manager/release-notes.html#sec-release-21.05
|
||||
stateVersion = "22.05";
|
||||
For Nixpkgs or NixOS version 23.05 run
|
||||
|
||||
# Optionally use extraSpecialArgs
|
||||
# to pass through arguments to home.nix
|
||||
};
|
||||
};
|
||||
}
|
||||
----
|
||||
+
|
||||
[NOTE]
|
||||
====
|
||||
* The above example tracks the master branch of Home Manager
|
||||
and nixos-unstable branch of Nixpkgs.
|
||||
If you would like to use the `release-22.05` branch,
|
||||
change the `home-manager` input url to `github:nix-community/home-manager/release-22.05`
|
||||
and `nixpkgs` url to `github:NixOS/nixpkgs/nixos-22.05`.
|
||||
Make sure to also update to the `stateVersion` option accordingly.
|
||||
[source,console]
|
||||
$ nix run home-manager/release-23.05 -- init --switch
|
||||
|
||||
* The Home Manager library is exported by the flake under
|
||||
`lib.hm`.
|
||||
====
|
||||
This will generate a `flake.nix` and a `home.nix` file in
|
||||
`~/.config/home-manager`, creating the directory if it does not exist.
|
||||
|
||||
If you omit the `--switch` option then the activation will not happen.
|
||||
This is useful if you want to inspect and edit the configuration before activating it.
|
||||
|
||||
2. Install Home Manager and apply the configuration by
|
||||
+
|
||||
[source,console]
|
||||
----
|
||||
$ nix build --no-link <flake-uri>#homeConfigurations.jdoe.activationPackage
|
||||
$ "$(nix path-info <flake-uri>#homeConfigurations.jdoe.activationPackage)"/activate
|
||||
$ nix run home-manager/$branch -- init
|
||||
$ # Edit files in ~/.config/home-manager
|
||||
$ nix run home-manager/$branch -- init --switch
|
||||
----
|
||||
+
|
||||
Substitute `<flake-uri>` with the flake URI of the configuration flake.
|
||||
If `flake.nix` resides in `~/.config/nixpkgs`,
|
||||
`<flake-uri>` may be `~/.config/nixpkgs`
|
||||
as a Git tree or `path:~/.config/nixpkgs` if not.
|
||||
|
||||
3. Since the release `21.05`,
|
||||
building a flake-based configuration is as simple as
|
||||
+
|
||||
Where `$branch` is one of `master` or `release-23.05`.
|
||||
|
||||
After the initial activation has completed successfully then building
|
||||
and activating your flake-based configuration is as simple as
|
||||
|
||||
[source,console]
|
||||
$ home-manager switch --flake '<flake-uri>#jdoe'
|
||||
+
|
||||
once home-manager is installed.
|
||||
+
|
||||
Here, `jdoe` is a configuration specified in the flake file,
|
||||
and `<flake-uri>#jdoe` will be expanded to
|
||||
`<flake-uri>#homeConfigurations.jdoe.activationPackage`
|
||||
and be built by Nix.
|
||||
$ home-manager switch
|
||||
|
||||
It is possible to override the default configuration directory, if you want.
|
||||
For example,
|
||||
|
||||
[source,console]
|
||||
----
|
||||
$ nix run home-manager/$branch -- init --switch ~/hmconf
|
||||
$ # And after the initial activation.
|
||||
$ home-manager switch --flake ~/hmconf
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
====
|
||||
The flake inputs are not upgraded automatically when switching.
|
||||
The analogy to the command `home-manager --update ...` is `nix flake update`.
|
||||
The flake inputs are not automatically updated by Home Manager.
|
||||
You need to use the standard `nix flake update` command for that.
|
||||
|
||||
If updating more than one input is undesirable,
|
||||
the command `nix flake lock --update-input <input-name>` can be used.
|
||||
If you only want to update a single flake input,
|
||||
then the command `nix flake lock --update-input <input>` can be used.
|
||||
|
||||
You can also pass flake-related options
|
||||
such as `--recreate-lock-file` or `--update-input [input]`
|
||||
to `home-manager` when building/switching,
|
||||
such as `--recreate-lock-file` or `--update-input <input>`
|
||||
to `home-manager` when building or switching,
|
||||
and these options will be forwarded to `nix build`.
|
||||
See the {nixos-wiki-flakes}[NixOS Wiki page] for detail.
|
||||
See the {nixos-wiki-flakes}[NixOS Wiki page] for details.
|
||||
====
|
||||
|
||||
[[sec-flakes-nixos-module]]
|
||||
@@ -178,6 +173,11 @@ The Home Manager configuration is then part of the NixOS configuration
|
||||
and is automatically rebuilt with the system when using the appropriate command
|
||||
for the system, such as `nixos-rebuild switch --flake <flake-uri>`.
|
||||
|
||||
You can use the above `flake.nix` as a template in `/etc/nixos` by
|
||||
|
||||
[source,console]
|
||||
$ nix flake new /etc/nixos -t github:nix-community/home-manager#nixos
|
||||
|
||||
[[sec-flakes-nix-darwin-module]]
|
||||
=== nix-darwin module
|
||||
|
||||
@@ -187,19 +187,19 @@ is similar to that of NixOS. The `flake.nix` would be:
|
||||
[source,nix]
|
||||
----
|
||||
{
|
||||
description = "NixOS configuration";
|
||||
description = "Darwin configuration";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
nix-darwin.url = "github:lnl7/nix-darwin";
|
||||
darwin.url = "github:lnl7/nix-darwin";
|
||||
darwin.inputs.nixpkgs.follows = "nixpkgs";
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs = inputs@{ nixpkgs, home-manager, nix-darwin, ... }: {
|
||||
outputs = inputs@{ nixpkgs, home-manager, darwin, ... }: {
|
||||
darwinConfigurations = {
|
||||
hostname = nix-darwin.lib.darwinSystem {
|
||||
hostname = darwin.lib.darwinSystem {
|
||||
system = "x86_64-darwin";
|
||||
modules = [
|
||||
./configuration.nix
|
||||
@@ -221,3 +221,8 @@ is similar to that of NixOS. The `flake.nix` would be:
|
||||
|
||||
and it is also rebuilt with the nix-darwin generations.
|
||||
The rebuild command here may be `darwin-rebuild switch --flake <flake-uri>`.
|
||||
|
||||
You can use the above `flake.nix` as a template in `~/.config/darwin` by
|
||||
|
||||
[source,console]
|
||||
$ nix flake new ~/.config/darwin -t github:nix-community/home-manager#nix-darwin
|
||||
|
||||
@@ -6,6 +6,10 @@ This section lists the release notes for stable versions of Home Manager and the
|
||||
|
||||
:leveloffset: 1
|
||||
|
||||
include::rl-2305.adoc[]
|
||||
|
||||
include::rl-2211.adoc[]
|
||||
|
||||
include::rl-2205.adoc[]
|
||||
|
||||
include::rl-2111.adoc[]
|
||||
|
||||
@@ -8,7 +8,7 @@ The 21.05 release branch became the stable branch in May, 2021.
|
||||
|
||||
This release has the following notable changes:
|
||||
|
||||
* The <<opt-programs.broot.verbs>> option is now a list rather than an
|
||||
* The `opt-programs.broot.verbs` option is now a list rather than an
|
||||
attribute set. To migrate, move the keys of the attrset into the list
|
||||
items' `invocation` keys. For example,
|
||||
+
|
||||
|
||||
113
docs/release-notes/rl-2211.adoc
Normal file
113
docs/release-notes/rl-2211.adoc
Normal file
@@ -0,0 +1,113 @@
|
||||
[[sec-release-22.11]]
|
||||
== Release 22.11
|
||||
|
||||
The 22.11 release branch became the stable branch in November, 2022.
|
||||
|
||||
[[sec-release-22.11-highlights]]
|
||||
=== Highlights
|
||||
|
||||
This release has the following notable changes:
|
||||
|
||||
* The <<opt-home.stateVersion>> option no longer has a default value.
|
||||
It used to default to ``18.09'', which was the Home Manager version
|
||||
that introduced the option. If your configuration does not explicitly
|
||||
set this option then you need to add
|
||||
+
|
||||
[source,nix]
|
||||
home.stateVersion = "18.09";
|
||||
+
|
||||
to your configuration.
|
||||
|
||||
* The Flake function `homeManagerConfiguration` has been simplified.
|
||||
Specifically, the arguments
|
||||
+
|
||||
--
|
||||
- `configuration`,
|
||||
- `username`,
|
||||
- `homeDirectory`,
|
||||
- `stateVersion`,
|
||||
- `extraModules`, and
|
||||
- `system`
|
||||
--
|
||||
+
|
||||
have been removed. Instead use the new `modules` argument, which
|
||||
accepts a list of NixOS modules.
|
||||
+
|
||||
Further, the `pkgs` argument is now mandatory and should be set to
|
||||
`nixpkgs.legacyPackages.${system}` where `nixpkgs` is the Nixpkgs
|
||||
input of your choice.
|
||||
+
|
||||
For example, if your Flake currently contains
|
||||
+
|
||||
[source,nix]
|
||||
----
|
||||
homeManagerConfiguration {
|
||||
configuration = import ./home.nix;
|
||||
system = "x86_64-linux";
|
||||
username = "jdoe";
|
||||
homeDirectory = "/home/jdoe";
|
||||
stateVersion = "22.05";
|
||||
extraModules = [ ./some-extra-module.nix ];
|
||||
}
|
||||
----
|
||||
+
|
||||
then you can change it to
|
||||
+
|
||||
[source,nix]
|
||||
----
|
||||
homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
modules = [
|
||||
./home.nix
|
||||
./some-extra-module.nix
|
||||
{
|
||||
home = {
|
||||
username = "jdoe";
|
||||
homeDirectory = "/home/jdoe";
|
||||
stateVersion = "22.05";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
----
|
||||
+
|
||||
Of course, you can move the assignment of <<opt-home.username>>,
|
||||
<<opt-home.homeDirectory>>, and <<opt-home.stateVersion>> to some
|
||||
other file or simply place them in your `home.nix`.
|
||||
|
||||
* The `services.picom` module has been refactored to use structural
|
||||
settings.
|
||||
+
|
||||
As a result `services.picom.extraOptions` has been removed in favor of
|
||||
<<opt-services.picom.settings>>. Also, `services.picom.blur*` were
|
||||
removed since upstream changed the blur settings to be more flexible.
|
||||
You can migrate the blur settings to use
|
||||
<<opt-services.picom.settings>> instead.
|
||||
|
||||
* The `services.compton` module has been removed. It was deprecated in
|
||||
release 20.03. Use `services.picom` instead.
|
||||
|
||||
[[sec-release-22.11-state-version-changes]]
|
||||
=== State Version Changes
|
||||
|
||||
The state version in this release includes the changes below.
|
||||
These changes are only active if the `home.stateVersion` option is set to "22.11" or later.
|
||||
|
||||
* The <<opt-services.mpd.musicDirectory>> option now defaults to the
|
||||
value of <<opt-xdg.userDirs.music>> if <<opt-xdg.userDirs.enable>> is
|
||||
enabled. Otherwise it is undefined and must be specified in the user
|
||||
configuration.
|
||||
|
||||
* The activation script now resets `PATH` before running. Before, the
|
||||
user's `PATH` environment variable would be used in the script and
|
||||
this made it possible for commands in the activation script to run
|
||||
arbitrary commands accessible to the user. We now restrict the
|
||||
activation script to commands that are explicitly specified.
|
||||
+
|
||||
There is no official way to restore the old behavior. We attempt to
|
||||
make the activation script as reproducible as possible and honoring
|
||||
the user's `PATH` reduces reproducibility.
|
||||
+
|
||||
If you need to run a command in an activation script block then refer
|
||||
to the command by its absolute command path, such as
|
||||
`${pkgs.hello}/bin/hello`.
|
||||
57
docs/release-notes/rl-2305.adoc
Normal file
57
docs/release-notes/rl-2305.adoc
Normal file
@@ -0,0 +1,57 @@
|
||||
[[sec-release-23.05]]
|
||||
== Release 23.05
|
||||
|
||||
The 23.05 release branch became the stable branch in May, 2023.
|
||||
|
||||
[[sec-release-23.05-highlights]]
|
||||
=== Highlights
|
||||
|
||||
This release has the following notable changes:
|
||||
|
||||
* Firefox add-ons are now managed per-profile.
|
||||
That is, if you are currently having
|
||||
+
|
||||
[source,nix]
|
||||
programs.firefox.extensions = [ foo bar ];
|
||||
+
|
||||
in your configuration then you must change it to
|
||||
+
|
||||
[source,nix]
|
||||
programs.firefox.profiles.myprofile.extensions = [ foo bar ];
|
||||
|
||||
* The default configuration location has been changed from
|
||||
`~/.config/nixpkgs/home.nix` to `~/.config/home-manager/home.nix`.
|
||||
+
|
||||
Similarly, if you are using a Nix flake based setup
|
||||
then the default flake file location has changed from
|
||||
`~/.config/nixpkgs/flake.nix` to `~/.config/home-manager/flake.nix`.
|
||||
+
|
||||
The old location will continue to work but using it will trigger a warning message.
|
||||
We changed the default configuration location to avoid confusion about
|
||||
which files belong to Home Manager and which belong to Nixpkgs.
|
||||
|
||||
* The `home-manager` tool now offers an `init` command.
|
||||
This command can be used to generate an initial Home Manager configuration,
|
||||
and optionally also activate it.
|
||||
The recommended installation method for a standalone Home Manager setup
|
||||
with Nix flakes uses this new command.
|
||||
The standard installation method remains the same but uses the new command internally.
|
||||
See <<sec-flakes-standalone>> for more.
|
||||
|
||||
[[sec-release-23.05-state-version-changes]]
|
||||
=== State Version Changes
|
||||
|
||||
The state version in this release includes the changes below.
|
||||
These changes are only active if the `home.stateVersion` option is set to "23.05" or later.
|
||||
|
||||
* The options
|
||||
+
|
||||
--
|
||||
- <<opt-xsession.windowManager.i3.config.window.titlebar>>
|
||||
- <<opt-xsession.windowManager.i3.config.floating.titlebar>>
|
||||
- <<opt-wayland.windowManager.sway.config.window.titlebar>>
|
||||
- <<opt-wayland.windowManager.sway.config.floating.titlebar>>
|
||||
--
|
||||
+
|
||||
now default to `true` which is consistent with the default values for
|
||||
those options used by `i3` and `sway`.
|
||||
@@ -1,7 +1,14 @@
|
||||
[[ch-usage]]
|
||||
== Using Home Manager
|
||||
|
||||
Your use of Home Manager is centered around the configuration file, which is typically found at `~/.config/nixpkgs/home.nix`.
|
||||
Your use of Home Manager is centered around the configuration file,
|
||||
which is typically found at `~/.config/home-manager/home.nix` in the standard installation
|
||||
or `~/.config/home-manager/flake.nix` in a Nix flake based installation.
|
||||
|
||||
[NOTE]
|
||||
The default configuration used to be placed in `~/.config/nixpkgs`¸
|
||||
so you may see references to that elsewhere.
|
||||
The old directory still works but Home Manager will print a warning message when used.
|
||||
|
||||
This configuration file can be _built_ and _activated_.
|
||||
|
||||
@@ -18,7 +25,7 @@ then building it, for example using `home-manager build`, will result in an erro
|
||||
----
|
||||
$ home-manager build
|
||||
error: A definition for option `programs.emacs.enable' is not of type `boolean'. Definition values:
|
||||
- In `/home/jdoe/.config/nixpkgs/home.nix': "yes"
|
||||
- In `/home/jdoe/.config/home-manager/home.nix': "yes"
|
||||
(use '--show-trace' to show detailed location information)
|
||||
----
|
||||
|
||||
@@ -32,7 +39,7 @@ Once a configuration is successfully built, it can be activated. The activation
|
||||
[[sec-usage-configuration]]
|
||||
=== Configuration Example
|
||||
|
||||
A fresh install of Home Manager will generate a minimal `~/.config/nixpkgs/home.nix` file containing something like
|
||||
A fresh install of Home Manager will generate a minimal `~/.config/home-manager/home.nix` file containing something like
|
||||
|
||||
[source,nix]
|
||||
----
|
||||
@@ -52,7 +59,7 @@ A fresh install of Home Manager will generate a minimal `~/.config/nixpkgs/home.
|
||||
# You can update Home Manager without changing this value. See
|
||||
# the Home Manager release notes for a list of state version
|
||||
# changes in each release.
|
||||
home.stateVersion = "22.05";
|
||||
home.stateVersion = "23.05";
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
@@ -92,7 +99,7 @@ To satisfy the above setup we should elaborate the `home.nix` file as follows:
|
||||
# You can update Home Manager without changing this value. See
|
||||
# the Home Manager release notes for a list of state version
|
||||
# changes in each release.
|
||||
home.stateVersion = "22.05";
|
||||
home.stateVersion = "23.05";
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
@@ -7,7 +7,7 @@ The module system in Home Manager is based entirely on the NixOS module system s
|
||||
[[sec-option-types]]
|
||||
=== Option Types
|
||||
:wikipedia-dag: https://en.wikipedia.org/w/index.php?title=Directed_acyclic_graph&oldid=939656095
|
||||
:gvariant-description: https://developer.gnome.org/glib/stable/glib-GVariant.html#glib-GVariant.description
|
||||
:gvariant-description: https://docs.gtk.org/glib/struct.Variant.html#description
|
||||
|
||||
Overall the basic option types are the same in Home Manager as NixOS. A few Home Manager options, however, make use of custom types that are worth describing in more detail. These are the option types `dagOf` and `gvariant` that are used, for example, by <<opt-programs.ssh.matchBlocks>> and <<opt-dconf.settings>>.
|
||||
|
||||
@@ -77,13 +77,13 @@ foo.bar = {
|
||||
+
|
||||
would place `c` before `b` and after `a` in the graph.
|
||||
|
||||
`hm.types.gvariant`::
|
||||
This type is useful for options representing {gvariant-description}[GVariant] values. The type accepts all primitive GVariant types as well as arrays and tuples. Dictionaries are not currently supported.
|
||||
[[sec-option-types-gvariant]]`hm.types.gvariant`::
|
||||
This type is useful for options representing {gvariant-description}[GVariant] values. The type accepts all primitive GVariant types as well as arrays, tuples, ``maybe'' types, and dictionaries.
|
||||
+
|
||||
To create a GVariant value you can use a number of provided functions. Examples assume an option `foo.bar` of type `hm.types.gvariant`.
|
||||
Some Nix values are automatically coerced to matching GVariant value but the GVariant model is richer so you may need to use one of the provided constructor functions. Examples assume an option `foo.bar` of type `hm.types.gvariant`.
|
||||
+
|
||||
`hm.gvariant.mkBoolean (v: bool)`:::
|
||||
Takes a Nix value `v` to a GVariant `boolean` value. Note, Nix booleans are automatically coerced using this function. That is,
|
||||
[[sec-option-types-gvariant-mkBoolean]]`hm.gvariant.mkBoolean (v: bool)`:::
|
||||
Takes a Nix value `v` to a GVariant `boolean` value (GVariant format string `b`). Note, Nix booleans are automatically coerced using this function. That is,
|
||||
+
|
||||
[source,nix]
|
||||
----
|
||||
@@ -96,8 +96,8 @@ is equivalent to
|
||||
----
|
||||
foo.bar = true;
|
||||
----
|
||||
`hm.gvariant.mkString (v: string)`:::
|
||||
Takes a Nix value `v` to a GVariant `string` value. Note, Nix strings are automatically coerced using this function. That is,
|
||||
[[sec-option-types-gvariant-mkString]]`hm.gvariant.mkString (v: string)`:::
|
||||
Takes a Nix value `v` to a GVariant `string` value (GVariant format string `s`). Note, Nix strings are automatically coerced using this function. That is,
|
||||
+
|
||||
[source,nix]
|
||||
----
|
||||
@@ -110,16 +110,16 @@ is equivalent to
|
||||
----
|
||||
foo.bar = "a string";
|
||||
----
|
||||
`hm.gvariant.mkObjectpath (v: string)`:::
|
||||
Takes a Nix value `v` to a GVariant `objectpath` value.
|
||||
`hm.gvariant.mkUchar (v: string)`:::
|
||||
Takes a Nix value `v` to a GVariant `uchar` value.
|
||||
`hm.gvariant.mkInt16 (v: int)`:::
|
||||
Takes a Nix value `v` to a GVariant `int16` value.
|
||||
`hm.gvariant.mkUint16 (v: int)`:::
|
||||
Takes a Nix value `v` to a GVariant `uint16` value.
|
||||
`hm.gvariant.mkInt32 (v: int)`:::
|
||||
Takes a Nix value `v` to a GVariant `int32` value. Note, Nix integers are automatically coerced using this function. That is,
|
||||
[[sec-option-types-gvariant-mkObjectpath]]`hm.gvariant.mkObjectpath (v: string)`:::
|
||||
Takes a Nix value `v` to a GVariant `objectpath` value (GVariant format string `o`).
|
||||
[[sec-option-types-gvariant-mkUchar]]`hm.gvariant.mkUchar (v: string)`:::
|
||||
Takes a Nix value `v` to a GVariant `uchar` value (GVariant format string `y`).
|
||||
[[sec-option-types-gvariant-mkInt16]]`hm.gvariant.mkInt16 (v: int)`:::
|
||||
Takes a Nix value `v` to a GVariant `int16` value (GVariant format string `n`).
|
||||
[[sec-option-types-gvariant-mkUint16]]`hm.gvariant.mkUint16 (v: int)`:::
|
||||
Takes a Nix value `v` to a GVariant `uint16` value (GVariant format string `q`).
|
||||
[[sec-option-types-gvariant-mkInt32]]`hm.gvariant.mkInt32 (v: int)`:::
|
||||
Takes a Nix value `v` to a GVariant `int32` value (GVariant format string `i`). Note, Nix integers are automatically coerced using this function. That is,
|
||||
+
|
||||
[source,nix]
|
||||
----
|
||||
@@ -132,14 +132,14 @@ is equivalent to
|
||||
----
|
||||
foo.bar = 7;
|
||||
----
|
||||
`hm.gvariant.mkUint32 (v: int)`:::
|
||||
Takes a Nix value `v` to a GVariant `uint32` value.
|
||||
`hm.gvariant.mkInt64 (v: int)`:::
|
||||
Takes a Nix value `v` to a GVariant `int64` value.
|
||||
`hm.gvariant.mkUint64 (v: int)`:::
|
||||
Takes a Nix value `v` to a GVariant `uint64` value.
|
||||
`hm.gvariant.mkDouble (v: double)`:::
|
||||
Takes a Nix value `v` to a GVariant `double` value. Note, Nix floats are automatically coerced using this function. That is,
|
||||
[[sec-option-types-gvariant-mkUint32]]`hm.gvariant.mkUint32 (v: int)`:::
|
||||
Takes a Nix value `v` to a GVariant `uint32` value (GVariant format string `u`).
|
||||
[[sec-option-types-gvariant-mkInt64]]`hm.gvariant.mkInt64 (v: int)`:::
|
||||
Takes a Nix value `v` to a GVariant `int64` value (GVariant format string `x`).
|
||||
[[sec-option-types-gvariant-mkUint64]]`hm.gvariant.mkUint64 (v: int)`:::
|
||||
Takes a Nix value `v` to a GVariant `uint64` value (GVariant format string `t`).
|
||||
[[sec-option-types-gvariant-mkDouble]]`hm.gvariant.mkDouble (v: double)`:::
|
||||
Takes a Nix value `v` to a GVariant `double` value (GVariant format string `d`). Note, Nix floats are automatically coerced using this function. That is,
|
||||
+
|
||||
[source,nix]
|
||||
----
|
||||
@@ -153,35 +153,43 @@ is equivalent to
|
||||
foo.bar = 3.14;
|
||||
----
|
||||
+
|
||||
`hm.gvariant.mkArray type elements`:::
|
||||
Builds a GVariant array containing the given list of elements, where each element is a GVariant value of the given type. The `type` value can be constructed using
|
||||
[[sec-option-types-gvariant-mkArray]]`hm.gvariant.mkArray type elements`:::
|
||||
Builds a GVariant array containing the given list of elements, where each element is a GVariant value of the given type (GVariant format string `a${type}`). The `type` value can be constructed using
|
||||
+
|
||||
--
|
||||
- `hm.gvariant.type.string`
|
||||
- `hm.gvariant.type.boolean`
|
||||
- `hm.gvariant.type.uchar`
|
||||
- `hm.gvariant.type.int16`
|
||||
- `hm.gvariant.type.uint16`
|
||||
- `hm.gvariant.type.int32`
|
||||
- `hm.gvariant.type.uint32`
|
||||
- `hm.gvariant.type.int64`
|
||||
- `hm.gvariant.type.uint64`
|
||||
- `hm.gvariant.type.double`
|
||||
- `hm.gvariant.type.arrayOf type`
|
||||
- `hm.gvariant.type.maybeOf type`
|
||||
- `hm.gvariant.type.tupleOf types`
|
||||
- `hm.gvariant.type.string` (GVariant format string `s`)
|
||||
- `hm.gvariant.type.boolean` (GVariant format string `b`)
|
||||
- `hm.gvariant.type.uchar` (GVariant format string `y`)
|
||||
- `hm.gvariant.type.int16` (GVariant format string `n`)
|
||||
- `hm.gvariant.type.uint16` (GVariant format string `q`)
|
||||
- `hm.gvariant.type.int32` (GVariant format string `i`)
|
||||
- `hm.gvariant.type.uint32` (GVariant format string `u`)
|
||||
- `hm.gvariant.type.int64` (GVariant format string `x`)
|
||||
- `hm.gvariant.type.uint64` (GVariant format string `t`)
|
||||
- `hm.gvariant.type.double` (GVariant format string `d`)
|
||||
- `hm.gvariant.type.variant` (GVariant format string `v`)
|
||||
- `hm.gvariant.type.arrayOf type` (GVariant format string `a${type}`)
|
||||
- `hm.gvariant.type.maybeOf type` (GVariant format string `m${type}`)
|
||||
- `hm.gvariant.type.tupleOf types` (GVariant format string `(${lib.concatStrings types})`)
|
||||
- `hm.gvariant.type.dictionaryEntryOf [keyType valueType]` (GVariant format string `{${keyType}${valueType}}`)
|
||||
--
|
||||
+
|
||||
where `type` and `types` are themselves a type and list of types, respectively.
|
||||
+
|
||||
`hm.gvariant.mkEmptyArray type`:::
|
||||
An alias of `hm.gvariant.mkArray type []`.
|
||||
[[sec-option-types-gvariant-mkEmptyArray]]`hm.gvariant.mkEmptyArray type`:::
|
||||
An alias of <<sec-option-types-gvariant-mkArray,`hm.gvariant.mkArray type []`>>.
|
||||
+
|
||||
`hm.gvariant.mkNothing type`:::
|
||||
Builds a GVariant maybe value whose (non-existent) element is of the given type. The `type` value is constructed as described for the `mkArray` function above.
|
||||
[[sec-option-types-gvariant-mkNothing]]`hm.gvariant.mkNothing type`:::
|
||||
Builds a GVariant maybe value (GVariant format string `m${type}`) whose (non-existent) element is of the given type. The `type` value is constructed as described for the <<sec-option-types-gvariant-mkArray,`mkArray`>> function above.
|
||||
+
|
||||
`hm.gvariant.mkJust element`:::
|
||||
Builds a GVariant maybe value containing the given GVariant element.
|
||||
[[sec-option-types-gvariant-mkJust]]`hm.gvariant.mkJust element`:::
|
||||
Builds a GVariant maybe value (GVariant format string `m${element.type}`) containing the given GVariant element.
|
||||
+
|
||||
`hm.gvariant.mkTuple elements`:::
|
||||
[[sec-option-types-gvariant-mkTuple]]`hm.gvariant.mkTuple elements`:::
|
||||
Builds a GVariant tuple containing the given list of elements, where each element is a GVariant value.
|
||||
+
|
||||
[[sec-option-types-gvariant-mkVariant]]`hm.gvariant.mkVariant element`:::
|
||||
Builds a GVariant variant (GVariant format string `v`) which contains the value of a GVariant element.
|
||||
+
|
||||
[[sec-option-types-gvariant-mkDictionaryEntry]]`hm.gvariant.mkDictionaryEntry [key value]`:::
|
||||
Builds a GVariant dictionary entry containing the given list of elements (GVariant format string `{${key.type}${value.type}}`), where each element is a GVariant value.
|
||||
|
||||
27
flake.lock
generated
Normal file
27
flake.lock
generated
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1687466461,
|
||||
"narHash": "sha256-oupXI7g7RPzlpGUfAu1xG4KBK53GrZH8/xeKgKDB4+Q=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "ecb441f22067ba1d6312f4932a7c64efa8d19a7b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-23.05",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
||||
138
flake.nix
138
flake.nix
@@ -1,60 +1,112 @@
|
||||
{
|
||||
description = "Home Manager for Nix";
|
||||
|
||||
outputs = { self, nixpkgs }:
|
||||
let
|
||||
# List of systems supported by home-manager binary
|
||||
supportedSystems = with nixpkgs.lib.platforms; linux ++ darwin;
|
||||
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
|
||||
|
||||
# Function to generate a set based on supported systems
|
||||
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
|
||||
outputs = { self, nixpkgs, ... }:
|
||||
{
|
||||
nixosModules = rec {
|
||||
home-manager = import ./nixos;
|
||||
default = home-manager;
|
||||
};
|
||||
# deprecated in Nix 2.8
|
||||
nixosModule = self.nixosModules.default;
|
||||
|
||||
nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; });
|
||||
in rec {
|
||||
nixosModules.home-manager = import ./nixos;
|
||||
nixosModule = self.nixosModules.home-manager;
|
||||
darwinModules = rec {
|
||||
home-manager = import ./nix-darwin;
|
||||
default = home-manager;
|
||||
};
|
||||
# unofficial; deprecated in Nix 2.8
|
||||
darwinModule = self.darwinModules.default;
|
||||
|
||||
darwinModules.home-manager = import ./nix-darwin;
|
||||
darwinModule = self.darwinModules.home-manager;
|
||||
|
||||
packages = forAllSystems (system:
|
||||
let docs = import ./docs { pkgs = nixpkgsFor.${system}; };
|
||||
in {
|
||||
home-manager = nixpkgsFor.${system}.callPackage ./home-manager { };
|
||||
docs-html = docs.manual.html;
|
||||
docs-manpages = docs.manPages;
|
||||
docs-json = docs.options.json;
|
||||
default = self.packages.${system}.home-manager;
|
||||
});
|
||||
|
||||
# defaultPackage is deprecated as of Nix 2.7.0
|
||||
defaultPackage = forAllSystems (system: self.packages.${system}.default);
|
||||
|
||||
apps = forAllSystems (system: {
|
||||
home-manager = {
|
||||
type = "app";
|
||||
program = "${defaultPackage.${system}}/bin/home-manager";
|
||||
templates = {
|
||||
standalone = {
|
||||
path = ./templates/standalone;
|
||||
description = "Standalone setup";
|
||||
};
|
||||
});
|
||||
nixos = {
|
||||
path = ./templates/nixos;
|
||||
description = "Home Manager as a NixOS module,";
|
||||
};
|
||||
nix-darwin = {
|
||||
path = ./templates/nix-darwin;
|
||||
description = "Home Manager as a nix-darwin module,";
|
||||
};
|
||||
};
|
||||
|
||||
defaultApp = forAllSystems (system: apps.${system}.home-manager);
|
||||
defaultTemplate = self.templates.standalone;
|
||||
|
||||
lib = {
|
||||
hm = import ./modules/lib { lib = nixpkgs.lib; };
|
||||
homeManagerConfiguration = { configuration, system, homeDirectory
|
||||
, username, extraModules ? [ ], extraSpecialArgs ? { }
|
||||
, pkgs ? builtins.getAttr system nixpkgs.outputs.legacyPackages
|
||||
, lib ? pkgs.lib, check ? true, stateVersion ? "20.09" }@args:
|
||||
assert nixpkgs.lib.versionAtLeast stateVersion "20.09";
|
||||
hm = (import ./modules/lib/stdlib-extended.nix nixpkgs.lib).hm;
|
||||
homeManagerConfiguration = { modules ? [ ], pkgs, lib ? pkgs.lib
|
||||
, extraSpecialArgs ? { }, check ? true
|
||||
# Deprecated:
|
||||
, configuration ? null, extraModules ? null, stateVersion ? null
|
||||
, username ? null, homeDirectory ? null, system ? null }@args:
|
||||
let
|
||||
msgForRemovedArg = ''
|
||||
The 'homeManagerConfiguration' arguments
|
||||
|
||||
import ./modules {
|
||||
- 'configuration',
|
||||
- 'username',
|
||||
- 'homeDirectory'
|
||||
- 'stateVersion',
|
||||
- 'extraModules', and
|
||||
- 'system'
|
||||
|
||||
have been removed. Instead use the arguments 'pkgs' and
|
||||
'modules'. See the 22.11 release notes for more: https://nix-community.github.io/home-manager/release-notes.html#sec-release-22.11-highlights
|
||||
'';
|
||||
|
||||
throwForRemovedArgs = v:
|
||||
let
|
||||
used = builtins.filter (n: (args.${n} or null) != null) [
|
||||
"configuration"
|
||||
"username"
|
||||
"homeDirectory"
|
||||
"stateVersion"
|
||||
"extraModules"
|
||||
"system"
|
||||
];
|
||||
msg = msgForRemovedArg + ''
|
||||
|
||||
|
||||
Deprecated args passed: ''
|
||||
+ builtins.concatStringsSep " " used;
|
||||
in lib.throwIf (used != [ ]) msg v;
|
||||
|
||||
in throwForRemovedArgs (import ./modules {
|
||||
inherit pkgs lib check extraSpecialArgs;
|
||||
configuration = { ... }: {
|
||||
imports = [ configuration ] ++ extraModules;
|
||||
home = { inherit homeDirectory stateVersion username; };
|
||||
imports = modules
|
||||
++ [{ programs.home-manager.path = toString ./.; }];
|
||||
nixpkgs = { inherit (pkgs) config overlays; };
|
||||
};
|
||||
};
|
||||
});
|
||||
};
|
||||
};
|
||||
} // (let
|
||||
forAllSystems = nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed;
|
||||
in {
|
||||
devShells = forAllSystems (system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
tests = import ./tests { inherit pkgs; };
|
||||
in tests.run);
|
||||
|
||||
packages = forAllSystems (system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
docs = import ./docs { inherit pkgs; };
|
||||
hmPkg = pkgs.callPackage ./home-manager { path = toString ./.; };
|
||||
in {
|
||||
default = hmPkg;
|
||||
home-manager = hmPkg;
|
||||
|
||||
docs-html = docs.manual.html;
|
||||
docs-json = docs.options.json;
|
||||
docs-manpages = docs.manPages;
|
||||
});
|
||||
|
||||
defaultPackage = forAllSystems (system: self.packages.${system}.default);
|
||||
});
|
||||
}
|
||||
|
||||
7
format
7
format
@@ -1,5 +1,5 @@
|
||||
#! /usr/bin/env nix-shell
|
||||
#! nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/5edf5b60c3d8f82b5fc5e73e822b6f7460584945.tar.gz -i bash -p findutils nixfmt
|
||||
#! nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/6616de389ed55fba6eeba60377fc04732d5a207c.tar.gz -i bash -p findutils nixfmt
|
||||
|
||||
CHECK_ARG=
|
||||
|
||||
@@ -15,18 +15,13 @@ esac
|
||||
# The excludes are for files touched by open pull requests and we want
|
||||
# to avoid merge conflicts.
|
||||
find . -name '*.nix' \
|
||||
! -path ./home-manager/home-manager.nix \
|
||||
! -path ./modules/default.nix \
|
||||
! -path ./modules/files.nix \
|
||||
! -path ./modules/home-environment.nix \
|
||||
! -path ./modules/launchd/launchd.nix \
|
||||
! -path ./modules/lib/default.nix \
|
||||
! -path ./modules/lib/file-type.nix \
|
||||
! -path ./modules/manual.nix \
|
||||
! -path ./modules/misc/news.nix \
|
||||
! -path ./modules/programs/bash.nix \
|
||||
! -path ./modules/programs/ssh.nix \
|
||||
! -path ./modules/programs/zsh.nix \
|
||||
! -path ./nix-darwin/default.nix \
|
||||
! -path ./tests/default.nix \
|
||||
-exec nixfmt $CHECK_ARG {} +
|
||||
|
||||
@@ -276,26 +276,34 @@ _home-manager_xdg-get-cache-home () {
|
||||
|
||||
##################################################
|
||||
|
||||
_hm_subcommands=( "help" "edit" "option" "build" "init" "instantiate" "switch" "generations" "remove-generations" "expire-generations" "packages" "news" "uninstall" )
|
||||
declare -ra _hm_subcommands
|
||||
|
||||
# Finds the active sub-command, if any.
|
||||
_home-manager_subcommand() {
|
||||
local subcommand='' i=
|
||||
for ((i = 1; i < ${#COMP_WORDS[@]}; i++)); do
|
||||
local word="${COMP_WORDS[i]}"
|
||||
if [[ " ${_hm_subcommands[*]} " == *" ${word} "* ]]; then
|
||||
subcommand="$word"
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
echo "$subcommand"
|
||||
}
|
||||
|
||||
# shellcheck disable=SC2207
|
||||
_home-manager_completions ()
|
||||
{
|
||||
|
||||
#--------------------------#
|
||||
|
||||
local Subcommands
|
||||
Subcommands=( "help" "edit" "option" "build" "instantiate" "switch" "generations" "remove-generations" "expire-generations" "packages" "news" "uninstall" )
|
||||
|
||||
# ^ « home-manager »'s subcommands.
|
||||
|
||||
#--------------------------#
|
||||
|
||||
local Options
|
||||
Options=( "-f" "--file" "-b" "-A" "-I" "-h" "--help" "-n" "--dry-run" "-v" \
|
||||
"--verbose" "--cores" "--debug" "--impure" "--keep-failed" \
|
||||
"--keep-going" "-j" "--max-jobs" "--no-substitute" "--no-out-link" \
|
||||
"-L" "--print-build-logs" \
|
||||
"--show-trace" "--substitute" "--builders" "--version" \
|
||||
"--update-input" "--override-input" "--experimental-features" \
|
||||
"--extra-experimental-features" )
|
||||
"--extra-experimental-features" "--refresh")
|
||||
|
||||
# ^ « home-manager »'s options.
|
||||
|
||||
@@ -321,39 +329,53 @@ _home-manager_completions ()
|
||||
# PreviousWord="-f"
|
||||
# CurrentWord="./"
|
||||
|
||||
local CurrentCommand
|
||||
CurrentCommand="$(_home-manager_subcommand)"
|
||||
|
||||
#--------------------------#
|
||||
|
||||
COMPREPLY=()
|
||||
|
||||
case "$PreviousWord" in
|
||||
|
||||
"-f"|"--file")
|
||||
|
||||
COMPREPLY+=( $( compgen -A file -- "$CurrentWord") )
|
||||
;;
|
||||
|
||||
"-I")
|
||||
case "$CurrentCommand" in
|
||||
"init")
|
||||
|
||||
COMPREPLY+=( $( compgen -W "--switch" -- "$CurrentWord" ) )
|
||||
COMPREPLY+=( $( compgen -A directory -- "$CurrentWord") )
|
||||
;;
|
||||
|
||||
"-A")
|
||||
|
||||
# shellcheck disable=SC2119
|
||||
COMPREPLY+=( $( compgen -W "$(_home-manager_list-nix-attributes)" -- "$CurrentWord") )
|
||||
;;
|
||||
|
||||
"remove-generations")
|
||||
|
||||
COMPREPLY+=( $( compgen -W "$(_home-manager_list-generation-identifiers)" -- "$CurrentWord" ) )
|
||||
;;
|
||||
|
||||
*)
|
||||
case "$PreviousWord" in
|
||||
|
||||
COMPREPLY+=( $( compgen -W "${Subcommands[*]}" -- "$CurrentWord" ) )
|
||||
COMPREPLY+=( $( compgen -W "${Options[*]}" -- "$CurrentWord" ) )
|
||||
"-f"|"--file")
|
||||
|
||||
COMPREPLY+=( $( compgen -A file -- "$CurrentWord") )
|
||||
;;
|
||||
|
||||
"-I")
|
||||
|
||||
COMPREPLY+=( $( compgen -A directory -- "$CurrentWord") )
|
||||
;;
|
||||
|
||||
"-A")
|
||||
|
||||
# shellcheck disable=SC2119
|
||||
COMPREPLY+=( $( compgen -W "$(_home-manager_list-nix-attributes)" -- "$CurrentWord") )
|
||||
;;
|
||||
*)
|
||||
|
||||
if [[ ! $CurrentCommand ]]; then
|
||||
COMPREPLY+=( $( compgen -W "${_hm_subcommands[*]}" -- "$CurrentWord" ) )
|
||||
fi
|
||||
COMPREPLY+=( $( compgen -W "${Options[*]}" -- "$CurrentWord" ) )
|
||||
;;
|
||||
|
||||
esac
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
#--------------------------#
|
||||
|
||||
@@ -60,6 +60,7 @@ complete -c home-manager -f -l "keep-going" -d "Keep going in case of failed bui
|
||||
complete -c home-manager -x -s j -l "max-jobs" -d "Max number of build jobs in parallel"
|
||||
complete -c home-manager -x -l "option" -d "Set Nix configuration option"
|
||||
complete -c home-manager -x -l "builders" -d "Remote builders"
|
||||
complete -c home-manager -f -s L -l "print-build-logs" -d "Print full build logs on standard error"
|
||||
complete -c home-manager -f -l "show-trace" -d "Print stack trace of evaluation errors"
|
||||
complete -c home-manager -f -l "substitute"
|
||||
complete -c home-manager -f -l "no-substitute"
|
||||
@@ -68,3 +69,4 @@ complete -c home-manager -f -l "update-input"
|
||||
complete -c home-manager -f -l "override-input"
|
||||
complete -c home-manager -f -l "experimental-features"
|
||||
complete -c home-manager -f -l "extra-experimental-features"
|
||||
complete -c home-manager -f -l "refresh" -d "Consider all previously downloaded files out-of-date"
|
||||
|
||||
@@ -19,6 +19,7 @@ _arguments \
|
||||
'(-j --max-jobs)'{--max-jobs,-j}'[max jobs]:NUM:()' \
|
||||
'--option[option]:NAME VALUE:()' \
|
||||
'--builders[builders]:SPEC:()' \
|
||||
'(-L --print-build-logs)'{--print-build-logs,-L}'[print build logs]' \
|
||||
'--show-trace[show trace]' \
|
||||
'--override-input[override flake input]:NAME VALUE:()' \
|
||||
'--update-input[update flake input]:NAME:()' \
|
||||
@@ -34,6 +35,7 @@ case "$state" in
|
||||
'edit[edit]' \
|
||||
'option[inspect option]' \
|
||||
'build[build]' \
|
||||
'init[init]' \
|
||||
'switch[switch]' \
|
||||
'generations[list generations]' \
|
||||
'remove-generations[remove generations]' \
|
||||
@@ -62,11 +64,17 @@ case "$state" in
|
||||
'--show-trace[show trace]' \
|
||||
'--substitute[substitute]' \
|
||||
'--builders[builders]:SPEC:()' \
|
||||
'--refresh[refresh]' \
|
||||
'--override-input[override flake input]:NAME VALUE:()' \
|
||||
'--update-input[update flake input]:NAME:()' \
|
||||
'--experimental-features[set experimental Nix features]:VALUE:()' \
|
||||
'--extra-experimental-features:[append to experimental Nix features]:VALUE:()'
|
||||
;;
|
||||
init)
|
||||
_arguments \
|
||||
'--switch[switch]' \
|
||||
':PATH:_files -/'
|
||||
;;
|
||||
esac
|
||||
esac
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ runCommand, lib, bash, callPackage, coreutils, findutils, gettext, gnused
|
||||
, less
|
||||
{ runCommand, lib, bash, callPackage, coreutils, findutils, gettext, gnused, jq
|
||||
, less, ncurses, unixtools
|
||||
# used for pkgs.path for nixos-option
|
||||
, pkgs
|
||||
|
||||
@@ -19,6 +19,7 @@ in runCommand "home-manager" {
|
||||
preferLocalBuild = true;
|
||||
nativeBuildInputs = [ gettext ];
|
||||
meta = with lib; {
|
||||
mainProgram = "home-manager";
|
||||
description = "A user environment configurator";
|
||||
maintainers = [ maintainers.rycee ];
|
||||
platforms = platforms.unix;
|
||||
@@ -30,7 +31,17 @@ in runCommand "home-manager" {
|
||||
substituteInPlace $out/bin/home-manager \
|
||||
--subst-var-by bash "${bash}" \
|
||||
--subst-var-by DEP_PATH "${
|
||||
lib.makeBinPath [ coreutils findutils gettext gnused less nixos-option ]
|
||||
lib.makeBinPath [
|
||||
coreutils
|
||||
findutils
|
||||
gettext
|
||||
gnused
|
||||
jq
|
||||
less
|
||||
ncurses
|
||||
nixos-option
|
||||
unixtools.hostname
|
||||
]
|
||||
}" \
|
||||
--subst-var-by HOME_MANAGER_LIB '${../lib/bash/home-manager.sh}' \
|
||||
--subst-var-by HOME_MANAGER_PATH '${pathStr}' \
|
||||
|
||||
@@ -11,20 +11,30 @@ export TEXTDOMAINDIR=@OUT@/share/locale
|
||||
# shellcheck disable=1091
|
||||
source @HOME_MANAGER_LIB@
|
||||
|
||||
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 removeByName() {
|
||||
nix profile list \
|
||||
| { grep "$1" || test $? = 1; } \
|
||||
| cut -d ' ' -f 4 \
|
||||
| xargs -t $DRY_RUN_CMD nix profile remove $VERBOSE_ARG
|
||||
nixProfileList "$1" | xargs -t $DRY_RUN_CMD nix profile remove $VERBOSE_ARG
|
||||
}
|
||||
|
||||
function setNixProfileCommands() {
|
||||
if [[ -e ~/.nix-profile/manifest.json ]] ; then
|
||||
if [[ -e $HOME/.nix-profile/manifest.json ]] ; then
|
||||
LIST_OUTPATH_CMD="nix profile list"
|
||||
REMOVE_CMD="removeByName"
|
||||
else
|
||||
LIST_OUTPATH_CMD="nix-env -q --out-path"
|
||||
REMOVE_CMD="nix-env -q"
|
||||
REMOVE_CMD="nix-env --uninstall"
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -50,35 +60,57 @@ function setWorkDir() {
|
||||
fi
|
||||
}
|
||||
|
||||
# Checks whether the 'flakes' and 'nix-command' Nix options are enabled.
|
||||
function hasFlakeSupport() {
|
||||
type -p nix > /dev/null \
|
||||
&& nix show-config 2> /dev/null \
|
||||
| grep experimental-features \
|
||||
| grep flakes \
|
||||
| grep -q nix-command
|
||||
}
|
||||
|
||||
# Attempts to set the HOME_MANAGER_CONFIG global variable.
|
||||
#
|
||||
# If no configuration file can be found then this function will print
|
||||
# an error message and exit with an error code.
|
||||
function setConfigFile() {
|
||||
if [[ -v HOME_MANAGER_CONFIG ]] ; then
|
||||
if [[ ! -e "$HOME_MANAGER_CONFIG" ]] ; then
|
||||
_i "No configuration file found at %s" \
|
||||
if [[ -e "$HOME_MANAGER_CONFIG" ]] ; then
|
||||
HOME_MANAGER_CONFIG="$(realpath "$HOME_MANAGER_CONFIG")"
|
||||
else
|
||||
_i 'No configuration file found at %s' \
|
||||
"$HOME_MANAGER_CONFIG" >&2
|
||||
exit 1
|
||||
fi
|
||||
elif [[ ! -v HOME_MANAGER_CONFIG ]]; then
|
||||
local configHome="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||
local hmConfigHome="$configHome/home-manager"
|
||||
local nixpkgsConfigHome="$configHome/nixpkgs"
|
||||
local defaultConfFile="$hmConfigHome/home.nix"
|
||||
local configFile
|
||||
|
||||
HOME_MANAGER_CONFIG="$(realpath "$HOME_MANAGER_CONFIG")"
|
||||
return
|
||||
fi
|
||||
|
||||
local defaultConfFile="${XDG_CONFIG_HOME:-$HOME/.config}/nixpkgs/home.nix"
|
||||
local confFile
|
||||
for confFile in "$defaultConfFile" \
|
||||
"$HOME/.nixpkgs/home.nix" ; do
|
||||
if [[ -e "$confFile" ]] ; then
|
||||
HOME_MANAGER_CONFIG="$(realpath "$confFile")"
|
||||
return
|
||||
if [[ -e "$defaultConfFile" ]]; then
|
||||
configFile="$defaultConfFile"
|
||||
elif [[ -e "$nixpkgsConfigHome/home.nix" ]]; then
|
||||
configFile="$nixpkgsConfigHome/home.nix"
|
||||
# translators: The first '%s' specifier will be replaced by either
|
||||
# 'home.nix' or 'flake.nix'.
|
||||
_iWarn $'Keeping your Home Manager %s in %s is deprecated,\nplease move it to %s' \
|
||||
'home.nix' "$nixpkgsConfigHome" "$hmConfigHome" >&2
|
||||
elif [[ -e "$HOME/.nixpkgs/home.nix" ]]; then
|
||||
configFile="$HOME/.nixpkgs/home.nix"
|
||||
_iWarn $'Keeping your Home Manager %s in %s is deprecated,\nplease move it to %s' \
|
||||
'home.nix' "$HOME/.nixpkgs" "$hmConfigHome" >&2
|
||||
fi
|
||||
done
|
||||
|
||||
_i "No configuration file found. Please create one at %s" \
|
||||
"$defaultConfFile" >&2
|
||||
exit 1
|
||||
if [[ -v configFile ]]; then
|
||||
HOME_MANAGER_CONFIG="$(realpath "$configFile")"
|
||||
else
|
||||
_i 'No configuration file found. Please create one at %s' \
|
||||
"$defaultConfFile" >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
function setHomeManagerNixPath() {
|
||||
@@ -87,16 +119,60 @@ function setHomeManagerNixPath() {
|
||||
"${XDG_CONFIG_HOME:-$HOME/.config}/nixpkgs/home-manager" \
|
||||
"$HOME/.nixpkgs/home-manager" ; do
|
||||
if [[ -e "$path" || "$path" =~ ^https?:// ]] ; then
|
||||
export NIX_PATH="home-manager=$path${NIX_PATH:+:}$NIX_PATH"
|
||||
EXTRA_NIX_PATH+=("home-manager=$path")
|
||||
return
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
# Sets some useful Home Manager related paths as global read-only variables.
|
||||
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 globalProfilesDir="$globalNixStateDir/profiles/per-user/$USER"
|
||||
declare -r globalGcrootsDir="$globalNixStateDir/gcroots/per-user/$USER"
|
||||
|
||||
declare -r stateHome="${XDG_STATE_HOME:-$HOME/.local/state}"
|
||||
declare -r userNixStateDir="$stateHome/nix"
|
||||
|
||||
declare -gr HM_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/home-manager"
|
||||
declare -gr HM_STATE_DIR="$stateHome/home-manager"
|
||||
declare -gr HM_GCROOT_LEGACY_PATH="$globalGcrootsDir/current-home"
|
||||
|
||||
if [[ -d $userNixStateDir/profiles ]]; then
|
||||
declare -gr HM_PROFILE_DIR="$userNixStateDir/profiles"
|
||||
elif [[ -d $globalProfilesDir ]]; then
|
||||
declare -gr HM_PROFILE_DIR="$globalProfilesDir"
|
||||
else
|
||||
_iError 'Could not find suitable profile directory, tried %s and %s' \
|
||||
"$HM_STATE_DIR/profiles" "$globalProfilesDir" >&2
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
function setFlakeAttribute() {
|
||||
local configFlake="${XDG_CONFIG_HOME:-$HOME/.config}/nixpkgs/flake.nix"
|
||||
if [[ -z $FLAKE_ARG && ! -v HOME_MANAGER_CONFIG && -e "$configFlake" ]]; then
|
||||
FLAKE_ARG="$(dirname "$(readlink -f "$configFlake")")"
|
||||
if [[ -z $FLAKE_ARG && ! -v HOME_MANAGER_CONFIG ]]; then
|
||||
local configHome="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||
local hmConfigHome="$configHome/home-manager"
|
||||
local nixpkgsConfigHome="$configHome/nixpkgs"
|
||||
|
||||
local configFlake
|
||||
|
||||
if [[ -e "$hmConfigHome/flake.nix" ]]; then
|
||||
configFlake="$hmConfigHome/flake.nix"
|
||||
elif [[ -e "$nixpkgsConfigHome/flake.nix" ]]; then
|
||||
configFlake="$nixpkgsConfigHome/flake.nix"
|
||||
_iWarn $'Keeping your Home Manager %s in %s is deprecated,\nplease move it to %s' \
|
||||
'flake.nix' "$nixpkgsConfigHome" "$hmConfigHome" >&2
|
||||
fi
|
||||
|
||||
if [[ -v configFlake ]]; then
|
||||
FLAKE_ARG="$(dirname "$(readlink -f "$configFlake")")"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -n "$FLAKE_ARG" ]]; then
|
||||
@@ -104,13 +180,20 @@ function setFlakeAttribute() {
|
||||
case $FLAKE_ARG in
|
||||
*#*)
|
||||
local name="${FLAKE_ARG#*#}"
|
||||
;;
|
||||
;;
|
||||
*)
|
||||
local name="$USER@$(hostname)"
|
||||
if [ "$(nix eval "$flake#homeConfigurations" --apply "x: x ? \"$name\"")" = "false" ]; then
|
||||
name="$USER"
|
||||
fi
|
||||
;;
|
||||
local name="$USER"
|
||||
# Check both long and short hostnames; long first to preserve
|
||||
# pre-existing behaviour in case both happen to be defined.
|
||||
for n in "$USER@$(hostname)" "$USER@$(hostname -s)"; do
|
||||
if [[ "$(nix eval "$flake#homeConfigurations" --apply "x: x ? \"$n\"")" == "true" ]]; then
|
||||
name="$n"
|
||||
if [[ -v VERBOSE ]]; then
|
||||
echo "Using flake homeConfiguration for $name"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
;;
|
||||
esac
|
||||
export FLAKE_CONFIG_URI="$flake#homeConfigurations.\"$name\""
|
||||
fi
|
||||
@@ -119,11 +202,11 @@ function setFlakeAttribute() {
|
||||
function doInspectOption() {
|
||||
setFlakeAttribute
|
||||
if [[ -v FLAKE_CONFIG_URI ]]; then
|
||||
# translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
_iError "Can't inspect options of a flake configuration"
|
||||
exit 1
|
||||
fi
|
||||
setConfigFile
|
||||
setHomeManagerNixPath
|
||||
|
||||
local extraArgs=("$@")
|
||||
|
||||
@@ -156,14 +239,232 @@ function doInspectOption() {
|
||||
"${PASSTHROUGH_OPTS[@]}"
|
||||
}
|
||||
|
||||
function doInit() {
|
||||
# The directory where we should place the initial configuration.
|
||||
local confDir
|
||||
|
||||
# Whether we should immediate activate the configuration.
|
||||
local switch
|
||||
|
||||
# Whether we should create a flake file.
|
||||
local withFlake
|
||||
|
||||
if hasFlakeSupport; then
|
||||
withFlake=1
|
||||
fi
|
||||
|
||||
while (( $# > 0 )); do
|
||||
local opt="$1"
|
||||
shift
|
||||
|
||||
case $opt in
|
||||
--no-flake)
|
||||
unset withFlake
|
||||
;;
|
||||
--switch)
|
||||
switch=1
|
||||
;;
|
||||
-*)
|
||||
_iError "%s: unknown option '%s'" "$0" "$opt" >&2
|
||||
exit 1
|
||||
;;
|
||||
*)
|
||||
if [[ -v confDir ]]; then
|
||||
_i "Run '%s --help' for usage help" "$0" >&2
|
||||
exit 1
|
||||
else
|
||||
confDir="$opt"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [[ ! -v confDir ]]; then
|
||||
confDir="${XDG_CONFIG_HOME:-$HOME/.config}/home-manager"
|
||||
fi
|
||||
|
||||
if [[ ! -e $confDir ]]; then
|
||||
mkdir -p "$confDir"
|
||||
fi
|
||||
|
||||
if [[ ! -d $confDir ]]; then
|
||||
_iError "%s: unknown option '%s'" "$0" "$opt" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
local confFile="$confDir/home.nix"
|
||||
local flakeFile="$confDir/flake.nix"
|
||||
|
||||
if [[ -e $confFile ]]; then
|
||||
_i 'The file %s already exists, leaving it unchanged...' "$confFile"
|
||||
else
|
||||
_i 'Creating %s...' "$confFile"
|
||||
local nl=$'\n'
|
||||
local xdgVars=""
|
||||
if [[ -v XDG_CACHE_HOME && $XDG_CACHE_HOME != "$HOME/.cache" ]]; then
|
||||
xdgVars="$xdgVars xdg.cacheHome = \"$XDG_CACHE_HOME\";$nl"
|
||||
fi
|
||||
if [[ -v XDG_CONFIG_HOME && $XDG_CONFIG_HOME != "$HOME/.config" ]]; then
|
||||
xdgVars="$xdgVars xdg.configHome = \"$XDG_CONFIG_HOME\";$nl"
|
||||
fi
|
||||
if [[ -v XDG_DATA_HOME && $XDG_DATA_HOME != "$HOME/.local/share" ]]; then
|
||||
xdgVars="$xdgVars xdg.dataHome = \"$XDG_DATA_HOME\";$nl"
|
||||
fi
|
||||
if [[ -v XDG_STATE_HOME && $XDG_STATE_HOME != "$HOME/.local/state" ]]; then
|
||||
xdgVars="$xdgVars xdg.stateHome = \"$XDG_STATE_HOME\";$nl"
|
||||
fi
|
||||
|
||||
mkdir -p "$confDir"
|
||||
cat > "$confFile" <<EOF
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Home Manager needs a bit of information about you and the paths it should
|
||||
# manage.
|
||||
home.username = "$USER";
|
||||
home.homeDirectory = "$HOME";
|
||||
$xdgVars
|
||||
# This value determines the Home Manager release that your configuration is
|
||||
# compatible with. This helps avoid breakage when a new Home Manager release
|
||||
# introduces backwards incompatible changes.
|
||||
#
|
||||
# You should not change this value, even if you update Home Manager. If you do
|
||||
# want to update the value, then make sure to first check the Home Manager
|
||||
# release notes.
|
||||
home.stateVersion = "23.05"; # Please read the comment before changing.
|
||||
|
||||
# The home.packages option allows you to install Nix packages into your
|
||||
# environment.
|
||||
home.packages = [
|
||||
# # Adds the 'hello' command to your environment. It prints a friendly
|
||||
# # "Hello, world!" when run.
|
||||
# pkgs.hello
|
||||
|
||||
# # It is sometimes useful to fine-tune packages, for example, by applying
|
||||
# # overrides. You can do that directly here, just don't forget the
|
||||
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of
|
||||
# # fonts?
|
||||
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
|
||||
|
||||
# # You can also create simple shell scripts directly inside your
|
||||
# # configuration. For example, this adds a command 'my-hello' to your
|
||||
# # environment:
|
||||
# (pkgs.writeShellScriptBin "my-hello" ''
|
||||
# echo "Hello, \${config.home.username}!"
|
||||
# '')
|
||||
];
|
||||
|
||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||
# plain files is through 'home.file'.
|
||||
home.file = {
|
||||
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
|
||||
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
|
||||
# # symlink to the Nix store copy.
|
||||
# ".screenrc".source = dotfiles/screenrc;
|
||||
|
||||
# # You can also set the file content immediately.
|
||||
# ".gradle/gradle.properties".text = ''
|
||||
# org.gradle.console=verbose
|
||||
# org.gradle.daemon.idletimeout=3600000
|
||||
# '';
|
||||
};
|
||||
|
||||
# Home Manager can also manage your environment variables through
|
||||
# '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
|
||||
#
|
||||
# or
|
||||
#
|
||||
# /etc/profiles/per-user/$USER/etc/profile.d/hm-session-vars.sh
|
||||
#
|
||||
home.sessionVariables = {
|
||||
# EDITOR = "emacs";
|
||||
};
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
}
|
||||
EOF
|
||||
fi
|
||||
|
||||
if [[ ! -v withFlake ]]; then
|
||||
HOME_MANAGER_CONFIG="$confFile"
|
||||
else
|
||||
FLAKE_ARG="$confDir"
|
||||
|
||||
if [[ -e $flakeFile ]]; then
|
||||
_i 'The file %s already exists, leaving it unchanged...' "$flakeFile"
|
||||
else
|
||||
_i 'Creating %s...' "$flakeFile"
|
||||
|
||||
local nixSystem
|
||||
nixSystem=$(nix eval --expr builtins.currentSystem --raw --impure)
|
||||
|
||||
mkdir -p "$confDir"
|
||||
cat > "$flakeFile" <<EOF
|
||||
{
|
||||
description = "Home Manager configuration of $USER";
|
||||
|
||||
inputs = {
|
||||
# Specify the source of Home Manager and Nixpkgs.
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-23.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, home-manager, ... }:
|
||||
let
|
||||
system = "$nixSystem";
|
||||
pkgs = nixpkgs.legacyPackages.\${system};
|
||||
in {
|
||||
homeConfigurations."$USER" = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
|
||||
# Specify your home configuration modules here, for example,
|
||||
# the path to your home.nix.
|
||||
modules = [ ./home.nix ];
|
||||
|
||||
# Optionally use extraSpecialArgs
|
||||
# to pass through arguments to home.nix
|
||||
};
|
||||
};
|
||||
}
|
||||
EOF
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -v switch ]]; then
|
||||
echo
|
||||
_i "Creating initial Home Manager generation..."
|
||||
echo
|
||||
|
||||
if doSwitch; then
|
||||
# translators: The "%s" specifier will be replaced by a file path.
|
||||
_i $'All done! The home-manager tool should now be installed and you can edit\n\n %s\n\nto configure Home Manager. Run \'man home-configuration.nix\' to\nsee all available options.' \
|
||||
"$confFile"
|
||||
exit 0
|
||||
else
|
||||
# translators: The "%s" specifier will be replaced by a URL.
|
||||
_i $'Uh oh, the installation failed! Please create an issue at\n\n %s\n\nif the error seems to be the fault of Home Manager.' \
|
||||
"https://github.com/nix-community/home-manager/issues"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
function doInstantiate() {
|
||||
setFlakeAttribute
|
||||
if [[ -v FLAKE_CONFIG_URI ]]; then
|
||||
# translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
_i "Can't instantiate a flake configuration" >&2
|
||||
exit 1
|
||||
fi
|
||||
setConfigFile
|
||||
setHomeManagerNixPath
|
||||
|
||||
local extraArgs=()
|
||||
|
||||
@@ -185,7 +486,6 @@ function doInstantiate() {
|
||||
|
||||
function doBuildAttr() {
|
||||
setConfigFile
|
||||
setHomeManagerNixPath
|
||||
|
||||
local extraArgs=("$@")
|
||||
|
||||
@@ -243,7 +543,7 @@ function presentNews() {
|
||||
echo $'\n'"$msg"$'\n' >&2
|
||||
|
||||
if [[ -v DISPLAY ]] && type -P notify-send > /dev/null; then
|
||||
notify-send "Home Manager" "$msg"
|
||||
notify-send "Home Manager" "$msg" > /dev/null 2>&1 || true
|
||||
fi
|
||||
elif [[ "$newsDisplay" == "show" ]]; then
|
||||
doShowNews --unread
|
||||
@@ -282,6 +582,7 @@ function doBuild() {
|
||||
"$FLAKE_CONFIG_URI.activationPackage" \
|
||||
${DRY_RUN+--dry-run} \
|
||||
${NO_OUT_LINK+--no-link} \
|
||||
${PRINT_BUILD_LOGS+--print-build-logs} \
|
||||
|| return
|
||||
else
|
||||
doBuildAttr \
|
||||
@@ -312,6 +613,7 @@ function doSwitch() {
|
||||
doBuildFlake \
|
||||
"$FLAKE_CONFIG_URI.activationPackage" \
|
||||
--out-link "$generation" \
|
||||
${PRINT_BUILD_LOGS+--print-build-logs} \
|
||||
&& "$generation/activate" || return
|
||||
else
|
||||
doBuildAttr \
|
||||
@@ -327,13 +629,15 @@ function doSwitch() {
|
||||
}
|
||||
|
||||
function doListGens() {
|
||||
setHomeManagerPathVariables
|
||||
|
||||
# Whether to colorize the generations output.
|
||||
local color="never"
|
||||
if [[ ! -v NO_COLOR && -t 1 ]]; then
|
||||
color="always"
|
||||
fi
|
||||
|
||||
pushd "$NIX_STATE_DIR/profiles/per-user/$USER" > /dev/null
|
||||
pushd "$HM_PROFILE_DIR" > /dev/null
|
||||
# shellcheck disable=2012
|
||||
ls --color=$color -gG --time-style=long-iso --sort time home-manager-*-link \
|
||||
| cut -d' ' -f 4- \
|
||||
@@ -344,9 +648,10 @@ function doListGens() {
|
||||
# Removes linked generations. Takes as arguments identifiers of
|
||||
# generations to remove.
|
||||
function doRmGenerations() {
|
||||
setHomeManagerPathVariables
|
||||
setVerboseAndDryRun
|
||||
|
||||
pushd "$NIX_STATE_DIR/profiles/per-user/$USER" > /dev/null
|
||||
pushd "$HM_PROFILE_DIR" > /dev/null
|
||||
|
||||
for generationId in "$@"; do
|
||||
local linkName="home-manager-$generationId-link"
|
||||
@@ -364,17 +669,12 @@ function doRmGenerations() {
|
||||
popd > /dev/null
|
||||
}
|
||||
|
||||
function doRmAllGenerations() {
|
||||
$DRY_RUN_CMD rm $VERBOSE_ARG \
|
||||
"$NIX_STATE_DIR/profiles/per-user/$USER/home-manager"*
|
||||
}
|
||||
|
||||
function doExpireGenerations() {
|
||||
local profileDir="$NIX_STATE_DIR/profiles/per-user/$USER"
|
||||
setHomeManagerPathVariables
|
||||
|
||||
local generations
|
||||
generations="$( \
|
||||
find "$profileDir" -name 'home-manager-*-link' -not -newermt "$1" \
|
||||
find "$HM_PROFILE_DIR" -name 'home-manager-*-link' -not -newermt "$1" \
|
||||
| sed 's/^.*-\([0-9]*\)-link$/\1/' \
|
||||
)"
|
||||
|
||||
@@ -417,6 +717,13 @@ function newsReadIdsFile() {
|
||||
# put the output in the work directory to avoid the risk of an
|
||||
# unfortunately timed GC removing it.
|
||||
function buildNews() {
|
||||
setFlakeAttribute
|
||||
if [[ -v FLAKE_CONFIG_URI ]]; then
|
||||
# translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
_iError "Sorry, this command is not yet supported in flake setup" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
local output
|
||||
output="$WORK_DIR/news-info.sh"
|
||||
|
||||
@@ -463,6 +770,7 @@ function doShowNews() {
|
||||
}
|
||||
|
||||
function doUninstall() {
|
||||
setHomeManagerPathVariables
|
||||
setVerboseAndDryRun
|
||||
setNixProfileCommands
|
||||
|
||||
@@ -476,18 +784,34 @@ function doUninstall() {
|
||||
read -r -n 1 -p "$(_i 'Really uninstall Home Manager?') [y/n] " confirmation
|
||||
echo
|
||||
|
||||
# shellcheck disable=2086
|
||||
case $confirmation in
|
||||
y|Y)
|
||||
_i "Switching to empty Home Manager configuration..."
|
||||
HOME_MANAGER_CONFIG="$(mktemp --tmpdir home-manager.XXXXXXXXXX)"
|
||||
echo "{ lib, ... }: { home.file = lib.mkForce {}; }" > "$HOME_MANAGER_CONFIG"
|
||||
echo "{ lib, ... }: {" > "$HOME_MANAGER_CONFIG"
|
||||
echo " home.file = lib.mkForce {};" >> "$HOME_MANAGER_CONFIG"
|
||||
echo " home.stateVersion = \"18.09\";" >> "$HOME_MANAGER_CONFIG"
|
||||
echo "}" >> "$HOME_MANAGER_CONFIG"
|
||||
doSwitch
|
||||
$DRY_RUN_CMD $REMOVE_CMD home-manager-path || true
|
||||
rm "$HOME_MANAGER_CONFIG"
|
||||
$DRY_RUN_CMD rm $VERBOSE_ARG -r \
|
||||
"${XDG_DATA_HOME:-$HOME/.local/share}/home-manager"
|
||||
$DRY_RUN_CMD rm $VERBOSE_ARG \
|
||||
"$NIX_STATE_DIR/gcroots/per-user/$USER/current-home"
|
||||
|
||||
if [[ -e $HM_DATA_HOME ]]; then
|
||||
$DRY_RUN_CMD rm $VERBOSE_ARG -r "$HM_DATA_HOME"
|
||||
fi
|
||||
|
||||
if [[ -e $HM_STATE_DIR ]]; then
|
||||
$DRY_RUN_CMD rm $VERBOSE_ARG -r "$HM_STATE_DIR"
|
||||
fi
|
||||
|
||||
if [[ -e $HM_PROFILE_DIR ]]; then
|
||||
$DRY_RUN_CMD rm $VERBOSE_ARG "$HM_PROFILE_DIR/home-manager"*
|
||||
fi
|
||||
|
||||
if [[ -e $HM_GCROOT_LEGACY_PATH ]]; then
|
||||
$DRY_RUN_CMD rm $VERBOSE_ARG "$HM_GCROOT_LEGACY_PATH"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
_i "Yay!"
|
||||
@@ -495,22 +819,6 @@ function doUninstall() {
|
||||
;;
|
||||
esac
|
||||
|
||||
local deleteProfiles
|
||||
read -r -n 1 \
|
||||
-p "$(_i 'Remove all Home Manager generations?') [y/n] " \
|
||||
deleteProfiles
|
||||
echo
|
||||
|
||||
case $deleteProfiles in
|
||||
y|Y)
|
||||
doRmAllGenerations
|
||||
_i 'All generations are now eligible for garbage collection.'
|
||||
;;
|
||||
*)
|
||||
_i 'Leaving generations but they may still be garbage collected.'
|
||||
;;
|
||||
esac
|
||||
|
||||
_i "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
}
|
||||
|
||||
@@ -525,6 +833,7 @@ function doHelp() {
|
||||
echo " expression in the configuration file."
|
||||
echo " -I PATH Add a path to the Nix expression search path."
|
||||
echo " --flake flake-uri Use Home Manager configuration at flake-uri"
|
||||
echo " Default is '~/.config/home-manager'."
|
||||
echo " -b EXT Move existing files to new path rather than fail."
|
||||
echo " -v Verbose output"
|
||||
echo " -n Do a dry run, only prints what actions would be taken"
|
||||
@@ -541,11 +850,13 @@ function doHelp() {
|
||||
echo " --keep-going"
|
||||
echo " -j, --max-jobs NUM"
|
||||
echo " --option NAME VALUE"
|
||||
echo " -L, --print-build-logs"
|
||||
echo " --show-trace"
|
||||
echo " --(no-)substitute"
|
||||
echo " --no-out-link Do not create a symlink to the output path"
|
||||
echo " --no-write-lock-file"
|
||||
echo " --builders VALUE"
|
||||
echo " --refresh Consider all previously downloaded files out-of-date"
|
||||
echo
|
||||
echo "Commands"
|
||||
echo
|
||||
@@ -558,6 +869,13 @@ function doHelp() {
|
||||
echo
|
||||
echo " build Build configuration into result directory"
|
||||
echo
|
||||
echo " init [--switch] [DIR]"
|
||||
echo " Initializes a configuration in the given directory. If the directory"
|
||||
echo " does not exist, then it will be created. The default directory is"
|
||||
echo " '~/.config/home-manager'."
|
||||
echo
|
||||
echo " --switch Immediately activate the generated configuration."
|
||||
echo
|
||||
echo " instantiate Instantiate the configuration and print the resulting derivation"
|
||||
echo
|
||||
echo " switch Build and activate configuration"
|
||||
@@ -580,8 +898,6 @@ function doHelp() {
|
||||
echo " uninstall Remove Home Manager"
|
||||
}
|
||||
|
||||
readonly NIX_STATE_DIR="${NIX_STATE_DIR:-/nix/var/nix}"
|
||||
|
||||
EXTRA_NIX_PATH=()
|
||||
HOME_MANAGER_CONFIG_ATTRIBUTE=""
|
||||
PASSTHROUGH_OPTS=()
|
||||
@@ -593,7 +909,7 @@ while [[ $# -gt 0 ]]; do
|
||||
opt="$1"
|
||||
shift
|
||||
case $opt in
|
||||
build|instantiate|option|edit|expire-generations|generations|help|news|packages|remove-generations|switch|uninstall)
|
||||
build|init|instantiate|option|edit|expire-generations|generations|help|news|packages|remove-generations|switch|uninstall)
|
||||
COMMAND="$opt"
|
||||
;;
|
||||
-A)
|
||||
@@ -616,7 +932,7 @@ while [[ $# -gt 0 ]]; do
|
||||
FLAKE_ARG="$1"
|
||||
shift
|
||||
;;
|
||||
--recreate-lock-file|--no-update-lock-file|--no-write-lock-file|--no-registries|--commit-lock-file)
|
||||
--recreate-lock-file|--no-update-lock-file|--no-write-lock-file|--no-registries|--commit-lock-file|--refresh)
|
||||
PASSTHROUGH_OPTS+=("$opt")
|
||||
;;
|
||||
--update-input)
|
||||
@@ -638,6 +954,9 @@ while [[ $# -gt 0 ]]; do
|
||||
--no-out-link)
|
||||
NO_OUT_LINK=1
|
||||
;;
|
||||
-L|--print-build-logs)
|
||||
PRINT_BUILD_LOGS=1
|
||||
;;
|
||||
-h|--help)
|
||||
doHelp
|
||||
exit 0
|
||||
@@ -661,12 +980,12 @@ while [[ $# -gt 0 ]]; do
|
||||
export VERBOSE=1
|
||||
;;
|
||||
--version)
|
||||
echo 22.05
|
||||
echo 23.05
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
case $COMMAND in
|
||||
expire-generations|remove-generations|option)
|
||||
init|expire-generations|remove-generations|option)
|
||||
COMMAND_ARGS+=("$opt")
|
||||
;;
|
||||
*)
|
||||
@@ -679,6 +998,8 @@ while [[ $# -gt 0 ]]; do
|
||||
esac
|
||||
done
|
||||
|
||||
setHomeManagerNixPath
|
||||
|
||||
if [[ -z $COMMAND ]]; then
|
||||
doHelp >&2
|
||||
exit 1
|
||||
@@ -691,6 +1012,9 @@ case $COMMAND in
|
||||
build)
|
||||
doBuild
|
||||
;;
|
||||
init)
|
||||
doInit "${COMMAND_ARGS[@]}"
|
||||
;;
|
||||
instantiate)
|
||||
doInstantiate
|
||||
;;
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
{ pkgs ? import <nixpkgs> {}
|
||||
, confPath
|
||||
, confAttr ? null
|
||||
, check ? true
|
||||
, newsReadIdsFile ? null
|
||||
}:
|
||||
{ pkgs ? import <nixpkgs> { }, confPath, confAttr ? null, check ? true
|
||||
, newsReadIdsFile ? null }:
|
||||
|
||||
let
|
||||
inherit (pkgs.lib)
|
||||
@@ -11,68 +7,58 @@ let
|
||||
replaceStrings splitString;
|
||||
|
||||
env = import ../modules {
|
||||
configuration =
|
||||
if confAttr == "" || confAttr == null
|
||||
then confPath
|
||||
else (import confPath).${confAttr};
|
||||
configuration = if confAttr == "" || confAttr == null then
|
||||
confPath
|
||||
else
|
||||
(import confPath).${confAttr};
|
||||
pkgs = pkgs;
|
||||
check = check;
|
||||
};
|
||||
|
||||
newsReadIds =
|
||||
if newsReadIdsFile == null
|
||||
then {}
|
||||
else
|
||||
let
|
||||
ids = splitString "\n" (fileContents newsReadIdsFile);
|
||||
in
|
||||
builtins.listToAttrs (map (id: { name = id; value = null; }) ids);
|
||||
newsReadIds = if newsReadIdsFile == null then
|
||||
{ }
|
||||
else
|
||||
let ids = splitString "\n" (fileContents newsReadIdsFile);
|
||||
in builtins.listToAttrs (map (id: {
|
||||
name = id;
|
||||
value = null;
|
||||
}) ids);
|
||||
|
||||
newsIsRead = entry: builtins.hasAttr entry.id newsReadIds;
|
||||
|
||||
newsFiltered =
|
||||
let
|
||||
pred = entry: entry.condition && ! newsIsRead entry;
|
||||
in
|
||||
filter pred env.newsEntries;
|
||||
newsFiltered = let pred = entry: entry.condition && !newsIsRead entry;
|
||||
in filter pred env.newsEntries;
|
||||
|
||||
newsNumUnread = length newsFiltered;
|
||||
|
||||
newsFileUnread = pkgs.writeText "news-unread.txt" (
|
||||
concatMapStringsSep "\n\n" (entry:
|
||||
newsFileUnread = pkgs.writeText "news-unread.txt" (concatMapStringsSep "\n\n"
|
||||
(entry:
|
||||
let
|
||||
time = replaceStrings ["T"] [" "] (removeSuffix "+00:00" entry.time);
|
||||
in
|
||||
''
|
||||
* ${time}
|
||||
time =
|
||||
replaceStrings [ "T" ] [ " " ] (removeSuffix "+00:00" entry.time);
|
||||
in ''
|
||||
* ${time}
|
||||
|
||||
${replaceStrings ["\n"] ["\n "] entry.message}
|
||||
''
|
||||
) newsFiltered
|
||||
);
|
||||
${replaceStrings [ "\n" ] [ "\n " ] entry.message}
|
||||
'') newsFiltered);
|
||||
|
||||
newsFileAll = pkgs.writeText "news-all.txt" (
|
||||
concatMapStringsSep "\n\n" (entry:
|
||||
newsFileAll = pkgs.writeText "news-all.txt" (concatMapStringsSep "\n\n"
|
||||
(entry:
|
||||
let
|
||||
flag = if newsIsRead entry then "read" else "unread";
|
||||
time = replaceStrings ["T"] [" "] (removeSuffix "+00:00" entry.time);
|
||||
in
|
||||
''
|
||||
* ${time} [${flag}]
|
||||
time =
|
||||
replaceStrings [ "T" ] [ " " ] (removeSuffix "+00:00" entry.time);
|
||||
in ''
|
||||
* ${time} [${flag}]
|
||||
|
||||
${replaceStrings ["\n"] ["\n "] entry.message}
|
||||
''
|
||||
) env.newsEntries
|
||||
);
|
||||
${replaceStrings [ "\n" ] [ "\n " ] entry.message}
|
||||
'') env.newsEntries);
|
||||
|
||||
# File where each line corresponds to an unread news entry
|
||||
# identifier. If non-empty then the file ends in "\n".
|
||||
newsUnreadIdsFile = pkgs.writeText "news-unread-ids" (
|
||||
let
|
||||
text = concatMapStringsSep "\n" (entry: entry.id) newsFiltered;
|
||||
in
|
||||
text + optionalString (text != "") "\n"
|
||||
);
|
||||
newsUnreadIdsFile = pkgs.writeText "news-unread-ids"
|
||||
(let text = concatMapStringsSep "\n" (entry: entry.id) newsFiltered;
|
||||
in text + optionalString (text != "") "\n");
|
||||
|
||||
newsInfo = pkgs.writeText "news-info.sh" ''
|
||||
local newsNumUnread=${toString newsNumUnread}
|
||||
@@ -82,8 +68,7 @@ let
|
||||
local newsUnreadIdsFile="${newsUnreadIdsFile}"
|
||||
'';
|
||||
|
||||
in
|
||||
{
|
||||
inherit (env) activationPackage;
|
||||
inherit newsInfo;
|
||||
}
|
||||
in {
|
||||
inherit (env) activationPackage;
|
||||
inherit newsInfo;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ home-manager, gettext, runCommand, ncurses }:
|
||||
{ home-manager, runCommand }:
|
||||
|
||||
let
|
||||
|
||||
@@ -9,75 +9,10 @@ let
|
||||
'';
|
||||
|
||||
in runCommand "home-manager-install" {
|
||||
propagatedBuildInputs = [ home-manager gettext ncurses ];
|
||||
propagatedBuildInputs = [ home-manager ];
|
||||
preferLocalBuild = true;
|
||||
shellHookOnly = true;
|
||||
shellHook = ''
|
||||
${hmBashLibInit}
|
||||
|
||||
confFile="''${XDG_CONFIG_HOME:-$HOME/.config}/nixpkgs/home.nix"
|
||||
|
||||
if [[ ! -e $confFile ]]; then
|
||||
echo
|
||||
_i "Creating initial Home Manager configuration..."
|
||||
|
||||
nl=$'\n'
|
||||
xdgVars=""
|
||||
if [[ -v XDG_CACHE_HOME && $XDG_CACHE_HOME != "$HOME/.cache" ]]; then
|
||||
xdgVars="$xdgVars xdg.cacheHome = \"$XDG_CACHE_HOME\";$nl"
|
||||
fi
|
||||
if [[ -v XDG_CONFIG_HOME && $XDG_CONFIG_HOME != "$HOME/.config" ]]; then
|
||||
xdgVars="$xdgVars xdg.configHome = \"$XDG_CONFIG_HOME\";$nl"
|
||||
fi
|
||||
if [[ -v XDG_DATA_HOME && $XDG_DATA_HOME != "$HOME/.local/share" ]]; then
|
||||
xdgVars="$xdgVars xdg.dataHome = \"$XDG_DATA_HOME\";$nl"
|
||||
fi
|
||||
if [[ -v XDG_STATE_HOME && $XDG_STATE_HOME != "$HOME/.local/state" ]]; then
|
||||
xdgVars="$xdgVars xdg.stateHome = \"$XDG_STATE_HOME\";$nl"
|
||||
fi
|
||||
|
||||
mkdir -p "$(dirname "$confFile")"
|
||||
cat > $confFile <<EOF
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Home Manager needs a bit of information about you and the
|
||||
# paths it should manage.
|
||||
home.username = "$USER";
|
||||
home.homeDirectory = "$HOME";
|
||||
$xdgVars
|
||||
# This value determines the Home Manager release that your
|
||||
# configuration is compatible with. This helps avoid breakage
|
||||
# when a new Home Manager release introduces backwards
|
||||
# incompatible changes.
|
||||
#
|
||||
# You can update Home Manager without changing this value. See
|
||||
# the Home Manager release notes for a list of state version
|
||||
# changes in each release.
|
||||
home.stateVersion = "22.05";
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
}
|
||||
EOF
|
||||
fi
|
||||
|
||||
echo
|
||||
_i "Creating initial Home Manager generation..."
|
||||
echo
|
||||
|
||||
if home-manager switch ; then
|
||||
# translators: The "%s" specifier will be replaced by a file path.
|
||||
_i $'All done! The home-manager tool should now be installed and you can edit\n\n %s\n\nto configure Home Manager. Run \'man home-configuration.nix\' to\nsee all available options.' \
|
||||
"$confFile"
|
||||
exit 0
|
||||
else
|
||||
# translators: The "%s" specifier will be replaced by a URL.
|
||||
_i $'Uh oh, the installation failed! Please create an issue at\n\n %s\n\nif the error seems to be the fault of Home Manager.' \
|
||||
"https://github.com/nix-community/home-manager/issues"
|
||||
exit 1
|
||||
fi
|
||||
'';
|
||||
shellHook = "exec ${home-manager}/bin/home-manager init --switch --no-flake";
|
||||
} ''
|
||||
${hmBashLibInit}
|
||||
_iError 'This derivation is not buildable, please run it using nix-shell.'
|
||||
|
||||
219
home-manager/po/ca.po
Normal file
219
home-manager/po/ca.po
Normal file
@@ -0,0 +1,219 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR Home Manager contributors
|
||||
# This file is distributed under the same license as the Home Manager package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Home Manager\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
||||
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
||||
"PO-Revision-Date: 2023-04-23 12:49+0000\n"
|
||||
"Last-Translator: Leix b <abone9999@gmail.com>\n"
|
||||
"Language-Team: Catalan <https://hosted.weblate.org/projects/home-manager/cli/"
|
||||
"ca/>\n"
|
||||
"Language: ca\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.18-dev\n"
|
||||
|
||||
#: home-manager/home-manager:71
|
||||
msgid "No configuration file found at %s"
|
||||
msgstr "No s'ha trobat cap fitxer de configuració a %s"
|
||||
|
||||
#. translators: The first '%s' specifier will be replaced by either
|
||||
#. 'home.nix' or 'flake.nix'.
|
||||
#: home-manager/home-manager:88 home-manager/home-manager:92
|
||||
#: home-manager/home-manager:154
|
||||
msgid ""
|
||||
"Keeping your Home Manager %s in %s is deprecated,\n"
|
||||
"please move it to %s"
|
||||
msgstr ""
|
||||
"Mantenir el teu Home Manager %s a %s està obsolet,\n"
|
||||
"si us plau mou-lo a %s"
|
||||
|
||||
#: home-manager/home-manager:99
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr "No s'ha trobat cap fitxer de configuració. Si us plau, creeu un a %s"
|
||||
|
||||
#: home-manager/home-manager:136
|
||||
msgid "Could not find suitable profile directory, tried %s and %s"
|
||||
msgstr ""
|
||||
"No s'ha pogut trobar un directori de perfils adequat, s'ha provat %s i %s"
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:191
|
||||
msgid "Can't inspect options of a flake configuration"
|
||||
msgstr "No s'han pogut inspeccionar les opcions de configuració de flake"
|
||||
|
||||
#: home-manager/home-manager:253 home-manager/home-manager:276
|
||||
#: home-manager/home-manager:973
|
||||
msgid "%s: unknown option '%s'"
|
||||
msgstr "%: opció desconeguda '%s'"
|
||||
|
||||
#: home-manager/home-manager:258 home-manager/home-manager:974
|
||||
msgid "Run '%s --help' for usage help"
|
||||
msgstr "Executa '%s --help' per veure l'ajuda d'ús"
|
||||
|
||||
#: home-manager/home-manager:284 home-manager/home-manager:383
|
||||
msgid "The file %s already exists, leaving it unchanged..."
|
||||
msgstr "El fitxer %s ja existeix, deixant sense modificar..."
|
||||
|
||||
#: home-manager/home-manager:286 home-manager/home-manager:385
|
||||
msgid "Creating %s..."
|
||||
msgstr "Creant %s..."
|
||||
|
||||
#: home-manager/home-manager:427
|
||||
msgid "Creating initial Home Manager generation..."
|
||||
msgstr "Creant generació inicial de Home Manager..."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a file path.
|
||||
#: home-manager/home-manager:432
|
||||
msgid ""
|
||||
"All done! The home-manager tool should now be installed and you can edit\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"to configure Home Manager. Run 'man home-configuration.nix' to\n"
|
||||
"see all available options."
|
||||
msgstr ""
|
||||
"Tot fet! L'eina home-manager hauria de estar instal·lada i pots editar\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"per a configurar Home Manager. Executa 'man home-configuration.nix' per\n"
|
||||
"a veure totes les opcions disponibles."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a URL.
|
||||
#: home-manager/home-manager:437
|
||||
msgid ""
|
||||
"Uh oh, the installation failed! Please create an issue at\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"if the error seems to be the fault of Home Manager."
|
||||
msgstr ""
|
||||
"Uh oh, la instal·lació ha fallat! Si us plau, notifica-ho a\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"si l'error sembla culpa de Home Manager."
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:448
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "No es pot instanciar una configuració flake"
|
||||
|
||||
#: home-manager/home-manager:521
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"Hi ha %d notícia rellevant no llegida.\n"
|
||||
"Llegeix-la executant la comanda \"%s news\"."
|
||||
msgstr[1] ""
|
||||
"Hi han %d notícies rellevants no llegides.\n"
|
||||
"Llegeix-les executant la comanda \"%s news\"."
|
||||
|
||||
#: home-manager/home-manager:535
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Configuració \"news.display\" no reconeguda \"%s\"."
|
||||
|
||||
#: home-manager/home-manager:542
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Si us plau, defineix la variable d'entorn $EDITOR"
|
||||
|
||||
#: home-manager/home-manager:557
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "Impossible executar la compilació en un directori només lectura"
|
||||
|
||||
#: home-manager/home-manager:641
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "No existeix la generació amb ID %s"
|
||||
|
||||
#: home-manager/home-manager:643
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "Impossible eliminar la generació actual %s"
|
||||
|
||||
#: home-manager/home-manager:645
|
||||
msgid "Removing generation %s"
|
||||
msgstr "Eliminant la generació %s"
|
||||
|
||||
#: home-manager/home-manager:664
|
||||
msgid "No generations to expire"
|
||||
msgstr "No s'han trobat generacions a expirar"
|
||||
|
||||
#: home-manager/home-manager:675
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "Cap paquet home-manager sembla estar instal·lat."
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:702
|
||||
msgid "Sorry, this command is not yet supported in flake setup"
|
||||
msgstr ""
|
||||
"Ho sentim, aquesta comanda encara no està suportada en la configuració de "
|
||||
"flake"
|
||||
|
||||
#: home-manager/home-manager:739
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Argument desconegut %s"
|
||||
|
||||
#: home-manager/home-manager:755
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "Home Manager serà esborrat del sistema."
|
||||
|
||||
#: home-manager/home-manager:758
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "Això és un simulacre, res serà realment desinstal·lat."
|
||||
|
||||
#: home-manager/home-manager:762
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Estàs segur que vols desinstal·lar Home Manager?"
|
||||
|
||||
#: home-manager/home-manager:768
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Canviant a configuració buida de Home Manager..."
|
||||
|
||||
#: home-manager/home-manager:795
|
||||
msgid "Yay!"
|
||||
msgstr "Visca!"
|
||||
|
||||
#: home-manager/home-manager:800
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr ""
|
||||
"Home Manager ha estat desinstal·lat però el vostre home.nix es manté intacte."
|
||||
|
||||
#: home-manager/home-manager:1011
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations espera un argument, obtinguts %d."
|
||||
|
||||
#: home-manager/home-manager:1033
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Comanda desconeguda: %s"
|
||||
|
||||
#: home-manager/install.nix:18
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
msgstr ""
|
||||
"Aquesta derivació no es pot construir, si us plau executa-la utilitzant nix-"
|
||||
"shell."
|
||||
|
||||
#~ msgid "Creating initial Home Manager configuration..."
|
||||
#~ msgstr "Creant configuració inicial de Home Manager..."
|
||||
|
||||
#~ msgid "Remove all Home Manager generations?"
|
||||
#~ msgstr "Eliminar totes les generacions de Home Manager?"
|
||||
|
||||
#~ msgid "All generations are now eligible for garbage collection."
|
||||
#~ msgstr ""
|
||||
#~ "Totes les generacions són ara candidates per a la recol·lecció de brossa."
|
||||
|
||||
#~ msgid "Leaving generations but they may still be garbage collected."
|
||||
#~ msgstr ""
|
||||
#~ "Deixant generacions, però aquestes encara poden ser esborrades pel "
|
||||
#~ "recol·lector de brossa."
|
||||
213
home-manager/po/da.po
Normal file
213
home-manager/po/da.po
Normal file
@@ -0,0 +1,213 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR Home Manager contributors
|
||||
# This file is distributed under the same license as the Home Manager package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Home Manager\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
||||
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
||||
"PO-Revision-Date: 2022-09-19 18:22+0000\n"
|
||||
"Last-Translator: cafkafk <christina@cafkafk.com>\n"
|
||||
"Language-Team: Danish <https://hosted.weblate.org/projects/home-manager/cli/"
|
||||
"da/>\n"
|
||||
"Language: da\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.14.1\n"
|
||||
|
||||
#: home-manager/home-manager:71
|
||||
msgid "No configuration file found at %s"
|
||||
msgstr "Ingen konfigurationsfiler fundet ved %s"
|
||||
|
||||
#. translators: The first '%s' specifier will be replaced by either
|
||||
#. 'home.nix' or 'flake.nix'.
|
||||
#: home-manager/home-manager:88 home-manager/home-manager:92
|
||||
#: home-manager/home-manager:154
|
||||
msgid ""
|
||||
"Keeping your Home Manager %s in %s is deprecated,\n"
|
||||
"please move it to %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:99
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr "Ingen konfigurationsfiler fundet. Venligst lav en ved %s"
|
||||
|
||||
#: home-manager/home-manager:136
|
||||
msgid "Could not find suitable profile directory, tried %s and %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:191
|
||||
msgid "Can't inspect options of a flake configuration"
|
||||
msgstr "Kan ikke inspicere indstillinger af en flake konfiguration"
|
||||
|
||||
#: home-manager/home-manager:253 home-manager/home-manager:276
|
||||
#: home-manager/home-manager:973
|
||||
msgid "%s: unknown option '%s'"
|
||||
msgstr "%s: ukendt indstilling '%s'"
|
||||
|
||||
#: home-manager/home-manager:258 home-manager/home-manager:974
|
||||
msgid "Run '%s --help' for usage help"
|
||||
msgstr "Kør '%s --help' for brugsvejledning"
|
||||
|
||||
#: home-manager/home-manager:284 home-manager/home-manager:383
|
||||
msgid "The file %s already exists, leaving it unchanged..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:286 home-manager/home-manager:385
|
||||
msgid "Creating %s..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:427
|
||||
msgid "Creating initial Home Manager generation..."
|
||||
msgstr "Laver initial Home Manager generation..."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a file path.
|
||||
#: home-manager/home-manager:432
|
||||
msgid ""
|
||||
"All done! The home-manager tool should now be installed and you can edit\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"to configure Home Manager. Run 'man home-configuration.nix' to\n"
|
||||
"see all available options."
|
||||
msgstr ""
|
||||
"Alt er færdigt! Home-manager værktøjet burde nu være installeret, og du kan "
|
||||
"ændre\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
" \n"
|
||||
"For at konfigurere Home Manager. Kør 'man home-configuration.nix' for at \n"
|
||||
"se alle de mulige indstillinger."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a URL.
|
||||
#: home-manager/home-manager:437
|
||||
msgid ""
|
||||
"Uh oh, the installation failed! Please create an issue at\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"if the error seems to be the fault of Home Manager."
|
||||
msgstr ""
|
||||
"Åh nej, installationen fejlede! Venligst opret en fejlrapport ved\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
" \n"
|
||||
"hvis fejlen fremstår som forskyldt af Home Manager."
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:448
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "Kan ikke instantiere en flake konfiguration"
|
||||
|
||||
#: home-manager/home-manager:521
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"Der er %d ulæst og relavante nyheder.\n"
|
||||
"Læs den ved at køre \"%s news\"."
|
||||
msgstr[1] ""
|
||||
"Der er %d ulæste og relavante nyheder.\n"
|
||||
"Læs dem ved at køre \"%s news\"."
|
||||
|
||||
#: home-manager/home-manager:535
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Ubekændt \"news.display\" indstilling \"%s\"."
|
||||
|
||||
#: home-manager/home-manager:542
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Venligst sæt $EDITOR miljøvariablen"
|
||||
|
||||
#: home-manager/home-manager:557
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "Kan ikke bygge i en læs-kun folder"
|
||||
|
||||
#: home-manager/home-manager:641
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "Ingen generation med ID %s"
|
||||
|
||||
#: home-manager/home-manager:643
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "Kan ikke fjerne den nuværende generation %s"
|
||||
|
||||
#: home-manager/home-manager:645
|
||||
msgid "Removing generation %s"
|
||||
msgstr "Fjern generation %s"
|
||||
|
||||
#: home-manager/home-manager:664
|
||||
msgid "No generations to expire"
|
||||
msgstr "Ingen generationer som skal udløbes"
|
||||
|
||||
#: home-manager/home-manager:675
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr ""
|
||||
"Det virker ikke som om der er nogle home-manager pakker der er installeret."
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:702
|
||||
msgid "Sorry, this command is not yet supported in flake setup"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:739
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Ubekendt argument %s"
|
||||
|
||||
#: home-manager/home-manager:755
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "Dette vil fjerne Home Manager fra dit system."
|
||||
|
||||
#: home-manager/home-manager:758
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "Dette er en tør kørsel, intet vil rent faktisk blive uinstalleret."
|
||||
|
||||
#: home-manager/home-manager:762
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Virkelig uinstaller Home Manager?"
|
||||
|
||||
#: home-manager/home-manager:768
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Skifter til tom Home Manager konfiguration..."
|
||||
|
||||
#: home-manager/home-manager:795
|
||||
msgid "Yay!"
|
||||
msgstr "Juhuu!"
|
||||
|
||||
#: home-manager/home-manager:800
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr ""
|
||||
"Home Manager bliver uinstalleret, men din home.nix bliver forladt uberørt."
|
||||
|
||||
#: home-manager/home-manager:1011
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations forventer et argument, fik %d."
|
||||
|
||||
#: home-manager/home-manager:1033
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Ubekendt kommando: %s"
|
||||
|
||||
#: home-manager/install.nix:18
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
msgstr "Denne derivation er ikke bygbar, venligst kør den gennem nix-shell."
|
||||
|
||||
#~ msgid "Creating initial Home Manager configuration..."
|
||||
#~ msgstr "Laver initial Home Manager konfiguration..."
|
||||
|
||||
#~ msgid "Remove all Home Manager generations?"
|
||||
#~ msgstr "Fjern alle Home Manager generationer?"
|
||||
|
||||
#~ msgid "All generations are now eligible for garbage collection."
|
||||
#~ msgstr "Alle generationer kan nu blive tjekket for overflødige filer."
|
||||
|
||||
#~ msgid "Leaving generations but they may still be garbage collected."
|
||||
#~ msgstr ""
|
||||
#~ "Forlad generationer, men de kan stadig bliver fjernet som overflødige "
|
||||
#~ "filer."
|
||||
@@ -7,9 +7,9 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Home Manager\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
||||
"POT-Creation-Date: 2022-03-26 15:08+0100\n"
|
||||
"PO-Revision-Date: 2022-03-23 18:56+0000\n"
|
||||
"Last-Translator: Manu [tennox] <tennox@posteo.de>\n"
|
||||
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
||||
"PO-Revision-Date: 2023-05-13 06:48+0000\n"
|
||||
"Last-Translator: Reiner Gerecke <me@reinergerecke.de>\n"
|
||||
"Language-Team: German <https://hosted.weblate.org/projects/home-manager/cli/"
|
||||
"de/>\n"
|
||||
"Language: de\n"
|
||||
@@ -17,141 +17,59 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\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:60
|
||||
#: home-manager/home-manager:71
|
||||
msgid "No configuration file found at %s"
|
||||
msgstr "Keine Konfigurationsdatei unter %s gefunden"
|
||||
|
||||
#: home-manager/home-manager:79
|
||||
#. translators: The first '%s' specifier will be replaced by either
|
||||
#. 'home.nix' or 'flake.nix'.
|
||||
#: home-manager/home-manager:88 home-manager/home-manager:92
|
||||
#: home-manager/home-manager:154
|
||||
msgid ""
|
||||
"Keeping your Home Manager %s in %s is deprecated,\n"
|
||||
"please move it to %s"
|
||||
msgstr ""
|
||||
"Die Aufbewahrung der Home Manager %s in %s ist veraltet,\n"
|
||||
"bitte verschiebe es nach %s"
|
||||
|
||||
#: home-manager/home-manager:99
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr "Keine Konfigurationsdatei gefunden. Bitte erstellen Sie eine unter %s"
|
||||
|
||||
#: home-manager/home-manager:122
|
||||
#: home-manager/home-manager:136
|
||||
msgid "Could not find suitable profile directory, tried %s and %s"
|
||||
msgstr "Kein passendes Profil-Verzeichnis gefunden. Versuchte %s und %s"
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:191
|
||||
msgid "Can't inspect options of a flake configuration"
|
||||
msgstr ""
|
||||
"Die Optionen einer Flake-Konfigurationen können nicht inspizieren werden"
|
||||
msgstr "Die Optionen einer Flake-Konfiguration können nicht inspiziert werden"
|
||||
|
||||
#: home-manager/home-manager:162
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "Kann eine Flake-Konfiguration nicht instanziieren"
|
||||
|
||||
#: home-manager/home-manager:237
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"Es gibt eine ungelesene und relevante Nachricht.\n"
|
||||
"Lesen Sie sie, indem Sie den Befehl \"%s news\" ausführen."
|
||||
msgstr[1] ""
|
||||
"Es gibt %d ungelesene und relevante Nachrichten.\n"
|
||||
"Lesen Sie sie, indem Sie den Befehl \"%s news\" ausführen."
|
||||
|
||||
#: home-manager/home-manager:251
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Unbekannte \"news.display\" Einstellung \"%s\"."
|
||||
|
||||
#: home-manager/home-manager:258
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Bitte legen Sie die $EDITOR Variable fest"
|
||||
|
||||
#: home-manager/home-manager:273
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "Build kann nicht im schreibgeschützten Ordner ausgeführt werden"
|
||||
|
||||
#: home-manager/home-manager:355
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "Keine Generation mit ID %s"
|
||||
|
||||
#: home-manager/home-manager:357
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "Die jetzige Generation %s kann nicht entfernt werden"
|
||||
|
||||
#: home-manager/home-manager:359
|
||||
msgid "Removing generation %s"
|
||||
msgstr "Entferne Generation %s"
|
||||
|
||||
#: home-manager/home-manager:385
|
||||
msgid "No generations to expire"
|
||||
msgstr "Keine ablaufenden Generationen"
|
||||
|
||||
#: home-manager/home-manager:396
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "Es scheint, als ob keine Home Manager Pakete installiert sind."
|
||||
|
||||
#: home-manager/home-manager:453
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Unbekannte Argumente %s"
|
||||
|
||||
#: home-manager/home-manager:469
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "Dies wird Home Manager von Ihrem System entfernen."
|
||||
|
||||
#: home-manager/home-manager:472
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "Dies ist ein Probelauf, es wird nichts vom System deinstalliert."
|
||||
|
||||
#: home-manager/home-manager:476
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Möchten Sie wirklich Home Manager deinstallieren?"
|
||||
|
||||
#: home-manager/home-manager:481
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Wechsle zu einer leeren Home Manager Konfiguration..."
|
||||
|
||||
#: home-manager/home-manager:493
|
||||
msgid "Yay!"
|
||||
msgstr "Juhu!"
|
||||
|
||||
#: home-manager/home-manager:500
|
||||
msgid "Remove all Home Manager generations?"
|
||||
msgstr "Entferne alle Home Manager Generationen?"
|
||||
|
||||
#: home-manager/home-manager:507
|
||||
msgid "All generations are now eligible for garbage collection."
|
||||
msgstr "Alle Generationen kommen nun für die Garbage Collection in Frage."
|
||||
|
||||
#: home-manager/home-manager:510
|
||||
msgid "Leaving generations but they may still be garbage collected."
|
||||
msgstr ""
|
||||
"Ignoriere Generationen, aber diese könnten immer noch mittels des Garbage "
|
||||
"Collectors aufgeräumt werden."
|
||||
|
||||
#: home-manager/home-manager:514
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr ""
|
||||
"Home Manager ist installiert, aber Ihre home.nix Datei bleibt unberührt."
|
||||
|
||||
#: home-manager/home-manager:673
|
||||
#: home-manager/home-manager:253 home-manager/home-manager:276
|
||||
#: home-manager/home-manager:973
|
||||
msgid "%s: unknown option '%s'"
|
||||
msgstr "%s: unbekannte Option '%s'"
|
||||
|
||||
#: home-manager/home-manager:674
|
||||
#: home-manager/home-manager:258 home-manager/home-manager:974
|
||||
msgid "Run '%s --help' for usage help"
|
||||
msgstr "Führe '%s --help' aus, um Hilfe zur Verwendung zu erhalten"
|
||||
|
||||
#: home-manager/home-manager:708
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations erwartet ein Argument, hat aber %d erhalten."
|
||||
#: home-manager/home-manager:284 home-manager/home-manager:383
|
||||
msgid "The file %s already exists, leaving it unchanged..."
|
||||
msgstr "Die Datei %s existiert bereits, sie bleibt unverändert..."
|
||||
|
||||
#: home-manager/home-manager:730
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Unbekannter Befehl: %s"
|
||||
#: home-manager/home-manager:286 home-manager/home-manager:385
|
||||
msgid "Creating %s..."
|
||||
msgstr "Erstelle %s..."
|
||||
|
||||
#: home-manager/install.nix:22
|
||||
msgid "Creating initial Home Manager configuration..."
|
||||
msgstr "Erstelle initiale Home Manager Konfiguration..."
|
||||
|
||||
#: home-manager/install.nix:66
|
||||
#: home-manager/home-manager:427
|
||||
msgid "Creating initial Home Manager generation..."
|
||||
msgstr "Erstelle initiale Home Manager Generation..."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a file path.
|
||||
#: home-manager/install.nix:71
|
||||
#: home-manager/home-manager:432
|
||||
msgid ""
|
||||
"All done! The home-manager tool should now be installed and you can edit\n"
|
||||
"\n"
|
||||
@@ -169,7 +87,7 @@ msgstr ""
|
||||
"sehen."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a URL.
|
||||
#: home-manager/install.nix:76
|
||||
#: home-manager/home-manager:437
|
||||
msgid ""
|
||||
"Uh oh, the installation failed! Please create an issue at\n"
|
||||
"\n"
|
||||
@@ -183,7 +101,115 @@ msgstr ""
|
||||
"\n"
|
||||
"falls der Fehler auf Home Manager zurückzuführen ist."
|
||||
|
||||
#: home-manager/install.nix:83
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:448
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "Kann eine Flake-Konfiguration nicht instanziieren"
|
||||
|
||||
#: home-manager/home-manager:521
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"Es gibt eine ungelesene und relevante Nachricht.\n"
|
||||
"Lesen Sie sie, indem Sie den Befehl \"%s news\" ausführen."
|
||||
msgstr[1] ""
|
||||
"Es gibt %d ungelesene und relevante Nachrichten.\n"
|
||||
"Lesen Sie sie, indem Sie den Befehl \"%s news\" ausführen."
|
||||
|
||||
#: home-manager/home-manager:535
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Unbekannte \"news.display\" Einstellung \"%s\"."
|
||||
|
||||
#: home-manager/home-manager:542
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Bitte legen Sie die $EDITOR Variable fest"
|
||||
|
||||
#: home-manager/home-manager:557
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "Build kann nicht im schreibgeschützten Ordner ausgeführt werden"
|
||||
|
||||
#: home-manager/home-manager:641
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "Keine Generation mit ID %s"
|
||||
|
||||
#: home-manager/home-manager:643
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "Die jetzige Generation %s kann nicht entfernt werden"
|
||||
|
||||
#: home-manager/home-manager:645
|
||||
msgid "Removing generation %s"
|
||||
msgstr "Entferne Generation %s"
|
||||
|
||||
#: home-manager/home-manager:664
|
||||
msgid "No generations to expire"
|
||||
msgstr "Keine ablaufenden Generationen"
|
||||
|
||||
#: home-manager/home-manager:675
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "Es scheint, als ob keine Home Manager Pakete installiert sind."
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:702
|
||||
msgid "Sorry, this command is not yet supported in flake setup"
|
||||
msgstr "Dieser Befehl wird im Flake-Setup leider noch nicht unterstützt"
|
||||
|
||||
#: home-manager/home-manager:739
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Unbekannte Argumente %s"
|
||||
|
||||
#: home-manager/home-manager:755
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "Dies wird Home Manager von Ihrem System entfernen."
|
||||
|
||||
#: home-manager/home-manager:758
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "Dies ist ein Probelauf, es wird nichts vom System deinstalliert."
|
||||
|
||||
#: home-manager/home-manager:762
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Möchten Sie wirklich Home Manager deinstallieren?"
|
||||
|
||||
#: home-manager/home-manager:768
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Wechsle zu einer leeren Home Manager Konfiguration..."
|
||||
|
||||
#: home-manager/home-manager:795
|
||||
msgid "Yay!"
|
||||
msgstr "Juhu!"
|
||||
|
||||
#: home-manager/home-manager:800
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr ""
|
||||
"Home Manager ist installiert, aber Ihre home.nix Datei bleibt unberührt."
|
||||
|
||||
#: home-manager/home-manager:1011
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations erwartet ein Argument, hat aber %d erhalten."
|
||||
|
||||
#: home-manager/home-manager:1033
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Unbekannter Befehl: %s"
|
||||
|
||||
#: home-manager/install.nix:18
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
msgstr ""
|
||||
"Diese Derivation ist nicht kompilierbar. Bitte führen Sie nix-shell aus."
|
||||
|
||||
#~ msgid "Creating initial Home Manager configuration..."
|
||||
#~ msgstr "Erstelle initiale Home Manager Konfiguration..."
|
||||
|
||||
#~ msgid "Remove all Home Manager generations?"
|
||||
#~ msgstr "Entferne alle Home Manager Generationen?"
|
||||
|
||||
#~ msgid "All generations are now eligible for garbage collection."
|
||||
#~ msgstr "Alle Generationen kommen nun für die Garbage Collection in Frage."
|
||||
|
||||
#~ msgid "Leaving generations but they may still be garbage collected."
|
||||
#~ msgstr ""
|
||||
#~ "Ignoriere Generationen, aber diese könnten immer noch mittels des Garbage "
|
||||
#~ "Collectors aufgeräumt werden."
|
||||
|
||||
@@ -7,9 +7,9 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Home Manager\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
||||
"POT-Creation-Date: 2022-03-26 15:08+0100\n"
|
||||
"PO-Revision-Date: 2022-01-11 21:45+0000\n"
|
||||
"Last-Translator: Robert Helgesson <robert@rycee.net>\n"
|
||||
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
||||
"PO-Revision-Date: 2023-04-10 22:05+0000\n"
|
||||
"Last-Translator: gallegonovato <fran-carro@hotmail.es>\n"
|
||||
"Language-Team: Spanish <https://hosted.weblate.org/projects/home-manager/cli/"
|
||||
"es/>\n"
|
||||
"Language: es\n"
|
||||
@@ -17,139 +17,61 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.10.1\n"
|
||||
"X-Generator: Weblate 4.17-dev\n"
|
||||
|
||||
#: home-manager/home-manager:60
|
||||
#: home-manager/home-manager:71
|
||||
msgid "No configuration file found at %s"
|
||||
msgstr "Archivo de configuración no encontrado en %s"
|
||||
|
||||
#: home-manager/home-manager:79
|
||||
#. translators: The first '%s' specifier will be replaced by either
|
||||
#. 'home.nix' or 'flake.nix'.
|
||||
#: home-manager/home-manager:88 home-manager/home-manager:92
|
||||
#: home-manager/home-manager:154
|
||||
msgid ""
|
||||
"Keeping your Home Manager %s in %s is deprecated,\n"
|
||||
"please move it to %s"
|
||||
msgstr ""
|
||||
"Mantener tu Home Manager %s en %s está obsoleto,\n"
|
||||
"por favor muévalo a %s"
|
||||
|
||||
#: home-manager/home-manager:99
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr "Archivo de configuración no encontrado. Por favor cree uno en %s"
|
||||
|
||||
#: home-manager/home-manager:122
|
||||
#: home-manager/home-manager:136
|
||||
msgid "Could not find suitable profile directory, tried %s and %s"
|
||||
msgstr ""
|
||||
"No se ha podido encontrar un directorio de perfiles adecuado, se ha probado "
|
||||
"con %s y %s"
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:191
|
||||
msgid "Can't inspect options of a flake configuration"
|
||||
msgstr "No se pudo inspeccionar las opciones de la configuración flake"
|
||||
|
||||
#: home-manager/home-manager:162
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "No se pudo instanciar una configuración flake"
|
||||
|
||||
#: home-manager/home-manager:237
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"Hay %d noticia relevante no leída.\n"
|
||||
"Léala ejecutando el comando \"%s news\"."
|
||||
msgstr[1] ""
|
||||
"Hay %d noticias relevantes no leídas.\n"
|
||||
"Léalas ejecutando el comando \"%s news\"."
|
||||
|
||||
#: home-manager/home-manager:251
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Configuración \"news.display\" no reconocida \"%s\"."
|
||||
|
||||
#: home-manager/home-manager:258
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Defina la variable de ambiente $EDITOR"
|
||||
|
||||
#: home-manager/home-manager:273
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "No se puede ejecutar en un directorio de sólo lectura"
|
||||
|
||||
#: home-manager/home-manager:355
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "No existe la generación con ID %s"
|
||||
|
||||
#: home-manager/home-manager:357
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "No se pudo borrar la generación actual %s"
|
||||
|
||||
#: home-manager/home-manager:359
|
||||
msgid "Removing generation %s"
|
||||
msgstr "Borrando generación %s"
|
||||
|
||||
#: home-manager/home-manager:385
|
||||
msgid "No generations to expire"
|
||||
msgstr "No se encontraron generaciones para expirar"
|
||||
|
||||
#: home-manager/home-manager:396
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "No se encontró ningún paquete home-manager instalado."
|
||||
|
||||
#: home-manager/home-manager:453
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Argumento desconocido %s"
|
||||
|
||||
#: home-manager/home-manager:469
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "Home Manager será borrado del sistema."
|
||||
|
||||
#: home-manager/home-manager:472
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "Este es un simulacro, nada será realmente desinstalado."
|
||||
|
||||
#: home-manager/home-manager:476
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Desinstalar Home Manager?"
|
||||
|
||||
#: home-manager/home-manager:481
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Cambiando a configuración vacía de Home Manager..."
|
||||
|
||||
#: home-manager/home-manager:493
|
||||
msgid "Yay!"
|
||||
msgstr "Bien!"
|
||||
|
||||
#: home-manager/home-manager:500
|
||||
msgid "Remove all Home Manager generations?"
|
||||
msgstr "Borrar todas las generaciones de Home Manager?"
|
||||
|
||||
#: home-manager/home-manager:507
|
||||
msgid "All generations are now eligible for garbage collection."
|
||||
msgstr "Ahora todas las generaciones son aptas para recolección de basura."
|
||||
|
||||
#: home-manager/home-manager:510
|
||||
msgid "Leaving generations but they may still be garbage collected."
|
||||
msgstr ""
|
||||
"Dejando generaciones aunque podrían aún ser borradas por el recolector de "
|
||||
"basura."
|
||||
|
||||
#: home-manager/home-manager:514
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "Home Manager desinstalado pero no se ha modificado home.nix."
|
||||
|
||||
#: home-manager/home-manager:673
|
||||
#: home-manager/home-manager:253 home-manager/home-manager:276
|
||||
#: home-manager/home-manager:973
|
||||
msgid "%s: unknown option '%s'"
|
||||
msgstr "%s: opción desconocida '%s'"
|
||||
|
||||
#: home-manager/home-manager:674
|
||||
#: home-manager/home-manager:258 home-manager/home-manager:974
|
||||
msgid "Run '%s --help' for usage help"
|
||||
msgstr "Ejecute '%s --help' para ver ayuda"
|
||||
|
||||
#: home-manager/home-manager:708
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations espera un argumento pero se dieron %d."
|
||||
#: home-manager/home-manager:284 home-manager/home-manager:383
|
||||
msgid "The file %s already exists, leaving it unchanged..."
|
||||
msgstr "El fichero %s ya existe, dejándolo sin modificar..."
|
||||
|
||||
#: home-manager/home-manager:730
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Comando desconocido %s"
|
||||
#: home-manager/home-manager:286 home-manager/home-manager:385
|
||||
msgid "Creating %s..."
|
||||
msgstr "Creando %s..."
|
||||
|
||||
#: home-manager/install.nix:22
|
||||
msgid "Creating initial Home Manager configuration..."
|
||||
msgstr "Creando configuración inicial de Home Manager..."
|
||||
|
||||
#: home-manager/install.nix:66
|
||||
#: home-manager/home-manager:427
|
||||
msgid "Creating initial Home Manager generation..."
|
||||
msgstr "Creando generación inicial de Home Manager..."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a file path.
|
||||
#: home-manager/install.nix:71
|
||||
#: home-manager/home-manager:432
|
||||
msgid ""
|
||||
"All done! The home-manager tool should now be installed and you can edit\n"
|
||||
"\n"
|
||||
@@ -166,7 +88,7 @@ msgstr ""
|
||||
"ver todas las opciones disponibles."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a URL.
|
||||
#: home-manager/install.nix:76
|
||||
#: home-manager/home-manager:437
|
||||
msgid ""
|
||||
"Uh oh, the installation failed! Please create an issue at\n"
|
||||
"\n"
|
||||
@@ -180,6 +102,114 @@ msgstr ""
|
||||
"\n"
|
||||
"si el error parecer ser culpa de Home Manager."
|
||||
|
||||
#: home-manager/install.nix:83
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:448
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "No se pudo instanciar una configuración flake"
|
||||
|
||||
#: home-manager/home-manager:521
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"Hay %d noticia relevante no leída.\n"
|
||||
"Léala ejecutando el comando \"%s news\"."
|
||||
msgstr[1] ""
|
||||
"Hay %d noticias relevantes no leídas.\n"
|
||||
"Léalas ejecutando el comando \"%s news\"."
|
||||
|
||||
#: home-manager/home-manager:535
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Configuración \"news.display\" no reconocida \"%s\"."
|
||||
|
||||
#: home-manager/home-manager:542
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Defina la variable de ambiente $EDITOR"
|
||||
|
||||
#: home-manager/home-manager:557
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "No se puede ejecutar en un directorio de sólo lectura"
|
||||
|
||||
#: home-manager/home-manager:641
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "No existe la generación con ID %s"
|
||||
|
||||
#: home-manager/home-manager:643
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "No se pudo borrar la generación actual %s"
|
||||
|
||||
#: home-manager/home-manager:645
|
||||
msgid "Removing generation %s"
|
||||
msgstr "Borrando generación %s"
|
||||
|
||||
#: home-manager/home-manager:664
|
||||
msgid "No generations to expire"
|
||||
msgstr "No se encontraron generaciones para expirar"
|
||||
|
||||
#: home-manager/home-manager:675
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "No se encontró ningún paquete home-manager instalado."
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:702
|
||||
msgid "Sorry, this command is not yet supported in flake setup"
|
||||
msgstr ""
|
||||
"Lo sentimos, este comando aún no está soportado en la configuración de flake"
|
||||
|
||||
#: home-manager/home-manager:739
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Argumento desconocido %s"
|
||||
|
||||
#: home-manager/home-manager:755
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "Home Manager será borrado del sistema."
|
||||
|
||||
#: home-manager/home-manager:758
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "Este es un simulacro, nada será realmente desinstalado."
|
||||
|
||||
#: home-manager/home-manager:762
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Desinstalar Home Manager?"
|
||||
|
||||
#: home-manager/home-manager:768
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Cambiando a configuración vacía de Home Manager..."
|
||||
|
||||
#: home-manager/home-manager:795
|
||||
msgid "Yay!"
|
||||
msgstr "Bien!"
|
||||
|
||||
#: home-manager/home-manager:800
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "Home Manager desinstalado pero no se ha modificado home.nix."
|
||||
|
||||
#: home-manager/home-manager:1011
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations espera un argumento pero se dieron %d."
|
||||
|
||||
#: home-manager/home-manager:1033
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Comando desconocido %s"
|
||||
|
||||
#: home-manager/install.nix:18
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
msgstr "Esta derivación no se puede construir, ejecute con nix-shell."
|
||||
|
||||
#~ msgid "Creating initial Home Manager configuration..."
|
||||
#~ msgstr "Creando configuración inicial de Home Manager..."
|
||||
|
||||
#~ msgid "Remove all Home Manager generations?"
|
||||
#~ msgstr "Borrar todas las generaciones de Home Manager?"
|
||||
|
||||
#~ msgid "All generations are now eligible for garbage collection."
|
||||
#~ msgstr "Ahora todas las generaciones son aptas para recolección de basura."
|
||||
|
||||
#~ msgid "Leaving generations but they may still be garbage collected."
|
||||
#~ msgstr ""
|
||||
#~ "Dejando generaciones aunque podrían aún ser borradas por el recolector de "
|
||||
#~ "basura."
|
||||
|
||||
@@ -7,9 +7,9 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Home Manager\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
||||
"POT-Creation-Date: 2022-03-26 15:08+0100\n"
|
||||
"PO-Revision-Date: 2022-04-09 18:11+0000\n"
|
||||
"Last-Translator: Artin Mobasher <mobasherartin.icm@gmail.com>\n"
|
||||
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
||||
"PO-Revision-Date: 2023-05-28 22:49+0000\n"
|
||||
"Last-Translator: Mohammad Abdolirad <m.abdolirad@gmail.com>\n"
|
||||
"Language-Team: Persian <https://hosted.weblate.org/projects/home-manager/cli/"
|
||||
"fa/>\n"
|
||||
"Language: fa\n"
|
||||
@@ -17,134 +17,57 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\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:60
|
||||
#: home-manager/home-manager:71
|
||||
msgid "No configuration file found at %s"
|
||||
msgstr "هیچ فایل تنظیماتی در %s پیدا نشد"
|
||||
|
||||
#: home-manager/home-manager:79
|
||||
#. translators: The first '%s' specifier will be replaced by either
|
||||
#. 'home.nix' or 'flake.nix'.
|
||||
#: home-manager/home-manager:88 home-manager/home-manager:92
|
||||
#: home-manager/home-manager:154
|
||||
msgid ""
|
||||
"Keeping your Home Manager %s in %s is deprecated,\n"
|
||||
"please move it to %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:99
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr "هیچ فایل تنظیماتی پیدا نشد. لطفا یک فایل در %s بسازید"
|
||||
|
||||
#: home-manager/home-manager:122
|
||||
#: home-manager/home-manager:136
|
||||
msgid "Could not find suitable profile directory, tried %s and %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:191
|
||||
msgid "Can't inspect options of a flake configuration"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:162
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:237
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: home-manager/home-manager:251
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:258
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:273
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:355
|
||||
msgid "No generation with ID %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:357
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:359
|
||||
msgid "Removing generation %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:385
|
||||
msgid "No generations to expire"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:396
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:453
|
||||
msgid "Unknown argument %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:469
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:472
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:476
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:481
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:493
|
||||
#, fuzzy
|
||||
msgid "Yay!"
|
||||
msgstr "آره!"
|
||||
|
||||
#: home-manager/home-manager:500
|
||||
msgid "Remove all Home Manager generations?"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:507
|
||||
msgid "All generations are now eligible for garbage collection."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:510
|
||||
msgid "Leaving generations but they may still be garbage collected."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:514
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:673
|
||||
#: home-manager/home-manager:253 home-manager/home-manager:276
|
||||
#: home-manager/home-manager:973
|
||||
msgid "%s: unknown option '%s'"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:674
|
||||
#: home-manager/home-manager:258 home-manager/home-manager:974
|
||||
msgid "Run '%s --help' for usage help"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:708
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr ""
|
||||
#: home-manager/home-manager:284 home-manager/home-manager:383
|
||||
msgid "The file %s already exists, leaving it unchanged..."
|
||||
msgstr "فایل %s از قبل وجود داشته است، بدون تغییر رها شد..."
|
||||
|
||||
#: home-manager/home-manager:730
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "دستور ناشناخته: %s"
|
||||
#: home-manager/home-manager:286 home-manager/home-manager:385
|
||||
msgid "Creating %s..."
|
||||
msgstr "ساختن %s..."
|
||||
|
||||
#: home-manager/install.nix:22
|
||||
msgid "Creating initial Home Manager configuration..."
|
||||
msgstr "ایجاد تنظیمات اولیه Home-Manager..."
|
||||
|
||||
#: home-manager/install.nix:66
|
||||
#: home-manager/home-manager:427
|
||||
msgid "Creating initial Home Manager generation..."
|
||||
msgstr ""
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a file path.
|
||||
#: home-manager/install.nix:71
|
||||
#: home-manager/home-manager:432
|
||||
msgid ""
|
||||
"All done! The home-manager tool should now be installed and you can edit\n"
|
||||
"\n"
|
||||
@@ -155,7 +78,7 @@ msgid ""
|
||||
msgstr ""
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a URL.
|
||||
#: home-manager/install.nix:76
|
||||
#: home-manager/home-manager:437
|
||||
msgid ""
|
||||
"Uh oh, the installation failed! Please create an issue at\n"
|
||||
"\n"
|
||||
@@ -164,6 +87,99 @@ msgid ""
|
||||
"if the error seems to be the fault of Home Manager."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/install.nix:83
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:448
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:521
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: home-manager/home-manager:535
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:542
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "لطفا متغیر محیطی $EDITOR را مقدار دهی کنید"
|
||||
|
||||
#: home-manager/home-manager:557
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:641
|
||||
msgid "No generation with ID %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:643
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "نمیتوان نسل فعلی %s را حذف کرد"
|
||||
|
||||
#: home-manager/home-manager:645
|
||||
msgid "Removing generation %s"
|
||||
msgstr "حذف کردن نسل %s"
|
||||
|
||||
#: home-manager/home-manager:664
|
||||
msgid "No generations to expire"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:675
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr ""
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:702
|
||||
msgid "Sorry, this command is not yet supported in flake setup"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:739
|
||||
msgid "Unknown argument %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:755
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:758
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:762
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "واقعاً هوم منیجر را حذف نصب کنید؟"
|
||||
|
||||
#: home-manager/home-manager:768
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:795
|
||||
#, fuzzy
|
||||
msgid "Yay!"
|
||||
msgstr "آره!"
|
||||
|
||||
#: home-manager/home-manager:800
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "هوم منیجر حذف نصب شد اما home.nix شما دست نخورده باقی ماند."
|
||||
|
||||
#: home-manager/home-manager:1011
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:1033
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "دستور ناشناخته: %s"
|
||||
|
||||
#: home-manager/install.nix:18
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Creating initial Home Manager configuration..."
|
||||
#~ msgstr "ایجاد تنظیمات اولیه Home-Manager..."
|
||||
|
||||
179
home-manager/po/fi.po
Normal file
179
home-manager/po/fi.po
Normal file
@@ -0,0 +1,179 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR Home Manager contributors
|
||||
# This file is distributed under the same license as the Home Manager package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Home Manager\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
||||
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: Automatically generated\n"
|
||||
"Language-Team: none\n"
|
||||
"Language: fi\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
|
||||
#: home-manager/home-manager:71
|
||||
msgid "No configuration file found at %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: The first '%s' specifier will be replaced by either
|
||||
#. 'home.nix' or 'flake.nix'.
|
||||
#: home-manager/home-manager:88 home-manager/home-manager:92
|
||||
#: home-manager/home-manager:154
|
||||
msgid ""
|
||||
"Keeping your Home Manager %s in %s is deprecated,\n"
|
||||
"please move it to %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:99
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:136
|
||||
msgid "Could not find suitable profile directory, tried %s and %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:191
|
||||
msgid "Can't inspect options of a flake configuration"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:253 home-manager/home-manager:276
|
||||
#: home-manager/home-manager:973
|
||||
msgid "%s: unknown option '%s'"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:258 home-manager/home-manager:974
|
||||
msgid "Run '%s --help' for usage help"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:284 home-manager/home-manager:383
|
||||
msgid "The file %s already exists, leaving it unchanged..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:286 home-manager/home-manager:385
|
||||
msgid "Creating %s..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:427
|
||||
msgid "Creating initial Home Manager generation..."
|
||||
msgstr ""
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a file path.
|
||||
#: home-manager/home-manager:432
|
||||
msgid ""
|
||||
"All done! The home-manager tool should now be installed and you can edit\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"to configure Home Manager. Run 'man home-configuration.nix' to\n"
|
||||
"see all available options."
|
||||
msgstr ""
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a URL.
|
||||
#: home-manager/home-manager:437
|
||||
msgid ""
|
||||
"Uh oh, the installation failed! Please create an issue at\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"if the error seems to be the fault of Home Manager."
|
||||
msgstr ""
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:448
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:521
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: home-manager/home-manager:535
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:542
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:557
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:641
|
||||
msgid "No generation with ID %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:643
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:645
|
||||
msgid "Removing generation %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:664
|
||||
msgid "No generations to expire"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:675
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr ""
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:702
|
||||
msgid "Sorry, this command is not yet supported in flake setup"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:739
|
||||
msgid "Unknown argument %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:755
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:758
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:762
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:768
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:795
|
||||
msgid "Yay!"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:800
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:1011
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:1033
|
||||
msgid "Unknown command: %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/install.nix:18
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
msgstr ""
|
||||
@@ -7,9 +7,9 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Home Manager\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
||||
"POT-Creation-Date: 2022-03-26 15:08+0100\n"
|
||||
"PO-Revision-Date: 2021-12-19 16:51+0000\n"
|
||||
"Last-Translator: TheBlackBeans <adrien.mathieu.net@gmail.com>\n"
|
||||
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
||||
"PO-Revision-Date: 2023-04-11 20:41+0000\n"
|
||||
"Last-Translator: Robert Helgesson <robert@rycee.net>\n"
|
||||
"Language-Team: French <https://hosted.weblate.org/projects/home-manager/cli/"
|
||||
"fr/>\n"
|
||||
"Language: fr\n"
|
||||
@@ -17,143 +17,59 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
||||
"X-Generator: Weblate 4.10\n"
|
||||
"X-Generator: Weblate 4.17-dev\n"
|
||||
|
||||
#: home-manager/home-manager:60
|
||||
#: home-manager/home-manager:71
|
||||
msgid "No configuration file found at %s"
|
||||
msgstr "Aucun fichier de configuration trouvé à l'emplacement %s"
|
||||
|
||||
#: home-manager/home-manager:79
|
||||
#. translators: The first '%s' specifier will be replaced by either
|
||||
#. 'home.nix' or 'flake.nix'.
|
||||
#: home-manager/home-manager:88 home-manager/home-manager:92
|
||||
#: home-manager/home-manager:154
|
||||
msgid ""
|
||||
"Keeping your Home Manager %s in %s is deprecated,\n"
|
||||
"please move it to %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:99
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr ""
|
||||
"Aucun fichier de configuration trouvé. Veuillez en créer un à l'emplacement "
|
||||
"%s"
|
||||
|
||||
#: home-manager/home-manager:122
|
||||
#: home-manager/home-manager:136
|
||||
msgid "Could not find suitable profile directory, tried %s and %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:191
|
||||
msgid "Can't inspect options of a flake configuration"
|
||||
msgstr "Impossible d'inspecter les options d'une configuration en flocons"
|
||||
|
||||
#: home-manager/home-manager:162
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "Impossible d'instancier une configuration flake"
|
||||
|
||||
#: home-manager/home-manager:237
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"Il y a %d nouvel élément non lu et pertinent.\n"
|
||||
"Vous pouvez le lire en exécutant la commande \"%s news\"."
|
||||
msgstr[1] ""
|
||||
"Il y a %d nouveaux éléments non lus et pertinents.\n"
|
||||
"Vous pouvez les lire en exécutant la commande \"%s news\"."
|
||||
|
||||
#: home-manager/home-manager:251
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Configuration \"news.display\" iconnue \"%s\"."
|
||||
|
||||
#: home-manager/home-manager:258
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Veuillez définir la variable d'environnement $EDITOR"
|
||||
|
||||
#: home-manager/home-manager:273
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "Impossible de lancer une compilation dans un dossier en écriture seule"
|
||||
|
||||
#: home-manager/home-manager:355
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "Aucune génération avec l'identifiant %s"
|
||||
|
||||
#: home-manager/home-manager:357
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "Impossible de supprimer la génération courante %s"
|
||||
|
||||
#: home-manager/home-manager:359
|
||||
msgid "Removing generation %s"
|
||||
msgstr "Suppression de la génération %s"
|
||||
|
||||
#: home-manager/home-manager:385
|
||||
msgid "No generations to expire"
|
||||
msgstr "Aucune génération expirée"
|
||||
|
||||
#: home-manager/home-manager:396
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "Aucun paquet home-manager ne semble être installé."
|
||||
|
||||
#: home-manager/home-manager:453
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Aucun argument %s"
|
||||
|
||||
#: home-manager/home-manager:469
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "Cela va supprimer Home Manager de votre système."
|
||||
|
||||
#: home-manager/home-manager:472
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "C'est un essai, rien ne sera réellement désinstallé."
|
||||
|
||||
#: home-manager/home-manager:476
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Voulez-vous vraiment désinstaller Home Manager ?"
|
||||
|
||||
#: home-manager/home-manager:481
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Changement vers une configuration vierge de Home Manager..."
|
||||
|
||||
#: home-manager/home-manager:493
|
||||
msgid "Yay!"
|
||||
msgstr "Yay !"
|
||||
|
||||
#: home-manager/home-manager:500
|
||||
msgid "Remove all Home Manager generations?"
|
||||
msgstr "Supprimer toutes les générations de Home Manager ?"
|
||||
|
||||
#: home-manager/home-manager:507
|
||||
msgid "All generations are now eligible for garbage collection."
|
||||
msgstr ""
|
||||
"Toutes les générations sont maintenant éligibles pour la collecte des "
|
||||
"ordures."
|
||||
|
||||
#: home-manager/home-manager:510
|
||||
msgid "Leaving generations but they may still be garbage collected."
|
||||
msgstr ""
|
||||
"Les générations sortantes mais elles peuvent encore être collectées par les "
|
||||
"ordures."
|
||||
|
||||
#: home-manager/home-manager:514
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "Home Manager est désinstallé mais votre home.nix reste intact."
|
||||
|
||||
#: home-manager/home-manager:673
|
||||
#: home-manager/home-manager:253 home-manager/home-manager:276
|
||||
#: home-manager/home-manager:973
|
||||
msgid "%s: unknown option '%s'"
|
||||
msgstr "%s : option inconnue « %s »"
|
||||
|
||||
#: home-manager/home-manager:674
|
||||
#: home-manager/home-manager:258 home-manager/home-manager:974
|
||||
msgid "Run '%s --help' for usage help"
|
||||
msgstr "Exécuter « %s --help » pour de l'aide sur l'utilisation"
|
||||
|
||||
#: home-manager/home-manager:708
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations attend un argument, a obtenu %d."
|
||||
#: home-manager/home-manager:284 home-manager/home-manager:383
|
||||
msgid "The file %s already exists, leaving it unchanged..."
|
||||
msgstr "Le fichier %s existe déjà, il sera laissé inchangé..."
|
||||
|
||||
#: home-manager/home-manager:730
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Commande inconnue : %s"
|
||||
#: home-manager/home-manager:286 home-manager/home-manager:385
|
||||
msgid "Creating %s..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/install.nix:22
|
||||
msgid "Creating initial Home Manager configuration..."
|
||||
msgstr "Création de la configuration initiale de Home Manager..."
|
||||
|
||||
#: home-manager/install.nix:66
|
||||
#: home-manager/home-manager:427
|
||||
msgid "Creating initial Home Manager generation..."
|
||||
msgstr "Création de la génération initiale de Home Manager..."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a file path.
|
||||
#: home-manager/install.nix:71
|
||||
#: home-manager/home-manager:432
|
||||
msgid ""
|
||||
"All done! The home-manager tool should now be installed and you can edit\n"
|
||||
"\n"
|
||||
@@ -171,7 +87,7 @@ msgstr ""
|
||||
"essayez 'man home-configuration.nix'."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a URL.
|
||||
#: home-manager/install.nix:76
|
||||
#: home-manager/home-manager:437
|
||||
msgid ""
|
||||
"Uh oh, the installation failed! Please create an issue at\n"
|
||||
"\n"
|
||||
@@ -186,6 +102,115 @@ msgstr ""
|
||||
"\n"
|
||||
"si l'erreur semble être liée à Home Manager."
|
||||
|
||||
#: home-manager/install.nix:83
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:448
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "Impossible d'instancier une configuration flake"
|
||||
|
||||
#: home-manager/home-manager:521
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"Il y a %d nouvel élément non lu et pertinent.\n"
|
||||
"Vous pouvez le lire en exécutant la commande \"%s news\"."
|
||||
msgstr[1] ""
|
||||
"Il y a %d nouveaux éléments non lus et pertinents.\n"
|
||||
"Vous pouvez les lire en exécutant la commande \"%s news\"."
|
||||
|
||||
#: home-manager/home-manager:535
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Configuration \"news.display\" iconnue \"%s\"."
|
||||
|
||||
#: home-manager/home-manager:542
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Veuillez définir la variable d'environnement $EDITOR"
|
||||
|
||||
#: home-manager/home-manager:557
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "Impossible de lancer une compilation dans un dossier en écriture seule"
|
||||
|
||||
#: home-manager/home-manager:641
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "Aucune génération avec l'identifiant %s"
|
||||
|
||||
#: home-manager/home-manager:643
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "Impossible de supprimer la génération courante %s"
|
||||
|
||||
#: home-manager/home-manager:645
|
||||
msgid "Removing generation %s"
|
||||
msgstr "Suppression de la génération %s"
|
||||
|
||||
#: home-manager/home-manager:664
|
||||
msgid "No generations to expire"
|
||||
msgstr "Aucune génération expirée"
|
||||
|
||||
#: home-manager/home-manager:675
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "Aucun paquet home-manager ne semble être installé."
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:702
|
||||
msgid "Sorry, this command is not yet supported in flake setup"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:739
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Aucun argument %s"
|
||||
|
||||
#: home-manager/home-manager:755
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "Cela va supprimer Home Manager de votre système."
|
||||
|
||||
#: home-manager/home-manager:758
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "C'est un essai, rien ne sera réellement désinstallé."
|
||||
|
||||
#: home-manager/home-manager:762
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Voulez-vous vraiment désinstaller Home Manager ?"
|
||||
|
||||
#: home-manager/home-manager:768
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Changement vers une configuration vierge de Home Manager..."
|
||||
|
||||
#: home-manager/home-manager:795
|
||||
msgid "Yay!"
|
||||
msgstr "Yay !"
|
||||
|
||||
#: home-manager/home-manager:800
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "Home Manager est désinstallé mais votre home.nix reste intact."
|
||||
|
||||
#: home-manager/home-manager:1011
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations attend un argument, a obtenu %d."
|
||||
|
||||
#: home-manager/home-manager:1033
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Commande inconnue : %s"
|
||||
|
||||
#: home-manager/install.nix:18
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
msgstr "Cette dérivation ne peut être construite, essayez avec nix-shell."
|
||||
|
||||
#~ msgid "Creating initial Home Manager configuration..."
|
||||
#~ msgstr "Création de la configuration initiale de Home Manager..."
|
||||
|
||||
#~ msgid "Remove all Home Manager generations?"
|
||||
#~ msgstr "Supprimer toutes les générations de Home Manager ?"
|
||||
|
||||
#~ msgid "All generations are now eligible for garbage collection."
|
||||
#~ msgstr ""
|
||||
#~ "Toutes les générations sont maintenant éligibles pour la collecte des "
|
||||
#~ "ordures."
|
||||
|
||||
#~ msgid "Leaving generations but they may still be garbage collected."
|
||||
#~ msgstr ""
|
||||
#~ "Les générations sortantes mais elles peuvent encore être collectées par "
|
||||
#~ "les ordures."
|
||||
|
||||
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Home Manager\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
||||
"POT-Creation-Date: 2022-03-26 15:08+0100\n"
|
||||
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -18,131 +18,55 @@ msgstr ""
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
||||
|
||||
#: home-manager/home-manager:60
|
||||
#: home-manager/home-manager:71
|
||||
msgid "No configuration file found at %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:79
|
||||
#. translators: The first '%s' specifier will be replaced by either
|
||||
#. 'home.nix' or 'flake.nix'.
|
||||
#: home-manager/home-manager:88 home-manager/home-manager:92
|
||||
#: home-manager/home-manager:154
|
||||
msgid ""
|
||||
"Keeping your Home Manager %s in %s is deprecated,\n"
|
||||
"please move it to %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:99
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:122
|
||||
#: home-manager/home-manager:136
|
||||
msgid "Could not find suitable profile directory, tried %s and %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:191
|
||||
msgid "Can't inspect options of a flake configuration"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:162
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:237
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: home-manager/home-manager:251
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:258
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:273
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:355
|
||||
msgid "No generation with ID %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:357
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:359
|
||||
msgid "Removing generation %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:385
|
||||
msgid "No generations to expire"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:396
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:453
|
||||
msgid "Unknown argument %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:469
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:472
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:476
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:481
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:493
|
||||
msgid "Yay!"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:500
|
||||
msgid "Remove all Home Manager generations?"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:507
|
||||
msgid "All generations are now eligible for garbage collection."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:510
|
||||
msgid "Leaving generations but they may still be garbage collected."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:514
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:673
|
||||
#: home-manager/home-manager:253 home-manager/home-manager:276
|
||||
#: home-manager/home-manager:973
|
||||
msgid "%s: unknown option '%s'"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:674
|
||||
#: home-manager/home-manager:258 home-manager/home-manager:974
|
||||
msgid "Run '%s --help' for usage help"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:708
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
#: home-manager/home-manager:284 home-manager/home-manager:383
|
||||
msgid "The file %s already exists, leaving it unchanged..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:730
|
||||
msgid "Unknown command: %s"
|
||||
#: home-manager/home-manager:286 home-manager/home-manager:385
|
||||
msgid "Creating %s..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/install.nix:22
|
||||
msgid "Creating initial Home Manager configuration..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/install.nix:66
|
||||
#: home-manager/home-manager:427
|
||||
msgid "Creating initial Home Manager generation..."
|
||||
msgstr ""
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a file path.
|
||||
#: home-manager/install.nix:71
|
||||
#: home-manager/home-manager:432
|
||||
msgid ""
|
||||
"All done! The home-manager tool should now be installed and you can edit\n"
|
||||
"\n"
|
||||
@@ -153,7 +77,7 @@ msgid ""
|
||||
msgstr ""
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a URL.
|
||||
#: home-manager/install.nix:76
|
||||
#: home-manager/home-manager:437
|
||||
msgid ""
|
||||
"Uh oh, the installation failed! Please create an issue at\n"
|
||||
"\n"
|
||||
@@ -162,6 +86,95 @@ msgid ""
|
||||
"if the error seems to be the fault of Home Manager."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/install.nix:83
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:448
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:521
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: home-manager/home-manager:535
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:542
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:557
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:641
|
||||
msgid "No generation with ID %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:643
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:645
|
||||
msgid "Removing generation %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:664
|
||||
msgid "No generations to expire"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:675
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr ""
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:702
|
||||
msgid "Sorry, this command is not yet supported in flake setup"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:739
|
||||
msgid "Unknown argument %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:755
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:758
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:762
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:768
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:795
|
||||
msgid "Yay!"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:800
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:1011
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:1033
|
||||
msgid "Unknown command: %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/install.nix:18
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
msgstr ""
|
||||
|
||||
@@ -7,9 +7,9 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Home Manager\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
||||
"POT-Creation-Date: 2022-03-26 15:08+0100\n"
|
||||
"PO-Revision-Date: 2022-04-20 18:18+0000\n"
|
||||
"Last-Translator: Frankie McEyes <mceyes@protonmail.com>\n"
|
||||
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
||||
"PO-Revision-Date: 2023-04-11 20:41+0000\n"
|
||||
"Last-Translator: Robert Helgesson <robert@rycee.net>\n"
|
||||
"Language-Team: Italian <https://hosted.weblate.org/projects/home-manager/cli/"
|
||||
"it/>\n"
|
||||
"Language: it\n"
|
||||
@@ -17,137 +17,57 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.12-dev\n"
|
||||
"X-Generator: Weblate 4.17-dev\n"
|
||||
|
||||
#: home-manager/home-manager:60
|
||||
#: home-manager/home-manager:71
|
||||
msgid "No configuration file found at %s"
|
||||
msgstr "Nessun file di configurazione trovato in %s"
|
||||
|
||||
#: home-manager/home-manager:79
|
||||
#. translators: The first '%s' specifier will be replaced by either
|
||||
#. 'home.nix' or 'flake.nix'.
|
||||
#: home-manager/home-manager:88 home-manager/home-manager:92
|
||||
#: home-manager/home-manager:154
|
||||
msgid ""
|
||||
"Keeping your Home Manager %s in %s is deprecated,\n"
|
||||
"please move it to %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:99
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr "Nessun file di configurazione trovato. Per favore crearne uno in %s"
|
||||
|
||||
#: home-manager/home-manager:122
|
||||
#: home-manager/home-manager:136
|
||||
msgid "Could not find suitable profile directory, tried %s and %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:191
|
||||
msgid "Can't inspect options of a flake configuration"
|
||||
msgstr "Impossibile ispezionare le opzioni di configurazione flake"
|
||||
|
||||
#: home-manager/home-manager:162
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "Impossibile istanziare una configurazione flake"
|
||||
|
||||
#: home-manager/home-manager:237
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"C'è %d novità di elementi non letta.\n"
|
||||
"Leggila con il comando \"%s news\"."
|
||||
msgstr[1] ""
|
||||
"Ci sono %d novità di elementi non letti\n"
|
||||
"Leggile con il comando \"%s news\"."
|
||||
|
||||
#: home-manager/home-manager:251
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Opzione \"news.display\" sconosciuta \"%s\"."
|
||||
|
||||
#: home-manager/home-manager:258
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Per favore impostare la variabile d'ambient $EDITOR"
|
||||
|
||||
#: home-manager/home-manager:273
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "Impossibile eseguire la build in una cartella in sola lettura"
|
||||
|
||||
#: home-manager/home-manager:355
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "Nessuna generazione con ID %s"
|
||||
|
||||
#: home-manager/home-manager:357
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "Impossibile rimuovere la generazione corrente %s"
|
||||
|
||||
#: home-manager/home-manager:359
|
||||
msgid "Removing generation %s"
|
||||
msgstr "Rimuovo la generazione %s"
|
||||
|
||||
#: home-manager/home-manager:385
|
||||
msgid "No generations to expire"
|
||||
msgstr "Nessuna generazione in scadenza"
|
||||
|
||||
#: home-manager/home-manager:396
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "Nessun pacchetto home-manager sembra essere installato."
|
||||
|
||||
#: home-manager/home-manager:453
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Argomento sconosciuto: %s"
|
||||
|
||||
#: home-manager/home-manager:469
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "Questo rimuoverà Home Manger dal tuo sistema."
|
||||
|
||||
#: home-manager/home-manager:472
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "Questo è un avvio a secco, nulla verrà realmente disinstallato."
|
||||
|
||||
#: home-manager/home-manager:476
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Vuoi davvero disinstallare Home Manager?"
|
||||
|
||||
#: home-manager/home-manager:481
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Cambio ad una configurazione Home Manager vuota..."
|
||||
|
||||
#: home-manager/home-manager:493
|
||||
msgid "Yay!"
|
||||
msgstr "Urrà!"
|
||||
|
||||
#: home-manager/home-manager:500
|
||||
msgid "Remove all Home Manager generations?"
|
||||
msgstr "Rimuovere tutte le generazioni Home Manager?"
|
||||
|
||||
#: home-manager/home-manager:507
|
||||
msgid "All generations are now eligible for garbage collection."
|
||||
msgstr "Tutte le generazioni sono ora pronte per essere cestinate."
|
||||
|
||||
#: home-manager/home-manager:510
|
||||
msgid "Leaving generations but they may still be garbage collected."
|
||||
msgstr "Abbandono le generazioni, ma possono essere ancora cestinate."
|
||||
|
||||
#: home-manager/home-manager:514
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "Home Manager è disinstallato ma la tua home.Nix non è stata toccata."
|
||||
|
||||
#: home-manager/home-manager:673
|
||||
#: home-manager/home-manager:253 home-manager/home-manager:276
|
||||
#: home-manager/home-manager:973
|
||||
msgid "%s: unknown option '%s'"
|
||||
msgstr "%s: opzione sconosciuta '%s'"
|
||||
|
||||
#: home-manager/home-manager:674
|
||||
#: home-manager/home-manager:258 home-manager/home-manager:974
|
||||
msgid "Run '%s --help' for usage help"
|
||||
msgstr "Esegui '%s --help' per ottenere aiuto"
|
||||
|
||||
#: home-manager/home-manager:708
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations si aspetta un solo argomento, invece di %d."
|
||||
#: home-manager/home-manager:284 home-manager/home-manager:383
|
||||
msgid "The file %s already exists, leaving it unchanged..."
|
||||
msgstr "Il file %s è già esistente, non verrà modificato..."
|
||||
|
||||
#: home-manager/home-manager:730
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Comando sconosciuto: %s"
|
||||
#: home-manager/home-manager:286 home-manager/home-manager:385
|
||||
msgid "Creating %s..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/install.nix:22
|
||||
msgid "Creating initial Home Manager configuration..."
|
||||
msgstr "Creando la configurazione iniziale di Home Manager..."
|
||||
|
||||
#: home-manager/install.nix:66
|
||||
#: home-manager/home-manager:427
|
||||
msgid "Creating initial Home Manager generation..."
|
||||
msgstr "Creando la generazione iniziale di Home Manager..."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a file path.
|
||||
#: home-manager/install.nix:71
|
||||
#: home-manager/home-manager:432
|
||||
msgid ""
|
||||
"All done! The home-manager tool should now be installed and you can edit\n"
|
||||
"\n"
|
||||
@@ -164,7 +84,7 @@ msgstr ""
|
||||
"consultare tutte le opzioni disponibili."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a URL.
|
||||
#: home-manager/install.nix:76
|
||||
#: home-manager/home-manager:437
|
||||
msgid ""
|
||||
"Uh oh, the installation failed! Please create an issue at\n"
|
||||
"\n"
|
||||
@@ -179,7 +99,112 @@ msgstr ""
|
||||
"\n"
|
||||
"se l'errore sembra essere causato da Home Manager."
|
||||
|
||||
#: home-manager/install.nix:83
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:448
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "Impossibile istanziare una configurazione flake"
|
||||
|
||||
#: home-manager/home-manager:521
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"C'è %d novità di elementi non letta.\n"
|
||||
"Leggila con il comando \"%s news\"."
|
||||
msgstr[1] ""
|
||||
"Ci sono %d novità di elementi non letti\n"
|
||||
"Leggile con il comando \"%s news\"."
|
||||
|
||||
#: home-manager/home-manager:535
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Opzione \"news.display\" sconosciuta \"%s\"."
|
||||
|
||||
#: home-manager/home-manager:542
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Per favore impostare la variabile d'ambient $EDITOR"
|
||||
|
||||
#: home-manager/home-manager:557
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "Impossibile eseguire la build in una cartella in sola lettura"
|
||||
|
||||
#: home-manager/home-manager:641
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "Nessuna generazione con ID %s"
|
||||
|
||||
#: home-manager/home-manager:643
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "Impossibile rimuovere la generazione corrente %s"
|
||||
|
||||
#: home-manager/home-manager:645
|
||||
msgid "Removing generation %s"
|
||||
msgstr "Rimuovo la generazione %s"
|
||||
|
||||
#: home-manager/home-manager:664
|
||||
msgid "No generations to expire"
|
||||
msgstr "Nessuna generazione in scadenza"
|
||||
|
||||
#: home-manager/home-manager:675
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "Nessun pacchetto home-manager sembra essere installato."
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:702
|
||||
msgid "Sorry, this command is not yet supported in flake setup"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:739
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Argomento sconosciuto: %s"
|
||||
|
||||
#: home-manager/home-manager:755
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "Questo rimuoverà Home Manger dal tuo sistema."
|
||||
|
||||
#: home-manager/home-manager:758
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "Questo è un avvio a secco, nulla verrà realmente disinstallato."
|
||||
|
||||
#: home-manager/home-manager:762
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Vuoi davvero disinstallare Home Manager?"
|
||||
|
||||
#: home-manager/home-manager:768
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Cambio ad una configurazione Home Manager vuota..."
|
||||
|
||||
#: home-manager/home-manager:795
|
||||
msgid "Yay!"
|
||||
msgstr "Urrà!"
|
||||
|
||||
#: home-manager/home-manager:800
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "Home Manager è disinstallato ma la tua home.Nix non è stata toccata."
|
||||
|
||||
#: home-manager/home-manager:1011
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations si aspetta un solo argomento, invece di %d."
|
||||
|
||||
#: home-manager/home-manager:1033
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Comando sconosciuto: %s"
|
||||
|
||||
#: home-manager/install.nix:18
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
msgstr ""
|
||||
"Questa derivazione non è compilabile, prova ad eseguila usando nix-shell."
|
||||
|
||||
#~ msgid "Creating initial Home Manager configuration..."
|
||||
#~ msgstr "Creando la configurazione iniziale di Home Manager..."
|
||||
|
||||
#~ msgid "Remove all Home Manager generations?"
|
||||
#~ msgstr "Rimuovere tutte le generazioni Home Manager?"
|
||||
|
||||
#~ msgid "All generations are now eligible for garbage collection."
|
||||
#~ msgstr "Tutte le generazioni sono ora pronte per essere cestinate."
|
||||
|
||||
#~ msgid "Leaving generations but they may still be garbage collected."
|
||||
#~ msgstr "Abbandono le generazioni, ma possono essere ancora cestinate."
|
||||
|
||||
@@ -7,9 +7,9 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Home Manager\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
||||
"POT-Creation-Date: 2022-03-26 15:08+0100\n"
|
||||
"PO-Revision-Date: 2022-02-10 04:55+0000\n"
|
||||
"Last-Translator: Heman Gandhi <hemangandhi@gmail.com>\n"
|
||||
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
||||
"PO-Revision-Date: 2023-05-13 06:48+0000\n"
|
||||
"Last-Translator: Markus Amano <markus.a.amano@gmail.com>\n"
|
||||
"Language-Team: Japanese <https://hosted.weblate.org/projects/home-manager/"
|
||||
"cli/ja/>\n"
|
||||
"Language: ja\n"
|
||||
@@ -17,138 +17,60 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: Weblate 4.11-dev\n"
|
||||
"X-Generator: Weblate 4.18-dev\n"
|
||||
|
||||
#: home-manager/home-manager:60
|
||||
#: home-manager/home-manager:71
|
||||
msgid "No configuration file found at %s"
|
||||
msgstr "%s に設定ファイルを見つかりません"
|
||||
msgstr "%s に設定ファイルが見つかりません"
|
||||
|
||||
#: home-manager/home-manager:79
|
||||
#. translators: The first '%s' specifier will be replaced by either
|
||||
#. 'home.nix' or 'flake.nix'.
|
||||
#: home-manager/home-manager:88 home-manager/home-manager:92
|
||||
#: home-manager/home-manager:154
|
||||
msgid ""
|
||||
"Keeping your Home Manager %s in %s is deprecated,\n"
|
||||
"please move it to %s"
|
||||
msgstr ""
|
||||
"Home Managerの %s の %s への保管は非推奨となりました\n"
|
||||
"%s へ移動させてください"
|
||||
|
||||
#: home-manager/home-manager:99
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr "設定ファイルがありません。ファイルを %s に作ってください"
|
||||
|
||||
#: home-manager/home-manager:122
|
||||
#: home-manager/home-manager:136
|
||||
msgid "Could not find suitable profile directory, tried %s and %s"
|
||||
msgstr ""
|
||||
"適切なプロファイル ディレクトリが見つかりませんでした。%s と %s を試しました"
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:191
|
||||
msgid "Can't inspect options of a flake configuration"
|
||||
msgstr "flake設定のオプションを検査できません"
|
||||
|
||||
#: home-manager/home-manager:162
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "flake設定をインスタンス化できません"
|
||||
|
||||
#: home-manager/home-manager:237
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"未読の関連ニュースが%d件あります\n"
|
||||
"\"%s news\"コマンドを使って読んでください。"
|
||||
|
||||
#: home-manager/home-manager:251
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "知らない\"news.display\"設定\"%s\"."
|
||||
|
||||
#: home-manager/home-manager:258
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "$EDITOR環境変数を設定してください"
|
||||
|
||||
#: home-manager/home-manager:273
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "読み込み専用ディレクトリ内ではbuild(作成)できません"
|
||||
|
||||
#: home-manager/home-manager:355
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "ID %s を持つ世代はありません"
|
||||
|
||||
#: home-manager/home-manager:357
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "現在使用中の世代 %s は削除できません"
|
||||
|
||||
#: home-manager/home-manager:359
|
||||
msgid "Removing generation %s"
|
||||
msgstr "世代 %s を削除中です"
|
||||
|
||||
#: home-manager/home-manager:385
|
||||
msgid "No generations to expire"
|
||||
msgstr "期限切れで削除する世代はありません"
|
||||
|
||||
#: home-manager/home-manager:396
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "home-managerパッケージはインストールされていないようです。"
|
||||
|
||||
#: home-manager/home-manager:453
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "不明な引数 %s"
|
||||
|
||||
#: home-manager/home-manager:469
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "これはシステムからHome Managerを削除します。"
|
||||
|
||||
#: home-manager/home-manager:472
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "これはdry run (予行練習)で、実際にはアンインストールは行われません。"
|
||||
|
||||
#: home-manager/home-manager:476
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "本当にHome Managerをアンインストールしますか?"
|
||||
|
||||
#: home-manager/home-manager:481
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "空のHome Managerの設定に切り替え中です..."
|
||||
|
||||
#: home-manager/home-manager:493
|
||||
msgid "Yay!"
|
||||
msgstr "イェイ!"
|
||||
|
||||
#: home-manager/home-manager:500
|
||||
msgid "Remove all Home Manager generations?"
|
||||
msgstr "Home-managerの全ての世代を削除しますか?"
|
||||
|
||||
#: home-manager/home-manager:507
|
||||
msgid "All generations are now eligible for garbage collection."
|
||||
msgstr "全ての世代がガベージコレクションの対象になりました。"
|
||||
|
||||
#: home-manager/home-manager:510
|
||||
msgid "Leaving generations but they may still be garbage collected."
|
||||
msgstr ""
|
||||
"世代を残していますが、それらはガベージコレクションで回収されるかもしれませ"
|
||||
"ん。"
|
||||
|
||||
#: home-manager/home-manager:514
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr ""
|
||||
"Home Managerはアンインストールされましたが、home.nixはそのまま残してありま"
|
||||
"す。"
|
||||
|
||||
#: home-manager/home-manager:673
|
||||
#: home-manager/home-manager:253 home-manager/home-manager:276
|
||||
#: home-manager/home-manager:973
|
||||
msgid "%s: unknown option '%s'"
|
||||
msgstr "%s: 不明なオプション '%s'"
|
||||
|
||||
#: home-manager/home-manager:674
|
||||
#: home-manager/home-manager:258 home-manager/home-manager:974
|
||||
msgid "Run '%s --help' for usage help"
|
||||
msgstr "利用方法のヘルプは'%s --help' を実行してください"
|
||||
msgstr "'%s --help' でヘルプを参照することができます"
|
||||
|
||||
#: home-manager/home-manager:708
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations は一つの引数を期待しますが、%d が与えられました。"
|
||||
#: home-manager/home-manager:284 home-manager/home-manager:383
|
||||
msgid "The file %s already exists, leaving it unchanged..."
|
||||
msgstr "%s は既に存在します。変更せずに続行しています..."
|
||||
|
||||
#: home-manager/home-manager:730
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "不明なコマンド: %s"
|
||||
#: home-manager/home-manager:286 home-manager/home-manager:385
|
||||
msgid "Creating %s..."
|
||||
msgstr "%s を作成中です..."
|
||||
|
||||
#: home-manager/install.nix:22
|
||||
msgid "Creating initial Home Manager configuration..."
|
||||
msgstr "Home Managerの初期設定を生成しています..."
|
||||
|
||||
#: home-manager/install.nix:66
|
||||
#: home-manager/home-manager:427
|
||||
msgid "Creating initial Home Manager generation..."
|
||||
msgstr "Home Managertの最初の世代を生成しています..."
|
||||
msgstr "Home Managerの世代を初期化しています..."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a file path.
|
||||
#: home-manager/install.nix:71
|
||||
#: home-manager/home-manager:432
|
||||
msgid ""
|
||||
"All done! The home-manager tool should now be installed and you can edit\n"
|
||||
"\n"
|
||||
@@ -157,16 +79,16 @@ msgid ""
|
||||
"to configure Home Manager. Run 'man home-configuration.nix' to\n"
|
||||
"see all available options."
|
||||
msgstr ""
|
||||
"全て実行しました! 現在Home-managerツールはインストールされているはずで、\n"
|
||||
"全てが完了しました! Home-managerはインストール済みで、\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"でHome Managerの設定を編集することができます。利用可能なオプションを見るに"
|
||||
"は\n"
|
||||
"でHome Managerの設定を編集することができるはずです。利用可能なオプションを参"
|
||||
"照するには\n"
|
||||
"'man home-configuration.nix' を実行してください。"
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a URL.
|
||||
#: home-manager/install.nix:76
|
||||
#: home-manager/home-manager:437
|
||||
msgid ""
|
||||
"Uh oh, the installation failed! Please create an issue at\n"
|
||||
"\n"
|
||||
@@ -174,13 +96,120 @@ msgid ""
|
||||
"\n"
|
||||
"if the error seems to be the fault of Home Manager."
|
||||
msgstr ""
|
||||
"うあ、インストールに失敗しました!もしこのエラーがHome Managerの欠陥のせいで"
|
||||
"生じたようなら、\n"
|
||||
"おっと、インストールに失敗しました!このエラーがHome Managerの欠陥によって生"
|
||||
"じたと考えられる場合は、\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"というissueを立ててください。"
|
||||
|
||||
#: home-manager/install.nix:83
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:448
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "flake設定を初期化できません"
|
||||
|
||||
#: home-manager/home-manager:521
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"未読のお知らせが%d件あります。\n"
|
||||
"\"%s news\"コマンドで確認できます。"
|
||||
|
||||
#: home-manager/home-manager:535
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "\"news.display\"に\"%s\"という設定は存在しません。"
|
||||
|
||||
#: home-manager/home-manager:542
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "$EDITOR環境変数を設定してください"
|
||||
|
||||
#: home-manager/home-manager:557
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "読み込み専用ディレクトリ内ではbuild(作成)できません"
|
||||
|
||||
#: home-manager/home-manager:641
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "ID %s を持つ世代はありません"
|
||||
|
||||
#: home-manager/home-manager:643
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "現在使用中の世代 %s は削除できません"
|
||||
|
||||
#: home-manager/home-manager:645
|
||||
msgid "Removing generation %s"
|
||||
msgstr "世代 %s を削除中です"
|
||||
|
||||
#: home-manager/home-manager:664
|
||||
msgid "No generations to expire"
|
||||
msgstr "期限切れで削除される世代はありません"
|
||||
|
||||
#: home-manager/home-manager:675
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "home-managerパッケージがインストールされていないようです。"
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:702
|
||||
msgid "Sorry, this command is not yet supported in flake setup"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:739
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "不明な引数 %s"
|
||||
|
||||
#: home-manager/home-manager:755
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "この操作によってHome Managerはシステムから削除されます。"
|
||||
|
||||
#: home-manager/home-manager:758
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "これはdry run (予行練習)で、実際にはアンインストールは行われません。"
|
||||
|
||||
#: home-manager/home-manager:762
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "本当にHome Managerをアンインストールしますか?"
|
||||
|
||||
#: home-manager/home-manager:768
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "空のHome Managerの設定に切り替えています..."
|
||||
|
||||
#: home-manager/home-manager:795
|
||||
msgid "Yay!"
|
||||
msgstr "イェイ!"
|
||||
|
||||
#: home-manager/home-manager:800
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr ""
|
||||
"Home Managerはアンインストールされましたが、home.nixはそのまま残してありま"
|
||||
"す。"
|
||||
|
||||
#: home-manager/home-manager:1011
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr ""
|
||||
"expire-generations は一つしか引数を取らないところ、%d 個が与えられました。"
|
||||
|
||||
#: home-manager/home-manager:1033
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "不明なコマンド: %s"
|
||||
|
||||
#: home-manager/install.nix:18
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
msgstr "この派生はビルドできませんので、nix-shellを使って実行してください。"
|
||||
msgstr "この派生はビルドできません。nix-shellを使って実行してください。"
|
||||
|
||||
#~ msgid "Creating initial Home Manager configuration..."
|
||||
#~ msgstr "Home Managerの設定を初期化しています..."
|
||||
|
||||
#~ msgid "Remove all Home Manager generations?"
|
||||
#~ msgstr "Home-managerの全ての世代を削除しますか?"
|
||||
|
||||
#~ msgid "All generations are now eligible for garbage collection."
|
||||
#~ msgstr "全ての世代がガベージコレクションの対象になりました。"
|
||||
|
||||
#~ msgid "Leaving generations but they may still be garbage collected."
|
||||
#~ msgstr ""
|
||||
#~ "世代を残すようにしますが、やはりガベージコレクションで回収されるかもしれま"
|
||||
#~ "せん。"
|
||||
|
||||
@@ -7,9 +7,9 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Home Manager\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
||||
"POT-Creation-Date: 2022-03-26 15:08+0100\n"
|
||||
"PO-Revision-Date: 2022-01-30 21:50+0000\n"
|
||||
"Last-Translator: 박수원 <bboxone@gmail.com>\n"
|
||||
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
||||
"PO-Revision-Date: 2023-04-19 15:49+0000\n"
|
||||
"Last-Translator: Suwon Park <sepiabrown@naver.com>\n"
|
||||
"Language-Team: Korean <https://hosted.weblate.org/projects/home-manager/cli/"
|
||||
"ko/>\n"
|
||||
"Language: ko\n"
|
||||
@@ -17,138 +17,59 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: Weblate 4.11-dev\n"
|
||||
"X-Generator: Weblate 4.18-dev\n"
|
||||
|
||||
#: home-manager/home-manager:60
|
||||
#: home-manager/home-manager:71
|
||||
msgid "No configuration file found at %s"
|
||||
msgstr "%s에서 설정 파일을 찾을 수 없음"
|
||||
|
||||
#: home-manager/home-manager:79
|
||||
#. translators: The first '%s' specifier will be replaced by either
|
||||
#. 'home.nix' or 'flake.nix'.
|
||||
#: home-manager/home-manager:88 home-manager/home-manager:92
|
||||
#: home-manager/home-manager:154
|
||||
msgid ""
|
||||
"Keeping your Home Manager %s in %s is deprecated,\n"
|
||||
"please move it to %s"
|
||||
msgstr ""
|
||||
"홈 매니저 %s 을 %s 안에 선언하는 것은 더 이상 사용되지 않습니다.\n"
|
||||
"%s로 옮겨주십시오"
|
||||
|
||||
#: home-manager/home-manager:99
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr "설정 파일을 찾을 수 없음. %s에 설정 파일을 생성하십시오"
|
||||
|
||||
#: home-manager/home-manager:122
|
||||
#: home-manager/home-manager:136
|
||||
msgid "Could not find suitable profile directory, tried %s and %s"
|
||||
msgstr "%s와 %s를 시도했지만, 적합한 프로파일 디렉토리를 찾을 수 없습니다"
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:191
|
||||
msgid "Can't inspect options of a flake configuration"
|
||||
msgstr "flake 설정의 옵션들을 검사할 수 없음"
|
||||
|
||||
#: home-manager/home-manager:162
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "flake 설정을 인스턴스화 할 수 없음"
|
||||
|
||||
#: home-manager/home-manager:237
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"읽지 않은 관련된 뉴스 항목들이 %d 개 있습니다.\n"
|
||||
"\"%s news\" 명령어를 실행해 읽어보십시오."
|
||||
|
||||
#: home-manager/home-manager:251
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "알 수 없는 \"news.display\"의 설정 \"%s\"."
|
||||
|
||||
#: home-manager/home-manager:258
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "환경변수 $EDITOR를 설정하십시오"
|
||||
|
||||
#: home-manager/home-manager:273
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "읽기전용 폴더에서 빌드를 실행할 수 없습니다"
|
||||
|
||||
#: home-manager/home-manager:355
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "ID %s를 갖는 세대가 존재하지 않음"
|
||||
|
||||
#: home-manager/home-manager:357
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "현재 세대인 %s를 삭제할 수 없음"
|
||||
|
||||
#: home-manager/home-manager:359
|
||||
msgid "Removing generation %s"
|
||||
msgstr "%s 세대를 삭제하는 중"
|
||||
|
||||
#: home-manager/home-manager:385
|
||||
msgid "No generations to expire"
|
||||
msgstr "유효 기간이 지난 세대가 없음"
|
||||
|
||||
#: home-manager/home-manager:396
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "홈 매니저 패키지들이 설치되지 않은 것으로 보입니다."
|
||||
|
||||
#: home-manager/home-manager:453
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "알 수 없는 매개변수 %s"
|
||||
|
||||
#: home-manager/home-manager:469
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "시스템에서 홈 매니저를 삭제할 것입니다."
|
||||
|
||||
#: home-manager/home-manager:472
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "모의 실행 중으로, 아무것도 실제로 설치되지 않습니다."
|
||||
|
||||
#: home-manager/home-manager:476
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "정말로 홈 매니저를 삭제할까요?"
|
||||
|
||||
#: home-manager/home-manager:481
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "빈 홈 매니저 설정으로 바꾸는 중..."
|
||||
|
||||
#: home-manager/home-manager:493
|
||||
msgid "Yay!"
|
||||
msgstr "야호!"
|
||||
|
||||
#: home-manager/home-manager:500
|
||||
msgid "Remove all Home Manager generations?"
|
||||
msgstr "모든 홈 매니저 세대를 지울까요?"
|
||||
|
||||
#: home-manager/home-manager:507
|
||||
msgid "All generations are now eligible for garbage collection."
|
||||
msgstr "이제 모든 세대가 쓰레기 수집(가비지 컬렉션)의 대상이 됩니다."
|
||||
|
||||
#: home-manager/home-manager:510
|
||||
msgid "Leaving generations but they may still be garbage collected."
|
||||
msgstr ""
|
||||
"세대들을 그대로 놔두지만 그들은 여전히 쓰레기 수집(가비지 컬렉션) 될 수 있습"
|
||||
"니다."
|
||||
|
||||
#: home-manager/home-manager:514
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "홈 매니저는 삭제되지만 home.nix 파일은 남겨집니다."
|
||||
|
||||
#: home-manager/home-manager:673
|
||||
#: home-manager/home-manager:253 home-manager/home-manager:276
|
||||
#: home-manager/home-manager:973
|
||||
msgid "%s: unknown option '%s'"
|
||||
msgstr "%s: 알 수 없는 옵션 '%s'"
|
||||
|
||||
#: home-manager/home-manager:674
|
||||
#: home-manager/home-manager:258 home-manager/home-manager:974
|
||||
msgid "Run '%s --help' for usage help"
|
||||
msgstr "도움말을 보려면 '%s --help'를 실행하십시오"
|
||||
|
||||
#: home-manager/home-manager:708
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr ""
|
||||
"expire-generations 명령어는 매개변수가 한 개 필요한데, %d 개가 입력되었습니"
|
||||
"다."
|
||||
#: home-manager/home-manager:284 home-manager/home-manager:383
|
||||
msgid "The file %s already exists, leaving it unchanged..."
|
||||
msgstr "%s 파일은 이미 존재하므로, 수정하지 않음..."
|
||||
|
||||
#: home-manager/home-manager:730
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "알 수 없는 명령어: %s"
|
||||
#: home-manager/home-manager:286 home-manager/home-manager:385
|
||||
msgid "Creating %s..."
|
||||
msgstr "%s를 생성하는 중..."
|
||||
|
||||
#: home-manager/install.nix:22
|
||||
msgid "Creating initial Home Manager configuration..."
|
||||
msgstr "최초의 홈 매니저 설정을 생성하는 중..."
|
||||
|
||||
#: home-manager/install.nix:66
|
||||
#: home-manager/home-manager:427
|
||||
msgid "Creating initial Home Manager generation..."
|
||||
msgstr "최초의 홈 매니저 세대를 생성하는 중..."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a file path.
|
||||
#: home-manager/install.nix:71
|
||||
#: home-manager/home-manager:432
|
||||
msgid ""
|
||||
"All done! The home-manager tool should now be installed and you can edit\n"
|
||||
"\n"
|
||||
@@ -166,7 +87,7 @@ msgstr ""
|
||||
"실행해서 가능한 모든 옵션을 살펴보십시오."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a URL.
|
||||
#: home-manager/install.nix:76
|
||||
#: home-manager/home-manager:437
|
||||
msgid ""
|
||||
"Uh oh, the installation failed! Please create an issue at\n"
|
||||
"\n"
|
||||
@@ -180,7 +101,113 @@ msgstr ""
|
||||
"\n"
|
||||
"위 사이트에서 이슈를 생성하십시오."
|
||||
|
||||
#: home-manager/install.nix:83
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:448
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "flake 설정을 인스턴스화 할 수 없음"
|
||||
|
||||
#: home-manager/home-manager:521
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"읽지 않은 관련된 뉴스 항목들이 %d 개 있습니다.\n"
|
||||
"\"%s news\" 명령어를 실행해 읽어보십시오."
|
||||
|
||||
#: home-manager/home-manager:535
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "알 수 없는 \"news.display\"의 설정 \"%s\"."
|
||||
|
||||
#: home-manager/home-manager:542
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "환경변수 $EDITOR를 설정하십시오"
|
||||
|
||||
#: home-manager/home-manager:557
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "읽기전용 폴더에서 빌드를 실행할 수 없습니다"
|
||||
|
||||
#: home-manager/home-manager:641
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "ID %s를 갖는 세대가 존재하지 않음"
|
||||
|
||||
#: home-manager/home-manager:643
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "현재 세대인 %s를 삭제할 수 없음"
|
||||
|
||||
#: home-manager/home-manager:645
|
||||
msgid "Removing generation %s"
|
||||
msgstr "%s 세대를 삭제하는 중"
|
||||
|
||||
#: home-manager/home-manager:664
|
||||
msgid "No generations to expire"
|
||||
msgstr "유효 기간이 지난 세대가 없음"
|
||||
|
||||
#: home-manager/home-manager:675
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "홈 매니저 패키지들이 설치되지 않은 것으로 보입니다."
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:702
|
||||
msgid "Sorry, this command is not yet supported in flake setup"
|
||||
msgstr "죄송합니다만, 이 명령어는 아직 flake 환경에서 지원되지 않습니다"
|
||||
|
||||
#: home-manager/home-manager:739
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "알 수 없는 매개변수 %s"
|
||||
|
||||
#: home-manager/home-manager:755
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "시스템에서 홈 매니저를 삭제할 것입니다."
|
||||
|
||||
#: home-manager/home-manager:758
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "모의 실행 중으로, 아무것도 실제로 설치되지 않습니다."
|
||||
|
||||
#: home-manager/home-manager:762
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "정말로 홈 매니저를 삭제할까요?"
|
||||
|
||||
#: home-manager/home-manager:768
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "빈 홈 매니저 설정으로 바꾸는 중..."
|
||||
|
||||
#: home-manager/home-manager:795
|
||||
msgid "Yay!"
|
||||
msgstr "야호!"
|
||||
|
||||
#: home-manager/home-manager:800
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "홈 매니저는 삭제되지만 home.nix 파일은 남겨집니다."
|
||||
|
||||
#: home-manager/home-manager:1011
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr ""
|
||||
"expire-generations 명령어는 매개변수가 한 개 필요한데, %d 개가 입력되었습니"
|
||||
"다."
|
||||
|
||||
#: home-manager/home-manager:1033
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "알 수 없는 명령어: %s"
|
||||
|
||||
#: home-manager/install.nix:18
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
msgstr ""
|
||||
"이 derivation은 빌드 할 수 없습니다. nix-shell을 이용해서 실행해 주십시오."
|
||||
|
||||
#~ msgid "Creating initial Home Manager configuration..."
|
||||
#~ msgstr "최초의 홈 매니저 설정을 생성하는 중..."
|
||||
|
||||
#~ msgid "Remove all Home Manager generations?"
|
||||
#~ msgstr "모든 홈 매니저 세대를 지울까요?"
|
||||
|
||||
#~ msgid "All generations are now eligible for garbage collection."
|
||||
#~ msgstr "이제 모든 세대가 쓰레기 수집(가비지 컬렉션)의 대상이 됩니다."
|
||||
|
||||
#~ msgid "Leaving generations but they may still be garbage collected."
|
||||
#~ msgstr ""
|
||||
#~ "세대들을 그대로 놔두지만 그들은 여전히 쓰레기 수집(가비지 컬렉션) 될 수 있"
|
||||
#~ "습니다."
|
||||
|
||||
208
home-manager/po/lt.po
Normal file
208
home-manager/po/lt.po
Normal file
@@ -0,0 +1,208 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR Home Manager contributors
|
||||
# This file is distributed under the same license as the Home Manager package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Home Manager\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
||||
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
||||
"PO-Revision-Date: 2023-01-09 11:33+0000\n"
|
||||
"Last-Translator: Kornelijus Tvarijanavičius <kornelijus@tvaria.com>\n"
|
||||
"Language-Team: Lithuanian <https://hosted.weblate.org/projects/home-manager/"
|
||||
"cli/lt/>\n"
|
||||
"Language: lt\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n % 10 == 1 && (n % 100 < 11 || n % 100 > "
|
||||
"19)) ? 0 : ((n % 10 >= 2 && n % 10 <= 9 && (n % 100 < 11 || n % 100 > 19)) ? "
|
||||
"1 : 2);\n"
|
||||
"X-Generator: Weblate 4.15.1-dev\n"
|
||||
|
||||
#: home-manager/home-manager:71
|
||||
msgid "No configuration file found at %s"
|
||||
msgstr "Nerastas konfigūracijos failas %s"
|
||||
|
||||
#. translators: The first '%s' specifier will be replaced by either
|
||||
#. 'home.nix' or 'flake.nix'.
|
||||
#: home-manager/home-manager:88 home-manager/home-manager:92
|
||||
#: home-manager/home-manager:154
|
||||
msgid ""
|
||||
"Keeping your Home Manager %s in %s is deprecated,\n"
|
||||
"please move it to %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:99
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr "Nerastas konfigūracijos failas. Sukurkite jį adresu %s"
|
||||
|
||||
#: home-manager/home-manager:136
|
||||
msgid "Could not find suitable profile directory, tried %s and %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:191
|
||||
msgid "Can't inspect options of a flake configuration"
|
||||
msgstr "Negalima patikrinti flake konfigūracijos pasirinkimų"
|
||||
|
||||
#: home-manager/home-manager:253 home-manager/home-manager:276
|
||||
#: home-manager/home-manager:973
|
||||
msgid "%s: unknown option '%s'"
|
||||
msgstr "%s: nežinomas pasirinkimas „%s“"
|
||||
|
||||
#: home-manager/home-manager:258 home-manager/home-manager:974
|
||||
msgid "Run '%s --help' for usage help"
|
||||
msgstr "Paleiskite „%s --help“, kad gautumėte naudojimosi instrukcijas"
|
||||
|
||||
#: home-manager/home-manager:284 home-manager/home-manager:383
|
||||
msgid "The file %s already exists, leaving it unchanged..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:286 home-manager/home-manager:385
|
||||
msgid "Creating %s..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:427
|
||||
msgid "Creating initial Home Manager generation..."
|
||||
msgstr "Kuriama pradinė Home Manager generacija..."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a file path.
|
||||
#: home-manager/home-manager:432
|
||||
msgid ""
|
||||
"All done! The home-manager tool should now be installed and you can edit\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"to configure Home Manager. Run 'man home-configuration.nix' to\n"
|
||||
"see all available options."
|
||||
msgstr ""
|
||||
"Viskas baigta! Įrankis home-manager turėtų būti įdiegtas ir dabar galite "
|
||||
"redaguoti\n"
|
||||
"\n"
|
||||
". . . .%s\n"
|
||||
"\n"
|
||||
", kad konfigūruotumėte Home Manager. Paleiskite „man home-configuration."
|
||||
"nix“,\n"
|
||||
"jei norite pamatyti visus pasirinkimus."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a URL.
|
||||
#: home-manager/home-manager:437
|
||||
msgid ""
|
||||
"Uh oh, the installation failed! Please create an issue at\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"if the error seems to be the fault of Home Manager."
|
||||
msgstr ""
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:448
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "Negalima sukurti pradinės flake konfigūracijos"
|
||||
|
||||
#: home-manager/home-manager:521
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"Yra %d neperskaityta ir aktuali naujiena.\n"
|
||||
"Perskaitykite ją paleidus komandą \"%s news\"."
|
||||
msgstr[1] ""
|
||||
"Yra %d neperskaitytos ir aktualios naujienos.\n"
|
||||
"Perskaitykite jas paleidus komandą \"%s news\"."
|
||||
msgstr[2] ""
|
||||
"Yra %d neperskaitytų ir aktualių naujienų.\n"
|
||||
"Perskaitykite jas paleidus komandą \"%s news\"."
|
||||
|
||||
#: home-manager/home-manager:535
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Nežinomas \"news.display\" nustatymas \"%s\"."
|
||||
|
||||
#: home-manager/home-manager:542
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Prašome nustatyti $EDITOR aplinkos kintamąjį"
|
||||
|
||||
#: home-manager/home-manager:557
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:641
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "Nėra generacijos su ID %s"
|
||||
|
||||
#: home-manager/home-manager:643
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "Negalima pašalinti esamos generacijos %s"
|
||||
|
||||
#: home-manager/home-manager:645
|
||||
msgid "Removing generation %s"
|
||||
msgstr "Pašalinama generacija %s"
|
||||
|
||||
#: home-manager/home-manager:664
|
||||
msgid "No generations to expire"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:675
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "Nėra instaliuotų home-manager paketų."
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:702
|
||||
msgid "Sorry, this command is not yet supported in flake setup"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:739
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Nežinomas argumentas %s"
|
||||
|
||||
#: home-manager/home-manager:755
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "Tai pašalins Home Manager iš jūsų sistemos."
|
||||
|
||||
#: home-manager/home-manager:758
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "Tai bandomasis paleidimas, niekas nebus ištrinta."
|
||||
|
||||
#: home-manager/home-manager:762
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Tikrai išdiegti Home Manager?"
|
||||
|
||||
#: home-manager/home-manager:768
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Perjungiama į tuščią Home Manager konfigūraciją..."
|
||||
|
||||
#: home-manager/home-manager:795
|
||||
msgid "Yay!"
|
||||
msgstr "Valio!"
|
||||
|
||||
#: home-manager/home-manager:800
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "Home Manager yra išdiegtas, bet jūsų home.nix liko nepaliestas."
|
||||
|
||||
#: home-manager/home-manager:1011
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations tikisi vieno argumento, gauta %d."
|
||||
|
||||
#: home-manager/home-manager:1033
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Nežinoma komanda: %s"
|
||||
|
||||
#: home-manager/install.nix:18
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Creating initial Home Manager configuration..."
|
||||
#~ msgstr "Kuriama pradinė Home Manager konfigūracija..."
|
||||
|
||||
#~ msgid "Remove all Home Manager generations?"
|
||||
#~ msgstr "Pašalinti visas Home Manager generacijas?"
|
||||
|
||||
#~ msgid "All generations are now eligible for garbage collection."
|
||||
#~ msgstr ""
|
||||
#~ "Visos generacijos jau tinkamos šiukšlių surinkimui (garbage collection)."
|
||||
@@ -7,9 +7,9 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Home Manager\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
||||
"POT-Creation-Date: 2022-03-26 15:08+0100\n"
|
||||
"PO-Revision-Date: 2021-12-13 20:50+0000\n"
|
||||
"Last-Translator: Allan Nordhøy <epost@anotheragency.no>\n"
|
||||
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
||||
"PO-Revision-Date: 2023-03-08 07:22+0000\n"
|
||||
"Last-Translator: \"Kim A. Ødegaard\" <kim@dyktig.no>\n"
|
||||
"Language-Team: Norwegian Bokmål <https://hosted.weblate.org/projects/home-"
|
||||
"manager/cli/nb_NO/>\n"
|
||||
"Language: nb_NO\n"
|
||||
@@ -17,137 +17,57 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.10-dev\n"
|
||||
"X-Generator: Weblate 4.16.2-dev\n"
|
||||
|
||||
#: home-manager/home-manager:60
|
||||
#: home-manager/home-manager:71
|
||||
msgid "No configuration file found at %s"
|
||||
msgstr "Fant ingen oppsettsfil i %s"
|
||||
|
||||
#: home-manager/home-manager:79
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr "Fant ikke noenoppsettsfil. Opprett en i %s"
|
||||
#. translators: The first '%s' specifier will be replaced by either
|
||||
#. 'home.nix' or 'flake.nix'.
|
||||
#: home-manager/home-manager:88 home-manager/home-manager:92
|
||||
#: home-manager/home-manager:154
|
||||
msgid ""
|
||||
"Keeping your Home Manager %s in %s is deprecated,\n"
|
||||
"please move it to %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:122
|
||||
#: home-manager/home-manager:99
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr "Fant ikke noen oppsettsfil. Opprett en i %s"
|
||||
|
||||
#: home-manager/home-manager:136
|
||||
msgid "Could not find suitable profile directory, tried %s and %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:191
|
||||
msgid "Can't inspect options of a flake configuration"
|
||||
msgstr "Kan ikke inspisere alternativer for et flake-oppsett"
|
||||
|
||||
#: home-manager/home-manager:162
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "Kan ikke igangsette flak-oppsett"
|
||||
|
||||
#: home-manager/home-manager:237
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"Det er %d ulest og relevant nyhetselement.\n"
|
||||
"Les det ved å kjøre kommandoen «%s news»."
|
||||
msgstr[1] ""
|
||||
"Det er %d uleste og relevant nyhetselementer.\n"
|
||||
"Les det ved å kjøre kommandoen «%s news»."
|
||||
|
||||
#: home-manager/home-manager:251
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Ukjent «news.display»-innstilling «%s»."
|
||||
|
||||
#: home-manager/home-manager:258
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Sett «$EDITOR»-miljøvariabelen"
|
||||
|
||||
#: home-manager/home-manager:273
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "Kan ikke kjøre bygg i skrivebeskyttet mappe"
|
||||
|
||||
#: home-manager/home-manager:355
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "Ingen generering med ID-en %s"
|
||||
|
||||
#: home-manager/home-manager:357
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "Kan ikke fjerne nåværende generering %s"
|
||||
|
||||
#: home-manager/home-manager:359
|
||||
msgid "Removing generation %s"
|
||||
msgstr "Fjerner generering %s"
|
||||
|
||||
#: home-manager/home-manager:385
|
||||
msgid "No generations to expire"
|
||||
msgstr "Ingen genereringer til utløp"
|
||||
|
||||
#: home-manager/home-manager:396
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "Ingen «home-manager»-pakker ser ut til å være installert."
|
||||
|
||||
#: home-manager/home-manager:453
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Ukjent argument %s"
|
||||
|
||||
#: home-manager/home-manager:469
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "Dette vil fjerne Home Manager fra systemet ditt."
|
||||
|
||||
#: home-manager/home-manager:472
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "Dette er en testkjøring. Ingenting vil bli avinstallert."
|
||||
|
||||
#: home-manager/home-manager:476
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Vil du avinstallere Home Manager?"
|
||||
|
||||
#: home-manager/home-manager:481
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Bytter til tomt Home Manager-oppsett …"
|
||||
|
||||
#: home-manager/home-manager:493
|
||||
msgid "Yay!"
|
||||
msgstr "Hurra."
|
||||
|
||||
#: home-manager/home-manager:500
|
||||
msgid "Remove all Home Manager generations?"
|
||||
msgstr "Fjern alle Home Manager-genereringer?"
|
||||
|
||||
#: home-manager/home-manager:507
|
||||
msgid "All generations are now eligible for garbage collection."
|
||||
msgstr "Alle genereringer kan nå hentes av søppelinnsamling."
|
||||
|
||||
#: home-manager/home-manager:510
|
||||
msgid "Leaving generations but they may still be garbage collected."
|
||||
msgstr "Levner genereringer, men de kan fremdeles hentes av søppelinnsamling."
|
||||
|
||||
#: home-manager/home-manager:514
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "Home Manager er avinstallert, men din home.nix er levnet uforandret."
|
||||
|
||||
#: home-manager/home-manager:673
|
||||
#: home-manager/home-manager:253 home-manager/home-manager:276
|
||||
#: home-manager/home-manager:973
|
||||
msgid "%s: unknown option '%s'"
|
||||
msgstr "%s: ukjent alternativ «%s»"
|
||||
|
||||
#: home-manager/home-manager:674
|
||||
#: home-manager/home-manager:258 home-manager/home-manager:974
|
||||
msgid "Run '%s --help' for usage help"
|
||||
msgstr "Kjør «%s --help» for brukshjelp"
|
||||
|
||||
#: home-manager/home-manager:708
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "«expire-generations» forventet ett argument, mottok %d."
|
||||
|
||||
#: home-manager/home-manager:730
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Ukjent kommando: %s"
|
||||
|
||||
#: home-manager/install.nix:22
|
||||
msgid "Creating initial Home Manager configuration..."
|
||||
#: home-manager/home-manager:284 home-manager/home-manager:383
|
||||
msgid "The file %s already exists, leaving it unchanged..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/install.nix:66
|
||||
#: home-manager/home-manager:286 home-manager/home-manager:385
|
||||
msgid "Creating %s..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:427
|
||||
msgid "Creating initial Home Manager generation..."
|
||||
msgstr ""
|
||||
msgstr "Oppretter ny Home Manager-generasjon..."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a file path.
|
||||
#: home-manager/install.nix:71
|
||||
#: home-manager/home-manager:432
|
||||
msgid ""
|
||||
"All done! The home-manager tool should now be installed and you can edit\n"
|
||||
"\n"
|
||||
@@ -156,9 +76,15 @@ msgid ""
|
||||
"to configure Home Manager. Run 'man home-configuration.nix' to\n"
|
||||
"see all available options."
|
||||
msgstr ""
|
||||
"Ferdig! `home-manager`-verktøyet skal nå være installert og du kan redigere\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"for å konfigurere Home Manager. Kjør 'man home-configuration.nix' for å\n"
|
||||
"se alle tilgjengelige innstillinger."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a URL.
|
||||
#: home-manager/install.nix:76
|
||||
#: home-manager/home-manager:437
|
||||
msgid ""
|
||||
"Uh oh, the installation failed! Please create an issue at\n"
|
||||
"\n"
|
||||
@@ -166,7 +92,118 @@ msgid ""
|
||||
"\n"
|
||||
"if the error seems to be the fault of Home Manager."
|
||||
msgstr ""
|
||||
"Oops, installasjonen feilet! Vennligst opprett en sak på\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"hvis du tror feilen er forårsaket av Home Manager."
|
||||
|
||||
#: home-manager/install.nix:83
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:448
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "Kan ikke igangsette flak-oppsett"
|
||||
|
||||
#: home-manager/home-manager:521
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"Det er %d ulest og relevant nyhetssak.\n"
|
||||
"Les den ved å kjøre kommandoen «%s news»."
|
||||
msgstr[1] ""
|
||||
"Det er %d uleste og relevante nyhetssaker.\n"
|
||||
"Les dem ved å kjøre kommandoen «%s news»."
|
||||
|
||||
#: home-manager/home-manager:535
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Ukjent «news.display»-innstilling «%s»."
|
||||
|
||||
#: home-manager/home-manager:542
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Sett «$EDITOR»-miljøvariabelen"
|
||||
|
||||
#: home-manager/home-manager:557
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "Kan ikke kjøre bygg i skrivebeskyttet mappe"
|
||||
|
||||
#: home-manager/home-manager:641
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "Ingen generering med ID-en %s"
|
||||
|
||||
#: home-manager/home-manager:643
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "Kan ikke fjerne nåværende generering %s"
|
||||
|
||||
#: home-manager/home-manager:645
|
||||
msgid "Removing generation %s"
|
||||
msgstr "Fjerner generering %s"
|
||||
|
||||
#: home-manager/home-manager:664
|
||||
msgid "No generations to expire"
|
||||
msgstr "Ingen genereringer til utløp"
|
||||
|
||||
#: home-manager/home-manager:675
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "Ingen «home-manager»-pakker ser ut til å være installert."
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:702
|
||||
msgid "Sorry, this command is not yet supported in flake setup"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:739
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Ukjent parameter %s"
|
||||
|
||||
#: home-manager/home-manager:755
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "Dette vil fjerne Home Manager fra systemet ditt."
|
||||
|
||||
#: home-manager/home-manager:758
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "Dette er en testkjøring. Ingenting vil bli avinstallert."
|
||||
|
||||
#: home-manager/home-manager:762
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Vil du avinstallere Home Manager?"
|
||||
|
||||
#: home-manager/home-manager:768
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Bytter til tomt Home Manager-oppsett …"
|
||||
|
||||
#: home-manager/home-manager:795
|
||||
msgid "Yay!"
|
||||
msgstr "Hurra!"
|
||||
|
||||
#: home-manager/home-manager:800
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "Home Manager er avinstallert, men din home.nix er levnet uforandret."
|
||||
|
||||
#: home-manager/home-manager:1011
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "«expire-generations» forventet ett argument, mottok %d."
|
||||
|
||||
#: home-manager/home-manager:1033
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Ukjent kommando: %s"
|
||||
|
||||
#: home-manager/install.nix:18
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
msgstr "Denne avledningen kan ikke bygges, vennligst kjør den i nix-shell."
|
||||
|
||||
#~ msgid "Creating initial Home Manager configuration..."
|
||||
#~ msgstr "Oppretter ny Home Manager-konfigurasjon..."
|
||||
|
||||
#~ msgid "Remove all Home Manager generations?"
|
||||
#~ msgstr "Fjern alle Home Manager-genereringer?"
|
||||
|
||||
#~ msgid "All generations are now eligible for garbage collection."
|
||||
#~ msgstr "Alle genereringer er nå satt ut til søppelhenting."
|
||||
|
||||
#~ msgid "Leaving generations but they may still be garbage collected."
|
||||
#~ msgstr ""
|
||||
#~ "Levner genereringer, men de kan fremdeles ryddes opp av søppelinnsamleren."
|
||||
|
||||
214
home-manager/po/nl.po
Normal file
214
home-manager/po/nl.po
Normal file
@@ -0,0 +1,214 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR Home Manager contributors
|
||||
# This file is distributed under the same license as the Home Manager package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Home Manager\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
||||
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
||||
"PO-Revision-Date: 2023-04-10 11:48+0000\n"
|
||||
"Last-Translator: Pablo Bollansee <pablo.bollansee@gmail.com>\n"
|
||||
"Language-Team: Dutch <https://hosted.weblate.org/projects/home-manager/cli/"
|
||||
"nl/>\n"
|
||||
"Language: nl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.17-dev\n"
|
||||
|
||||
#: home-manager/home-manager:71
|
||||
msgid "No configuration file found at %s"
|
||||
msgstr "Geen configuratiebestand gevonden op %s"
|
||||
|
||||
#. translators: The first '%s' specifier will be replaced by either
|
||||
#. 'home.nix' or 'flake.nix'.
|
||||
#: home-manager/home-manager:88 home-manager/home-manager:92
|
||||
#: home-manager/home-manager:154
|
||||
msgid ""
|
||||
"Keeping your Home Manager %s in %s is deprecated,\n"
|
||||
"please move it to %s"
|
||||
msgstr ""
|
||||
"Je Home Manager %s bestand opslaan in %s is niet langer ondersteund,\n"
|
||||
"gelieve het te verplaatsen naar %s"
|
||||
|
||||
#: home-manager/home-manager:99
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr "Geen configuratiebestand gevonden, maak er alstublieft een aan op %s"
|
||||
|
||||
#: home-manager/home-manager:136
|
||||
msgid "Could not find suitable profile directory, tried %s and %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:191
|
||||
msgid "Can't inspect options of a flake configuration"
|
||||
msgstr "Kan de opties van een flake configuratie niet inspecteren"
|
||||
|
||||
#: home-manager/home-manager:253 home-manager/home-manager:276
|
||||
#: home-manager/home-manager:973
|
||||
msgid "%s: unknown option '%s'"
|
||||
msgstr "%s: onbekende keuze '%s'"
|
||||
|
||||
#: home-manager/home-manager:258 home-manager/home-manager:974
|
||||
msgid "Run '%s --help' for usage help"
|
||||
msgstr "Voer '%s --help' in om gebruiksinfo te zien"
|
||||
|
||||
#: home-manager/home-manager:284 home-manager/home-manager:383
|
||||
msgid "The file %s already exists, leaving it unchanged..."
|
||||
msgstr "Het bestand %s bestaat al, het zal niet aangepast worden..."
|
||||
|
||||
#: home-manager/home-manager:286 home-manager/home-manager:385
|
||||
msgid "Creating %s..."
|
||||
msgstr "%s aan het aanmaken..."
|
||||
|
||||
#: home-manager/home-manager:427
|
||||
msgid "Creating initial Home Manager generation..."
|
||||
msgstr "Initiële Home Manager generatie aan het maken..."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a file path.
|
||||
#: home-manager/home-manager:432
|
||||
msgid ""
|
||||
"All done! The home-manager tool should now be installed and you can edit\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"to configure Home Manager. Run 'man home-configuration.nix' to\n"
|
||||
"see all available options."
|
||||
msgstr ""
|
||||
"Helemaal klaar! De home-manager tool zou nu geïnstalleerd moeten zijn en je "
|
||||
"kan\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"aanpassen om Home Manager te configureren. Draai 'man home-configuration."
|
||||
"nix' om\n"
|
||||
"alle opties te zien."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a URL.
|
||||
#: home-manager/home-manager:437
|
||||
msgid ""
|
||||
"Uh oh, the installation failed! Please create an issue at\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"if the error seems to be the fault of Home Manager."
|
||||
msgstr ""
|
||||
"Oh nee, de installatie is mislukt. Gelieve een ticket aan te maken in\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"als de error de schuld van Home Manager lijkt te zijn."
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:448
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "Het is niet gelukt om de flake-configuratie te creëren"
|
||||
|
||||
#: home-manager/home-manager:521
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"Er is %d ongelezen and relevant nieuws artikel.\n"
|
||||
"Lees het door het commando \"%s news\" uit te voeren."
|
||||
msgstr[1] ""
|
||||
"Er zijn %d ongelezen and relevante nieuws artikelen.\n"
|
||||
"Lees ze door het commando \"%s news\" uit te voeren."
|
||||
|
||||
#: home-manager/home-manager:535
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Onbekende \"new.display\" instelling \"%s\"."
|
||||
|
||||
#: home-manager/home-manager:542
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Gelieve de $EDITOR omgevingsvariabele in te stellen"
|
||||
|
||||
#: home-manager/home-manager:557
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "Het is niet mogelijk om te bouwen in een read-only map"
|
||||
|
||||
#: home-manager/home-manager:641
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "Geen generatie met de ID %s"
|
||||
|
||||
#: home-manager/home-manager:643
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "Het is niet mogelijk om de huidige generatie %s te verwijderen"
|
||||
|
||||
#: home-manager/home-manager:645
|
||||
msgid "Removing generation %s"
|
||||
msgstr "Generatie %s aan het verwijderen"
|
||||
|
||||
#: home-manager/home-manager:664
|
||||
msgid "No generations to expire"
|
||||
msgstr "Geen generatie om te beëindigen"
|
||||
|
||||
#: home-manager/home-manager:675
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "Er lijkt geen home-manager pakket geïnstalleerd te zijn."
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:702
|
||||
msgid "Sorry, this command is not yet supported in flake setup"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:739
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Onbekend argument %s"
|
||||
|
||||
#: home-manager/home-manager:755
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "Dit zal Home Manager van jouw systeem verwijderen."
|
||||
|
||||
#: home-manager/home-manager:758
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "Dit is een oefening, niets wordt werkelijk geïnstalleerd."
|
||||
|
||||
#: home-manager/home-manager:762
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Wilt u zeker Home Manager verwijderen?"
|
||||
|
||||
#: home-manager/home-manager:768
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Naar een lege Home Manager configuratie aan het veranderen..."
|
||||
|
||||
#: home-manager/home-manager:795
|
||||
msgid "Yay!"
|
||||
msgstr "Joepie!"
|
||||
|
||||
#: home-manager/home-manager:800
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "Home Manager is verwijdert maar jouw home.nix is onaangeraakt."
|
||||
|
||||
#: home-manager/home-manager:1011
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations verwacht één argument, maar kreeg er %d."
|
||||
|
||||
#: home-manager/home-manager:1033
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Onbekende opdracht: %s"
|
||||
|
||||
#: home-manager/install.nix:18
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
msgstr ""
|
||||
"Deze afleiding kan niet gebouwd worden, voer het alstublieft uit met nix-"
|
||||
"shell."
|
||||
|
||||
#~ msgid "Creating initial Home Manager configuration..."
|
||||
#~ msgstr "Initiële Home Manager configuratie aan het maken..."
|
||||
|
||||
#~ msgid "Remove all Home Manager generations?"
|
||||
#~ msgstr "Alle Home Manager generaties verwijderen?"
|
||||
|
||||
#~ msgid "All generations are now eligible for garbage collection."
|
||||
#~ msgstr "Alle generaties zijn nu in aanmerking voor afvalinzameling."
|
||||
|
||||
#~ msgid "Leaving generations but they may still be garbage collected."
|
||||
#~ msgstr "Generaties blijven momenteel bestaan maar worden later opgekuist."
|
||||
@@ -7,9 +7,9 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Home Manager\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
||||
"POT-Creation-Date: 2022-03-26 15:08+0100\n"
|
||||
"PO-Revision-Date: 2021-12-29 08:48+0000\n"
|
||||
"Last-Translator: Tomasz Czyż <tomasz.czyz@eskapizm.pl>\n"
|
||||
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
||||
"PO-Revision-Date: 2023-05-03 19:48+0000\n"
|
||||
"Last-Translator: Eryk Michalak <gnu.ewm@protonmail.com>\n"
|
||||
"Language-Team: Polish <https://hosted.weblate.org/projects/home-manager/cli/"
|
||||
"pl/>\n"
|
||||
"Language: pl\n"
|
||||
@@ -18,143 +18,59 @@ msgstr ""
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
|
||||
"|| n%100>=20) ? 1 : 2;\n"
|
||||
"X-Generator: Weblate 4.10.1\n"
|
||||
"X-Generator: Weblate 4.18-dev\n"
|
||||
|
||||
#: home-manager/home-manager:60
|
||||
#: home-manager/home-manager:71
|
||||
msgid "No configuration file found at %s"
|
||||
msgstr "Nie znaleziono pliku konfiguracyjnego %s"
|
||||
|
||||
#: home-manager/home-manager:79
|
||||
#. translators: The first '%s' specifier will be replaced by either
|
||||
#. 'home.nix' or 'flake.nix'.
|
||||
#: home-manager/home-manager:88 home-manager/home-manager:92
|
||||
#: home-manager/home-manager:154
|
||||
msgid ""
|
||||
"Keeping your Home Manager %s in %s is deprecated,\n"
|
||||
"please move it to %s"
|
||||
msgstr ""
|
||||
"Przechowywanie Home Manager %s w %s jest przestarzałe,\n"
|
||||
"proszę przenieść go do %s"
|
||||
|
||||
#: home-manager/home-manager:99
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr "Nie znaleziono pliku konfiguracyjnego. Proszę utworzyć plik %s"
|
||||
|
||||
#: home-manager/home-manager:122
|
||||
#: home-manager/home-manager:136
|
||||
msgid "Could not find suitable profile directory, tried %s and %s"
|
||||
msgstr "Nie można znaleźć odpowiedniego katalogu profilu, próbowano %s i %s"
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:191
|
||||
msgid "Can't inspect options of a flake configuration"
|
||||
msgstr "Nie mogę sprawdzić konfiguracji flake'a"
|
||||
|
||||
#: home-manager/home-manager:162
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "Nie mogę zinstancjować konfiguracji flake'a"
|
||||
|
||||
#: home-manager/home-manager:237
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"Jest %d nieodczytana wiadomość.\n"
|
||||
"Możesz ją odczytać uruchamiając „%s news”."
|
||||
msgstr[1] ""
|
||||
"Jest %d nieodczytanych wiadomości.\n"
|
||||
"Możesz je odczytać uruchamiając „%s news”."
|
||||
msgstr[2] ""
|
||||
"Jest %d nieodczytanych wiadomości.\n"
|
||||
"Możesz je odczytać uruchamiając „%s news”."
|
||||
|
||||
#: home-manager/home-manager:251
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Nieznane ustawienie „%s” „news.display”."
|
||||
|
||||
#: home-manager/home-manager:258
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Proszę ustawić zmienną środowiskową $EDITOR"
|
||||
|
||||
#: home-manager/home-manager:273
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "Nie mogę uruchomić budowania w katalogu tylko-do-odczytu"
|
||||
|
||||
#: home-manager/home-manager:355
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "Brak generacji z ID %s"
|
||||
|
||||
#: home-manager/home-manager:357
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "Nie mogę usunąć bieżącej generacji %s"
|
||||
|
||||
#: home-manager/home-manager:359
|
||||
msgid "Removing generation %s"
|
||||
msgstr "Usuwanie generacji %s"
|
||||
|
||||
#: home-manager/home-manager:385
|
||||
msgid "No generations to expire"
|
||||
msgstr "Brak wygasających generacji"
|
||||
|
||||
#: home-manager/home-manager:396
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "Pakiety home-manager nie wydają się być zainstalowane."
|
||||
|
||||
#: home-manager/home-manager:453
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Nieznany argument %s"
|
||||
|
||||
#: home-manager/home-manager:469
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "To usunie Home Managera z twojego systemu."
|
||||
|
||||
#: home-manager/home-manager:472
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "To jest próba, faktycznie nic nie będzie usunięte."
|
||||
|
||||
#: home-manager/home-manager:476
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Jesteś pewien usunięcia Home Managera?"
|
||||
|
||||
#: home-manager/home-manager:481
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Przełączanie do pustej konfiguracji Home Managera..."
|
||||
|
||||
#: home-manager/home-manager:493
|
||||
msgid "Yay!"
|
||||
msgstr "Jej!"
|
||||
|
||||
#: home-manager/home-manager:500
|
||||
msgid "Remove all Home Manager generations?"
|
||||
msgstr "Usunąć wszystkie generacje Home Managera?"
|
||||
|
||||
#: home-manager/home-manager:507
|
||||
msgid "All generations are now eligible for garbage collection."
|
||||
msgstr ""
|
||||
"Wszystkie generacje są uwzględnione przy oczyszczaniu (garbage collection)."
|
||||
|
||||
#: home-manager/home-manager:510
|
||||
msgid "Leaving generations but they may still be garbage collected."
|
||||
msgstr ""
|
||||
"Zostawiam generacje ale wciąż mogą zostać usunięte (garbage collection)."
|
||||
|
||||
#: home-manager/home-manager:514
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr ""
|
||||
"Home Manager jest usunięty ale twój home.nix jest pozostawiony nietknięty."
|
||||
|
||||
#: home-manager/home-manager:673
|
||||
#: home-manager/home-manager:253 home-manager/home-manager:276
|
||||
#: home-manager/home-manager:973
|
||||
msgid "%s: unknown option '%s'"
|
||||
msgstr "%s: nieznana opcja „%s”"
|
||||
|
||||
#: home-manager/home-manager:674
|
||||
#: home-manager/home-manager:258 home-manager/home-manager:974
|
||||
msgid "Run '%s --help' for usage help"
|
||||
msgstr "Uruchom „%s --help” by otrzymać pomoc"
|
||||
|
||||
#: home-manager/home-manager:708
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations oczekuje jednego argumentu, otrzymane %d."
|
||||
#: home-manager/home-manager:284 home-manager/home-manager:383
|
||||
msgid "The file %s already exists, leaving it unchanged..."
|
||||
msgstr "Plik %s już istnieje, pozostawianie go bez zmian..."
|
||||
|
||||
#: home-manager/home-manager:730
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Nieznana komenda: %s"
|
||||
#: home-manager/home-manager:286 home-manager/home-manager:385
|
||||
msgid "Creating %s..."
|
||||
msgstr "Tworzenie %s..."
|
||||
|
||||
#: home-manager/install.nix:22
|
||||
msgid "Creating initial Home Manager configuration..."
|
||||
msgstr "Tworzenie pierwotnej konfiguracji Home Managera..."
|
||||
|
||||
#: home-manager/install.nix:66
|
||||
#: home-manager/home-manager:427
|
||||
msgid "Creating initial Home Manager generation..."
|
||||
msgstr "Tworzenie pierwotnej generacji Home Managera..."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a file path.
|
||||
#: home-manager/install.nix:71
|
||||
#: home-manager/home-manager:432
|
||||
msgid ""
|
||||
"All done! The home-manager tool should now be installed and you can edit\n"
|
||||
"\n"
|
||||
@@ -171,7 +87,7 @@ msgstr ""
|
||||
"sprawdzić wszystkie możliwe opcje konfiguracyjne."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a URL.
|
||||
#: home-manager/install.nix:76
|
||||
#: home-manager/home-manager:437
|
||||
msgid ""
|
||||
"Uh oh, the installation failed! Please create an issue at\n"
|
||||
"\n"
|
||||
@@ -185,7 +101,120 @@ msgstr ""
|
||||
"\n"
|
||||
"jeśli myślisz, że problem spowodowany jest przez błąd Home Managera."
|
||||
|
||||
#: home-manager/install.nix:83
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:448
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "Nie mogę zinstancjować konfiguracji flake'a"
|
||||
|
||||
#: home-manager/home-manager:521
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"Jest %d nieodczytana wiadomość.\n"
|
||||
"Możesz ją odczytać uruchamiając „%s news”."
|
||||
msgstr[1] ""
|
||||
"Jest %d nieodczytanych wiadomości.\n"
|
||||
"Możesz je odczytać uruchamiając „%s news”."
|
||||
msgstr[2] ""
|
||||
"Jest %d nieodczytanych wiadomości.\n"
|
||||
"Możesz je odczytać uruchamiając „%s news”."
|
||||
|
||||
#: home-manager/home-manager:535
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Nieznane ustawienie „%s” „news.display”."
|
||||
|
||||
#: home-manager/home-manager:542
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Proszę ustawić zmienną środowiskową $EDITOR"
|
||||
|
||||
#: home-manager/home-manager:557
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "Nie mogę uruchomić budowania w katalogu tylko-do-odczytu"
|
||||
|
||||
#: home-manager/home-manager:641
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "Brak generacji z ID %s"
|
||||
|
||||
#: home-manager/home-manager:643
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "Nie mogę usunąć bieżącej generacji %s"
|
||||
|
||||
#: home-manager/home-manager:645
|
||||
msgid "Removing generation %s"
|
||||
msgstr "Usuwanie generacji %s"
|
||||
|
||||
#: home-manager/home-manager:664
|
||||
msgid "No generations to expire"
|
||||
msgstr "Brak wygasających generacji"
|
||||
|
||||
#: home-manager/home-manager:675
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "Pakiety home-manager nie wydają się być zainstalowane."
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:702
|
||||
msgid "Sorry, this command is not yet supported in flake setup"
|
||||
msgstr ""
|
||||
"Przepraszamy, ta komenda nie jest jeszcze obsługiwana w konfiguracji flake"
|
||||
|
||||
#: home-manager/home-manager:739
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Nieznany argument %s"
|
||||
|
||||
#: home-manager/home-manager:755
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "To usunie Home Managera z twojego systemu."
|
||||
|
||||
#: home-manager/home-manager:758
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "To jest próba, faktycznie nic nie będzie usunięte."
|
||||
|
||||
#: home-manager/home-manager:762
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Jesteś pewien usunięcia Home Managera?"
|
||||
|
||||
#: home-manager/home-manager:768
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Przełączanie do pustej konfiguracji Home Managera..."
|
||||
|
||||
#: home-manager/home-manager:795
|
||||
msgid "Yay!"
|
||||
msgstr "Jej!"
|
||||
|
||||
#: home-manager/home-manager:800
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr ""
|
||||
"Home Manager jest usunięty ale twój home.nix jest pozostawiony nietknięty."
|
||||
|
||||
#: home-manager/home-manager:1011
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations oczekuje jednego argumentu, otrzymane %d."
|
||||
|
||||
#: home-manager/home-manager:1033
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Nieznana komenda: %s"
|
||||
|
||||
#: home-manager/install.nix:18
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
msgstr ""
|
||||
"Ta paczka (derivation) nie da się budować, proszę uruchom używając nix-shell."
|
||||
|
||||
#~ msgid "Creating initial Home Manager configuration..."
|
||||
#~ msgstr "Tworzenie pierwotnej konfiguracji Home Managera..."
|
||||
|
||||
#~ msgid "Remove all Home Manager generations?"
|
||||
#~ msgstr "Usunąć wszystkie generacje Home Managera?"
|
||||
|
||||
#~ msgid "All generations are now eligible for garbage collection."
|
||||
#~ msgstr ""
|
||||
#~ "Wszystkie generacje są uwzględnione przy oczyszczaniu (garbage "
|
||||
#~ "collection)."
|
||||
|
||||
#~ msgid "Leaving generations but they may still be garbage collected."
|
||||
#~ msgstr ""
|
||||
#~ "Zostawiam generacje ale wciąż mogą zostać usunięte (garbage collection)."
|
||||
|
||||
213
home-manager/po/pt.po
Normal file
213
home-manager/po/pt.po
Normal file
@@ -0,0 +1,213 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR Home Manager contributors
|
||||
# This file is distributed under the same license as the Home Manager package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Home Manager\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
||||
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
||||
"PO-Revision-Date: 2023-02-19 10:19+0000\n"
|
||||
"Last-Translator: ssantos <ssantos@web.de>\n"
|
||||
"Language-Team: Portuguese <https://hosted.weblate.org/projects/home-manager/"
|
||||
"cli/pt/>\n"
|
||||
"Language: pt\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
||||
"X-Generator: Weblate 4.16-dev\n"
|
||||
|
||||
#: home-manager/home-manager:71
|
||||
msgid "No configuration file found at %s"
|
||||
msgstr "Nenhum ficheiro de configuração encontrado no %s"
|
||||
|
||||
#. translators: The first '%s' specifier will be replaced by either
|
||||
#. 'home.nix' or 'flake.nix'.
|
||||
#: home-manager/home-manager:88 home-manager/home-manager:92
|
||||
#: home-manager/home-manager:154
|
||||
msgid ""
|
||||
"Keeping your Home Manager %s in %s is deprecated,\n"
|
||||
"please move it to %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:99
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr "Ficheiro de configuração não encontrado. Por favor crie um em %s"
|
||||
|
||||
#: home-manager/home-manager:136
|
||||
msgid "Could not find suitable profile directory, tried %s and %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:191
|
||||
msgid "Can't inspect options of a flake configuration"
|
||||
msgstr "Não é possivel inspecionar a opção de configuração do flake"
|
||||
|
||||
#: home-manager/home-manager:253 home-manager/home-manager:276
|
||||
#: home-manager/home-manager:973
|
||||
msgid "%s: unknown option '%s'"
|
||||
msgstr "%s: opção não reconhecida '%s'"
|
||||
|
||||
#: home-manager/home-manager:258 home-manager/home-manager:974
|
||||
msgid "Run '%s --help' for usage help"
|
||||
msgstr "Execute '%s --help' para instruções de uso"
|
||||
|
||||
#: home-manager/home-manager:284 home-manager/home-manager:383
|
||||
msgid "The file %s already exists, leaving it unchanged..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:286 home-manager/home-manager:385
|
||||
msgid "Creating %s..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:427
|
||||
msgid "Creating initial Home Manager generation..."
|
||||
msgstr "Criando a geração inicial do Home Manager..."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a file path.
|
||||
#: home-manager/home-manager:432
|
||||
msgid ""
|
||||
"All done! The home-manager tool should now be installed and you can edit\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"to configure Home Manager. Run 'man home-configuration.nix' to\n"
|
||||
"see all available options."
|
||||
msgstr ""
|
||||
"Pronto! O home-manager agora deve ser instalado e poderá editar o ficheiro\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"para configurar o Home Manager. Execute 'man home-configuration.nix' para\n"
|
||||
"ver todas as opções disponíveis."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a URL.
|
||||
#: home-manager/home-manager:437
|
||||
msgid ""
|
||||
"Uh oh, the installation failed! Please create an issue at\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"if the error seems to be the fault of Home Manager."
|
||||
msgstr ""
|
||||
"Ixi, a instalação falhou! Por favor crie um issue no\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"se o erro lhe parecer ser um problema do Home Manager."
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:448
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "Não foi possível instanciar a configuração de flake"
|
||||
|
||||
#: home-manager/home-manager:521
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"Há %d novo item relevante não lido\n"
|
||||
"Leia executando o comando \"%s news\"."
|
||||
msgstr[1] ""
|
||||
"Há %d novos itens relevants não lidos\n"
|
||||
"Leia executando o comando \"%s news\"."
|
||||
|
||||
#: home-manager/home-manager:535
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Valor \"%s\" para configuração \"news.display\" não reconhecido."
|
||||
|
||||
#: home-manager/home-manager:542
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Por favor defina a variável de ambiente $EDITOR"
|
||||
|
||||
#: home-manager/home-manager:557
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "Não é possível fazer o build num diretório somente leitura"
|
||||
|
||||
#: home-manager/home-manager:641
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "Nenhuma geração com ID %s"
|
||||
|
||||
#: home-manager/home-manager:643
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "Não foi possível remover a geração atual %s"
|
||||
|
||||
#: home-manager/home-manager:645
|
||||
msgid "Removing generation %s"
|
||||
msgstr "A remover a geração %s"
|
||||
|
||||
#: home-manager/home-manager:664
|
||||
msgid "No generations to expire"
|
||||
msgstr "Nenhuma geração a expirar"
|
||||
|
||||
#: home-manager/home-manager:675
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "Nenhum pacote parece instalado com home-manager."
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:702
|
||||
msgid "Sorry, this command is not yet supported in flake setup"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:739
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Argumento desconhecido %s"
|
||||
|
||||
#: home-manager/home-manager:755
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "Isto irá remover o Home Manager do seu sistema."
|
||||
|
||||
#: home-manager/home-manager:758
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "Essa é uma execução de teste, nada de fato será desinstalado."
|
||||
|
||||
#: home-manager/home-manager:762
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Confirma a desinstalação do Home Manager?"
|
||||
|
||||
#: home-manager/home-manager:768
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Trocando para configuração vazia do Home Manager..."
|
||||
|
||||
#: home-manager/home-manager:795
|
||||
msgid "Yay!"
|
||||
msgstr "Boa!"
|
||||
|
||||
#: home-manager/home-manager:800
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "Home Manager foi desinstalado, mas o seu home.nix foi deixado intacto."
|
||||
|
||||
#: home-manager/home-manager:1011
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations espera um argumento, recebeu %d."
|
||||
|
||||
#: home-manager/home-manager:1033
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Comando não reconhecido: %s"
|
||||
|
||||
#: home-manager/install.nix:18
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
msgstr ""
|
||||
"O build dessa derivation não pode ser feito, por favor rode usando o nix-"
|
||||
"shell."
|
||||
|
||||
#~ msgid "Creating initial Home Manager configuration..."
|
||||
#~ msgstr "Criando a configuração inicial do Home Manager..."
|
||||
|
||||
#~ msgid "Remove all Home Manager generations?"
|
||||
#~ msgstr "Remover todas as gerações do Home Manager?"
|
||||
|
||||
#~ msgid "All generations are now eligible for garbage collection."
|
||||
#~ msgstr ""
|
||||
#~ "Todas gerações agora são elegíveis para coleta do garbage collector."
|
||||
|
||||
#~ msgid "Leaving generations but they may still be garbage collected."
|
||||
#~ msgstr ""
|
||||
#~ "Deixando gerações, entretanto elas ainda poderão ser limpas pelo garbage "
|
||||
#~ "collector."
|
||||
@@ -7,11 +7,11 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Home Manager\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
||||
"POT-Creation-Date: 2022-03-26 15:08+0100\n"
|
||||
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
||||
"PO-Revision-Date: 2022-04-04 11:11+0000\n"
|
||||
"Last-Translator: Alex Miranda <alexmirandamoraes@gmail.com>\n"
|
||||
"Language-Team: Portuguese (Brazil) <https://hosted.weblate.org/projects/"
|
||||
"home-manager/cli/pt_BR/>\n"
|
||||
"Language-Team: Portuguese (Brazil) <https://hosted.weblate.org/projects/home-"
|
||||
"manager/cli/pt_BR/>\n"
|
||||
"Language: pt_BR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
@@ -19,137 +19,55 @@ msgstr ""
|
||||
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
||||
"X-Generator: Weblate 4.12-dev\n"
|
||||
|
||||
#: home-manager/home-manager:60
|
||||
#: home-manager/home-manager:71
|
||||
msgid "No configuration file found at %s"
|
||||
msgstr "Nenhum arquivo de configuração encontrado no %s"
|
||||
|
||||
#: home-manager/home-manager:79
|
||||
#. translators: The first '%s' specifier will be replaced by either
|
||||
#. 'home.nix' or 'flake.nix'.
|
||||
#: home-manager/home-manager:88 home-manager/home-manager:92
|
||||
#: home-manager/home-manager:154
|
||||
msgid ""
|
||||
"Keeping your Home Manager %s in %s is deprecated,\n"
|
||||
"please move it to %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:99
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr "Arquivo de configuração não encontrado. Por favor crie um em %s"
|
||||
|
||||
#: home-manager/home-manager:122
|
||||
#: home-manager/home-manager:136
|
||||
msgid "Could not find suitable profile directory, tried %s and %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:191
|
||||
msgid "Can't inspect options of a flake configuration"
|
||||
msgstr "Não é possivel inspecionar a opção de configuração do flake"
|
||||
|
||||
#: home-manager/home-manager:162
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "Não foi possível instanciar a configuração de flake"
|
||||
|
||||
#: home-manager/home-manager:237
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"Há %d novo item relevante não lido\n"
|
||||
"Leia executando o comando \"%s news\"."
|
||||
msgstr[1] ""
|
||||
"Há %d novos itens relevants não lidos\n"
|
||||
"Leia executando o comando \"%s news\"."
|
||||
|
||||
#: home-manager/home-manager:251
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Valor \"%s\" para configuração \"news.display\" não reconhecido."
|
||||
|
||||
#: home-manager/home-manager:258
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Por favor defina a variável de ambiente $EDITOR"
|
||||
|
||||
#: home-manager/home-manager:273
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "Não é possível fazer o build em um diretório somente leitura"
|
||||
|
||||
#: home-manager/home-manager:355
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "Nenhuma geração com ID %s"
|
||||
|
||||
#: home-manager/home-manager:357
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "Não foi possível remover a geração atual %s"
|
||||
|
||||
#: home-manager/home-manager:359
|
||||
msgid "Removing generation %s"
|
||||
msgstr "Removendo geração %s"
|
||||
|
||||
#: home-manager/home-manager:385
|
||||
msgid "No generations to expire"
|
||||
msgstr "Nenhuma geração a expirar"
|
||||
|
||||
#: home-manager/home-manager:396
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "Nenhum pacote parece instalado com home-manager."
|
||||
|
||||
#: home-manager/home-manager:453
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Argumento desconhecido %s"
|
||||
|
||||
#: home-manager/home-manager:469
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "Isso irá remover o Home Manager do seu sistema."
|
||||
|
||||
#: home-manager/home-manager:472
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "Essa é uma execução de teste, nada de fato será desinstalado."
|
||||
|
||||
#: home-manager/home-manager:476
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Confirma a desinstalação do Home Manager?"
|
||||
|
||||
#: home-manager/home-manager:481
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Trocando para configuração vazia do Home Manager..."
|
||||
|
||||
#: home-manager/home-manager:493
|
||||
msgid "Yay!"
|
||||
msgstr "Boa!"
|
||||
|
||||
#: home-manager/home-manager:500
|
||||
msgid "Remove all Home Manager generations?"
|
||||
msgstr "Remover todas as gerações do Home Manager?"
|
||||
|
||||
#: home-manager/home-manager:507
|
||||
msgid "All generations are now eligible for garbage collection."
|
||||
msgstr "Todas gerações agora são elegíveis para coleta do garbage collector."
|
||||
|
||||
#: home-manager/home-manager:510
|
||||
msgid "Leaving generations but they may still be garbage collected."
|
||||
msgstr ""
|
||||
"Deixando gerações, entretanto elas ainda poderão ser limpas pelo garbage "
|
||||
"collector."
|
||||
|
||||
#: home-manager/home-manager:514
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "Home Manager foi desinstalado, mas o seu home.nix foi deixado intacto."
|
||||
|
||||
#: home-manager/home-manager:673
|
||||
#: home-manager/home-manager:253 home-manager/home-manager:276
|
||||
#: home-manager/home-manager:973
|
||||
msgid "%s: unknown option '%s'"
|
||||
msgstr "%s: opção não reconhecida '%s'"
|
||||
|
||||
#: home-manager/home-manager:674
|
||||
#: home-manager/home-manager:258 home-manager/home-manager:974
|
||||
msgid "Run '%s --help' for usage help"
|
||||
msgstr "Execute '%s --help' para instruções de uso"
|
||||
|
||||
#: home-manager/home-manager:708
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations espera um argumento, recebeu %d."
|
||||
#: home-manager/home-manager:284 home-manager/home-manager:383
|
||||
msgid "The file %s already exists, leaving it unchanged..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:730
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Comando não reconhecido: %s"
|
||||
#: home-manager/home-manager:286 home-manager/home-manager:385
|
||||
msgid "Creating %s..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/install.nix:22
|
||||
msgid "Creating initial Home Manager configuration..."
|
||||
msgstr "Criando a configuração inicial do Home Manager..."
|
||||
|
||||
#: home-manager/install.nix:66
|
||||
#: home-manager/home-manager:427
|
||||
msgid "Creating initial Home Manager generation..."
|
||||
msgstr "Criando a geração inicial do Home Manager..."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a file path.
|
||||
#: home-manager/install.nix:71
|
||||
#: home-manager/home-manager:432
|
||||
msgid ""
|
||||
"All done! The home-manager tool should now be installed and you can edit\n"
|
||||
"\n"
|
||||
@@ -167,7 +85,7 @@ msgstr ""
|
||||
"ver todas as opções disponíveis."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a URL.
|
||||
#: home-manager/install.nix:76
|
||||
#: home-manager/home-manager:437
|
||||
msgid ""
|
||||
"Uh oh, the installation failed! Please create an issue at\n"
|
||||
"\n"
|
||||
@@ -181,8 +99,116 @@ msgstr ""
|
||||
"\n"
|
||||
"se o erro lhe parecer ser um problema do Home Manager."
|
||||
|
||||
#: home-manager/install.nix:83
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:448
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "Não foi possível instanciar a configuração de flake"
|
||||
|
||||
#: home-manager/home-manager:521
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"Há %d novo item relevante não lido\n"
|
||||
"Leia executando o comando \"%s news\"."
|
||||
msgstr[1] ""
|
||||
"Há %d novos itens relevants não lidos\n"
|
||||
"Leia executando o comando \"%s news\"."
|
||||
|
||||
#: home-manager/home-manager:535
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Valor \"%s\" para configuração \"news.display\" não reconhecido."
|
||||
|
||||
#: home-manager/home-manager:542
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Por favor defina a variável de ambiente $EDITOR"
|
||||
|
||||
#: home-manager/home-manager:557
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "Não é possível fazer o build em um diretório somente leitura"
|
||||
|
||||
#: home-manager/home-manager:641
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "Nenhuma geração com ID %s"
|
||||
|
||||
#: home-manager/home-manager:643
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "Não foi possível remover a geração atual %s"
|
||||
|
||||
#: home-manager/home-manager:645
|
||||
msgid "Removing generation %s"
|
||||
msgstr "Removendo geração %s"
|
||||
|
||||
#: home-manager/home-manager:664
|
||||
msgid "No generations to expire"
|
||||
msgstr "Nenhuma geração a expirar"
|
||||
|
||||
#: home-manager/home-manager:675
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "Nenhum pacote parece instalado com home-manager."
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:702
|
||||
msgid "Sorry, this command is not yet supported in flake setup"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:739
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Argumento desconhecido %s"
|
||||
|
||||
#: home-manager/home-manager:755
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "Isso irá remover o Home Manager do seu sistema."
|
||||
|
||||
#: home-manager/home-manager:758
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "Essa é uma execução de teste, nada de fato será desinstalado."
|
||||
|
||||
#: home-manager/home-manager:762
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Confirma a desinstalação do Home Manager?"
|
||||
|
||||
#: home-manager/home-manager:768
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Trocando para configuração vazia do Home Manager..."
|
||||
|
||||
#: home-manager/home-manager:795
|
||||
msgid "Yay!"
|
||||
msgstr "Boa!"
|
||||
|
||||
#: home-manager/home-manager:800
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "Home Manager foi desinstalado, mas o seu home.nix foi deixado intacto."
|
||||
|
||||
#: home-manager/home-manager:1011
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations espera um argumento, recebeu %d."
|
||||
|
||||
#: home-manager/home-manager:1033
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Comando não reconhecido: %s"
|
||||
|
||||
#: home-manager/install.nix:18
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
msgstr ""
|
||||
"O build dessa derivation não pode ser feito, por favor rode usando o nix-"
|
||||
"shell."
|
||||
|
||||
#~ msgid "Creating initial Home Manager configuration..."
|
||||
#~ msgstr "Criando a configuração inicial do Home Manager..."
|
||||
|
||||
#~ msgid "Remove all Home Manager generations?"
|
||||
#~ msgstr "Remover todas as gerações do Home Manager?"
|
||||
|
||||
#~ msgid "All generations are now eligible for garbage collection."
|
||||
#~ msgstr ""
|
||||
#~ "Todas gerações agora são elegíveis para coleta do garbage collector."
|
||||
|
||||
#~ msgid "Leaving generations but they may still be garbage collected."
|
||||
#~ msgstr ""
|
||||
#~ "Deixando gerações, entretanto elas ainda poderão ser limpas pelo garbage "
|
||||
#~ "collector."
|
||||
|
||||
180
home-manager/po/ro.po
Normal file
180
home-manager/po/ro.po
Normal file
@@ -0,0 +1,180 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR Home Manager contributors
|
||||
# This file is distributed under the same license as the Home Manager package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Home Manager\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
||||
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: Automatically generated\n"
|
||||
"Language-Team: none\n"
|
||||
"Language: ro\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
|
||||
"20)) ? 1 : 2;\n"
|
||||
|
||||
#: home-manager/home-manager:71
|
||||
msgid "No configuration file found at %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: The first '%s' specifier will be replaced by either
|
||||
#. 'home.nix' or 'flake.nix'.
|
||||
#: home-manager/home-manager:88 home-manager/home-manager:92
|
||||
#: home-manager/home-manager:154
|
||||
msgid ""
|
||||
"Keeping your Home Manager %s in %s is deprecated,\n"
|
||||
"please move it to %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:99
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:136
|
||||
msgid "Could not find suitable profile directory, tried %s and %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:191
|
||||
msgid "Can't inspect options of a flake configuration"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:253 home-manager/home-manager:276
|
||||
#: home-manager/home-manager:973
|
||||
msgid "%s: unknown option '%s'"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:258 home-manager/home-manager:974
|
||||
msgid "Run '%s --help' for usage help"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:284 home-manager/home-manager:383
|
||||
msgid "The file %s already exists, leaving it unchanged..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:286 home-manager/home-manager:385
|
||||
msgid "Creating %s..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:427
|
||||
msgid "Creating initial Home Manager generation..."
|
||||
msgstr ""
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a file path.
|
||||
#: home-manager/home-manager:432
|
||||
msgid ""
|
||||
"All done! The home-manager tool should now be installed and you can edit\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"to configure Home Manager. Run 'man home-configuration.nix' to\n"
|
||||
"see all available options."
|
||||
msgstr ""
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a URL.
|
||||
#: home-manager/home-manager:437
|
||||
msgid ""
|
||||
"Uh oh, the installation failed! Please create an issue at\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"if the error seems to be the fault of Home Manager."
|
||||
msgstr ""
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:448
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:521
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: home-manager/home-manager:535
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:542
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:557
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:641
|
||||
msgid "No generation with ID %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:643
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:645
|
||||
msgid "Removing generation %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:664
|
||||
msgid "No generations to expire"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:675
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr ""
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:702
|
||||
msgid "Sorry, this command is not yet supported in flake setup"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:739
|
||||
msgid "Unknown argument %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:755
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:758
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:762
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:768
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:795
|
||||
msgid "Yay!"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:800
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:1011
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:1033
|
||||
msgid "Unknown command: %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/install.nix:18
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
msgstr ""
|
||||
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Home Manager\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
||||
"POT-Creation-Date: 2022-03-26 15:08+0100\n"
|
||||
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
||||
"PO-Revision-Date: 2021-12-21 19:55+0000\n"
|
||||
"Last-Translator: Mikhail Chekan <chekoopa@mail.ru>\n"
|
||||
"Language-Team: Russian <https://hosted.weblate.org/projects/home-manager/cli/"
|
||||
@@ -20,138 +20,55 @@ msgstr ""
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
||||
"X-Generator: Weblate 4.10\n"
|
||||
|
||||
#: home-manager/home-manager:60
|
||||
#: home-manager/home-manager:71
|
||||
msgid "No configuration file found at %s"
|
||||
msgstr "Не найден файл конфигурации в %s"
|
||||
|
||||
#: home-manager/home-manager:79
|
||||
#. translators: The first '%s' specifier will be replaced by either
|
||||
#. 'home.nix' or 'flake.nix'.
|
||||
#: home-manager/home-manager:88 home-manager/home-manager:92
|
||||
#: home-manager/home-manager:154
|
||||
msgid ""
|
||||
"Keeping your Home Manager %s in %s is deprecated,\n"
|
||||
"please move it to %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:99
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr "Не найден файл конфигурации. Пожалуйста, создайте его в %s"
|
||||
|
||||
#: home-manager/home-manager:122
|
||||
#: home-manager/home-manager:136
|
||||
msgid "Could not find suitable profile directory, tried %s and %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:191
|
||||
msgid "Can't inspect options of a flake configuration"
|
||||
msgstr "Не могу получить опции для flake-конфигурации"
|
||||
|
||||
#: home-manager/home-manager:162
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "Не могу создать экземляр для flake-конфигурации"
|
||||
|
||||
#: home-manager/home-manager:237
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"У вас есть %d непрочитанная и релевантная новость.\n"
|
||||
"Прочтите её, выполнив команду \"%s news\"."
|
||||
msgstr[1] ""
|
||||
"У вас есть %d непрочитанные и релевантные новости.\n"
|
||||
"Прочтите их, выполнив команду \"%s news\"."
|
||||
msgstr[2] ""
|
||||
"У вас есть %d непрочитанных и релевантных новостей.\n"
|
||||
"Прочтите их, выполнив команду \"%s news\"."
|
||||
|
||||
#: home-manager/home-manager:251
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Неизвестное значение \"news.display\": \"%s\"."
|
||||
|
||||
#: home-manager/home-manager:258
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Пожалуйста, определите переменную среды $EDITOR"
|
||||
|
||||
#: home-manager/home-manager:273
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "Не могу начать сборку в директории, защищённой от записи"
|
||||
|
||||
#: home-manager/home-manager:355
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "Поколение под номером %s не существует"
|
||||
|
||||
#: home-manager/home-manager:357
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "Не могу удалить текущее поколение %s"
|
||||
|
||||
#: home-manager/home-manager:359
|
||||
msgid "Removing generation %s"
|
||||
msgstr "Удаляю поколение %s"
|
||||
|
||||
#: home-manager/home-manager:385
|
||||
msgid "No generations to expire"
|
||||
msgstr "Нет поколений, которые можно просрочить"
|
||||
|
||||
#: home-manager/home-manager:396
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "Не обнаружено пакетов, установленных через home-manager."
|
||||
|
||||
#: home-manager/home-manager:453
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Неизвестный аргумент %s"
|
||||
|
||||
#: home-manager/home-manager:469
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "Это удалит Home Manager из вашей системы."
|
||||
|
||||
#: home-manager/home-manager:472
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "Это пробный запуск, на самом деле ничего не удаляется."
|
||||
|
||||
#: home-manager/home-manager:476
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Действительно хотите удалить Home Manager?"
|
||||
|
||||
#: home-manager/home-manager:481
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Переключаюсь на пустую конфигурацию Home Manager..."
|
||||
|
||||
#: home-manager/home-manager:493
|
||||
msgid "Yay!"
|
||||
msgstr "Ура!"
|
||||
|
||||
#: home-manager/home-manager:500
|
||||
msgid "Remove all Home Manager generations?"
|
||||
msgstr "Удалить все поколения Home Manager?"
|
||||
|
||||
#: home-manager/home-manager:507
|
||||
msgid "All generations are now eligible for garbage collection."
|
||||
msgstr "Теперь все поколения готовы к удалению сборщиком мусора."
|
||||
|
||||
#: home-manager/home-manager:510
|
||||
msgid "Leaving generations but they may still be garbage collected."
|
||||
msgstr "Поколения остаются, но их ещё можно удалить сборщиком мусора."
|
||||
|
||||
#: home-manager/home-manager:514
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "Home Manager удалён, но ваш home.nix остался нетронутым."
|
||||
|
||||
#: home-manager/home-manager:673
|
||||
#: home-manager/home-manager:253 home-manager/home-manager:276
|
||||
#: home-manager/home-manager:973
|
||||
msgid "%s: unknown option '%s'"
|
||||
msgstr "%s: неизвестная опция '%s'"
|
||||
|
||||
#: home-manager/home-manager:674
|
||||
#: home-manager/home-manager:258 home-manager/home-manager:974
|
||||
msgid "Run '%s --help' for usage help"
|
||||
msgstr "Выполните '%s --help', чтобы получить справку"
|
||||
|
||||
#: home-manager/home-manager:708
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations требует один аргумент, но передано %d."
|
||||
#: home-manager/home-manager:284 home-manager/home-manager:383
|
||||
msgid "The file %s already exists, leaving it unchanged..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:730
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Неизвестная команда: %s"
|
||||
#: home-manager/home-manager:286 home-manager/home-manager:385
|
||||
msgid "Creating %s..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/install.nix:22
|
||||
msgid "Creating initial Home Manager configuration..."
|
||||
msgstr "Создаю начальную конфигурацию Home Manager..."
|
||||
|
||||
#: home-manager/install.nix:66
|
||||
#: home-manager/home-manager:427
|
||||
msgid "Creating initial Home Manager generation..."
|
||||
msgstr "Создаю начальное поколение Home Manager..."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a file path.
|
||||
#: home-manager/install.nix:71
|
||||
#: home-manager/home-manager:432
|
||||
msgid ""
|
||||
"All done! The home-manager tool should now be installed and you can edit\n"
|
||||
"\n"
|
||||
@@ -168,7 +85,7 @@ msgstr ""
|
||||
"Выполните 'man home-configuration.nix', чтобы увидеть доступные опции."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a URL.
|
||||
#: home-manager/install.nix:76
|
||||
#: home-manager/home-manager:437
|
||||
msgid ""
|
||||
"Uh oh, the installation failed! Please create an issue at\n"
|
||||
"\n"
|
||||
@@ -182,7 +99,115 @@ msgstr ""
|
||||
"\n"
|
||||
"если считаете, что в ошибке виноват Home Manager."
|
||||
|
||||
#: home-manager/install.nix:83
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:448
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "Не могу создать экземляр для flake-конфигурации"
|
||||
|
||||
#: home-manager/home-manager:521
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"У вас есть %d непрочитанная и релевантная новость.\n"
|
||||
"Прочтите её, выполнив команду \"%s news\"."
|
||||
msgstr[1] ""
|
||||
"У вас есть %d непрочитанные и релевантные новости.\n"
|
||||
"Прочтите их, выполнив команду \"%s news\"."
|
||||
msgstr[2] ""
|
||||
"У вас есть %d непрочитанных и релевантных новостей.\n"
|
||||
"Прочтите их, выполнив команду \"%s news\"."
|
||||
|
||||
#: home-manager/home-manager:535
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Неизвестное значение \"news.display\": \"%s\"."
|
||||
|
||||
#: home-manager/home-manager:542
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Пожалуйста, определите переменную среды $EDITOR"
|
||||
|
||||
#: home-manager/home-manager:557
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "Не могу начать сборку в директории, защищённой от записи"
|
||||
|
||||
#: home-manager/home-manager:641
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "Поколение под номером %s не существует"
|
||||
|
||||
#: home-manager/home-manager:643
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "Не могу удалить текущее поколение %s"
|
||||
|
||||
#: home-manager/home-manager:645
|
||||
msgid "Removing generation %s"
|
||||
msgstr "Удаляю поколение %s"
|
||||
|
||||
#: home-manager/home-manager:664
|
||||
msgid "No generations to expire"
|
||||
msgstr "Нет поколений, которые можно просрочить"
|
||||
|
||||
#: home-manager/home-manager:675
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "Не обнаружено пакетов, установленных через home-manager."
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:702
|
||||
msgid "Sorry, this command is not yet supported in flake setup"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:739
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Неизвестный аргумент %s"
|
||||
|
||||
#: home-manager/home-manager:755
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "Это удалит Home Manager из вашей системы."
|
||||
|
||||
#: home-manager/home-manager:758
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "Это пробный запуск, на самом деле ничего не удаляется."
|
||||
|
||||
#: home-manager/home-manager:762
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Действительно хотите удалить Home Manager?"
|
||||
|
||||
#: home-manager/home-manager:768
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Переключаюсь на пустую конфигурацию Home Manager..."
|
||||
|
||||
#: home-manager/home-manager:795
|
||||
msgid "Yay!"
|
||||
msgstr "Ура!"
|
||||
|
||||
#: home-manager/home-manager:800
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "Home Manager удалён, но ваш home.nix остался нетронутым."
|
||||
|
||||
#: home-manager/home-manager:1011
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations требует один аргумент, но передано %d."
|
||||
|
||||
#: home-manager/home-manager:1033
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Неизвестная команда: %s"
|
||||
|
||||
#: home-manager/install.nix:18
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
msgstr ""
|
||||
"Это определение нельзя собрать. Пожалуйста, запустите его через nix-shell."
|
||||
|
||||
#~ msgid "Creating initial Home Manager configuration..."
|
||||
#~ msgstr "Создаю начальную конфигурацию Home Manager..."
|
||||
|
||||
#~ msgid "Remove all Home Manager generations?"
|
||||
#~ msgstr "Удалить все поколения Home Manager?"
|
||||
|
||||
#~ msgid "All generations are now eligible for garbage collection."
|
||||
#~ msgstr "Теперь все поколения готовы к удалению сборщиком мусора."
|
||||
|
||||
#~ msgid "Leaving generations but they may still be garbage collected."
|
||||
#~ msgstr "Поколения остаются, но их ещё можно удалить сборщиком мусора."
|
||||
|
||||
@@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Home Manager\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
||||
"POT-Creation-Date: 2022-03-26 15:08+0100\n"
|
||||
"PO-Revision-Date: 2021-12-17 20:50+0000\n"
|
||||
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
||||
"PO-Revision-Date: 2023-04-11 20:41+0000\n"
|
||||
"Last-Translator: Robert Helgesson <robert@rycee.net>\n"
|
||||
"Language-Team: Swedish <https://hosted.weblate.org/projects/home-manager/cli/"
|
||||
"sv/>\n"
|
||||
@@ -17,137 +17,59 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.10\n"
|
||||
"X-Generator: Weblate 4.17-dev\n"
|
||||
|
||||
#: home-manager/home-manager:60
|
||||
#: home-manager/home-manager:71
|
||||
msgid "No configuration file found at %s"
|
||||
msgstr "Det finns ingen konfigurationsfil i %s"
|
||||
|
||||
#: home-manager/home-manager:79
|
||||
#. translators: The first '%s' specifier will be replaced by either
|
||||
#. 'home.nix' or 'flake.nix'.
|
||||
#: home-manager/home-manager:88 home-manager/home-manager:92
|
||||
#: home-manager/home-manager:154
|
||||
msgid ""
|
||||
"Keeping your Home Manager %s in %s is deprecated,\n"
|
||||
"please move it to %s"
|
||||
msgstr ""
|
||||
"Att behålla din Home Manager %s i %s är föråldrat,\n"
|
||||
"snälla flytta den till %s"
|
||||
|
||||
#: home-manager/home-manager:99
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr "Hittade ingen konfigurationsfil. Skapa en i %s"
|
||||
|
||||
#: home-manager/home-manager:122
|
||||
#: home-manager/home-manager:136
|
||||
msgid "Could not find suitable profile directory, tried %s and %s"
|
||||
msgstr "Kunde inte hitta lämplig profil-katalog, försökte med %s och %s"
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:191
|
||||
msgid "Can't inspect options of a flake configuration"
|
||||
msgstr "Kan inte granska alternativ i en flake-konfiguration"
|
||||
|
||||
#: home-manager/home-manager:162
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "Kan inte instansera en flake-konfiguration"
|
||||
|
||||
#: home-manager/home-manager:237
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"Det finns %d oläst och relevant nyhet.\n"
|
||||
"Läs den genom att köra kommandot \"%s news\"."
|
||||
msgstr[1] ""
|
||||
"Det finns %d olästa och relevanta nyheter.\n"
|
||||
"Läs dem genom att köra kommandot \"%s news\"."
|
||||
|
||||
#: home-manager/home-manager:251
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Okänt \"news.display\"-värde \"%s\"."
|
||||
|
||||
#: home-manager/home-manager:258
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Vänligen tilldela miljövariablen $EDITOR"
|
||||
|
||||
#: home-manager/home-manager:273
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "Kan inte bygga i katalog med bara läsrättigheter"
|
||||
|
||||
#: home-manager/home-manager:355
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "Ingen generation med ID %s"
|
||||
|
||||
#: home-manager/home-manager:357
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "Kan inte ta bort nuvarande generation %s"
|
||||
|
||||
#: home-manager/home-manager:359
|
||||
msgid "Removing generation %s"
|
||||
msgstr "Tar bort generation %s"
|
||||
|
||||
#: home-manager/home-manager:385
|
||||
msgid "No generations to expire"
|
||||
msgstr "Ingen generation att förfalla"
|
||||
|
||||
#: home-manager/home-manager:396
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "Paketet home-manager verkar inte vara installerat."
|
||||
|
||||
#: home-manager/home-manager:453
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Okänt argument %s"
|
||||
|
||||
#: home-manager/home-manager:469
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "Detta kommer att ta bort Home Manager från ditt system."
|
||||
|
||||
#: home-manager/home-manager:472
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "Detta är en testkörning, inget kommer att bli avinstallerat."
|
||||
|
||||
#: home-manager/home-manager:476
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Verkligen avinstallera Home Manager?"
|
||||
|
||||
#: home-manager/home-manager:481
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Byter till tom Home Manager-konfiguration..."
|
||||
|
||||
#: home-manager/home-manager:493
|
||||
msgid "Yay!"
|
||||
msgstr "Hurra!"
|
||||
|
||||
#: home-manager/home-manager:500
|
||||
msgid "Remove all Home Manager generations?"
|
||||
msgstr "Ta bort alla Home Manager-generationer?"
|
||||
|
||||
#: home-manager/home-manager:507
|
||||
msgid "All generations are now eligible for garbage collection."
|
||||
msgstr "Alla generationer kan nu skräpsamlas."
|
||||
|
||||
#: home-manager/home-manager:510
|
||||
msgid "Leaving generations but they may still be garbage collected."
|
||||
msgstr "Låter generationer vara kvar men de kan fortfarande skräpsamlas."
|
||||
|
||||
#: home-manager/home-manager:514
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "Home Manager är avinstallerad men din home.nix är orörd."
|
||||
|
||||
#: home-manager/home-manager:673
|
||||
#: home-manager/home-manager:253 home-manager/home-manager:276
|
||||
#: home-manager/home-manager:973
|
||||
msgid "%s: unknown option '%s'"
|
||||
msgstr "%s: okänt val '%s'"
|
||||
|
||||
#: home-manager/home-manager:674
|
||||
#: home-manager/home-manager:258 home-manager/home-manager:974
|
||||
msgid "Run '%s --help' for usage help"
|
||||
msgstr "Kör '%s --help' för användarhjälp"
|
||||
|
||||
#: home-manager/home-manager:708
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expect-generations förväntar sig ett argument, fick %d."
|
||||
#: home-manager/home-manager:284 home-manager/home-manager:383
|
||||
msgid "The file %s already exists, leaving it unchanged..."
|
||||
msgstr "Filen %s finns redan, lämnar den orörd..."
|
||||
|
||||
#: home-manager/home-manager:730
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Okänt kommando: %s"
|
||||
#: home-manager/home-manager:286 home-manager/home-manager:385
|
||||
msgid "Creating %s..."
|
||||
msgstr "Skapar %s..."
|
||||
|
||||
#: home-manager/install.nix:22
|
||||
msgid "Creating initial Home Manager configuration..."
|
||||
msgstr "Skapar initial Home Manager-konfiguration..."
|
||||
|
||||
#: home-manager/install.nix:66
|
||||
#: home-manager/home-manager:427
|
||||
msgid "Creating initial Home Manager generation..."
|
||||
msgstr "Skapar initial Home Manager-generation..."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a file path.
|
||||
#: home-manager/install.nix:71
|
||||
#: home-manager/home-manager:432
|
||||
msgid ""
|
||||
"All done! The home-manager tool should now be installed and you can edit\n"
|
||||
"\n"
|
||||
@@ -164,7 +86,7 @@ msgstr ""
|
||||
"att se alla tillgängliga alternativ."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a URL.
|
||||
#: home-manager/install.nix:76
|
||||
#: home-manager/home-manager:437
|
||||
msgid ""
|
||||
"Uh oh, the installation failed! Please create an issue at\n"
|
||||
"\n"
|
||||
@@ -178,6 +100,112 @@ msgstr ""
|
||||
"\n"
|
||||
"om problemet verkar bero på något Home Manager gör fel."
|
||||
|
||||
#: home-manager/install.nix:83
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:448
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "Kan inte instansera en flake-konfiguration"
|
||||
|
||||
#: home-manager/home-manager:521
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"Det finns %d oläst och relevant nyhet.\n"
|
||||
"Läs den genom att köra kommandot \"%s news\"."
|
||||
msgstr[1] ""
|
||||
"Det finns %d olästa och relevanta nyheter.\n"
|
||||
"Läs dem genom att köra kommandot \"%s news\"."
|
||||
|
||||
#: home-manager/home-manager:535
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Okänt \"news.display\"-värde \"%s\"."
|
||||
|
||||
#: home-manager/home-manager:542
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Vänligen tilldela miljövariablen $EDITOR"
|
||||
|
||||
#: home-manager/home-manager:557
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "Kan inte bygga i katalog med bara läsrättigheter"
|
||||
|
||||
#: home-manager/home-manager:641
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "Ingen generation med ID %s"
|
||||
|
||||
#: home-manager/home-manager:643
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "Kan inte ta bort nuvarande generation %s"
|
||||
|
||||
#: home-manager/home-manager:645
|
||||
msgid "Removing generation %s"
|
||||
msgstr "Tar bort generation %s"
|
||||
|
||||
#: home-manager/home-manager:664
|
||||
msgid "No generations to expire"
|
||||
msgstr "Ingen generation att förfalla"
|
||||
|
||||
#: home-manager/home-manager:675
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "Paketet home-manager verkar inte vara installerat."
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:702
|
||||
msgid "Sorry, this command is not yet supported in flake setup"
|
||||
msgstr ""
|
||||
"Ursäkta, för tillfället stödjs detta kommando inte när Nix flakes används"
|
||||
|
||||
#: home-manager/home-manager:739
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Okänt argument %s"
|
||||
|
||||
#: home-manager/home-manager:755
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "Detta kommer att ta bort Home Manager från ditt system."
|
||||
|
||||
#: home-manager/home-manager:758
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "Detta är en testkörning, inget kommer att bli avinstallerat."
|
||||
|
||||
#: home-manager/home-manager:762
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Verkligen avinstallera Home Manager?"
|
||||
|
||||
#: home-manager/home-manager:768
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Byter till tom Home Manager-konfiguration..."
|
||||
|
||||
#: home-manager/home-manager:795
|
||||
msgid "Yay!"
|
||||
msgstr "Hurra!"
|
||||
|
||||
#: home-manager/home-manager:800
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "Home Manager är avinstallerad men din home.nix är orörd."
|
||||
|
||||
#: home-manager/home-manager:1011
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expect-generations förväntar sig ett argument, fick %d."
|
||||
|
||||
#: home-manager/home-manager:1033
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Okänt kommando: %s"
|
||||
|
||||
#: home-manager/install.nix:18
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
msgstr "Denna derivation är inte byggbar, kör den med nix-shell istället."
|
||||
|
||||
#~ msgid "Creating initial Home Manager configuration..."
|
||||
#~ msgstr "Skapar initial Home Manager-konfiguration..."
|
||||
|
||||
#~ msgid "Remove all Home Manager generations?"
|
||||
#~ msgstr "Ta bort alla Home Manager-generationer?"
|
||||
|
||||
#~ msgid "All generations are now eligible for garbage collection."
|
||||
#~ msgstr "Alla generationer kan nu skräpsamlas."
|
||||
|
||||
#~ msgid "Leaving generations but they may still be garbage collected."
|
||||
#~ msgstr "Låter generationer vara kvar men de kan fortfarande skräpsamlas."
|
||||
|
||||
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Home Manager\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
||||
"POT-Creation-Date: 2022-03-26 15:08+0100\n"
|
||||
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
||||
"PO-Revision-Date: 2022-03-26 23:57+0000\n"
|
||||
"Last-Translator: Oğuz Ersen <oguz@ersen.moe>\n"
|
||||
"Language-Team: Turkish <https://hosted.weblate.org/projects/home-manager/cli/"
|
||||
@@ -19,136 +19,56 @@ msgstr ""
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.12-dev\n"
|
||||
|
||||
#: home-manager/home-manager:60
|
||||
#: home-manager/home-manager:71
|
||||
msgid "No configuration file found at %s"
|
||||
msgstr "%s konumunda yapılandırma dosyası bulunamadı"
|
||||
|
||||
#: home-manager/home-manager:79
|
||||
#. translators: The first '%s' specifier will be replaced by either
|
||||
#. 'home.nix' or 'flake.nix'.
|
||||
#: home-manager/home-manager:88 home-manager/home-manager:92
|
||||
#: home-manager/home-manager:154
|
||||
msgid ""
|
||||
"Keeping your Home Manager %s in %s is deprecated,\n"
|
||||
"please move it to %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:99
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr ""
|
||||
"Yapılandırma dosyası bulunamadı. Lütfen %s konumunda bir tane oluşturun"
|
||||
|
||||
#: home-manager/home-manager:122
|
||||
#: home-manager/home-manager:136
|
||||
msgid "Could not find suitable profile directory, tried %s and %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:191
|
||||
msgid "Can't inspect options of a flake configuration"
|
||||
msgstr "Flake yapılandırmasının ayarları incelenemiyor"
|
||||
|
||||
#: home-manager/home-manager:162
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "Flake yapılandırması örneklendirilemiyor"
|
||||
|
||||
#: home-manager/home-manager:237
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"%d tane okunmamış ilgili haber bulunmakta.\n"
|
||||
"Okumak için \"%s news\"."
|
||||
msgstr[1] ""
|
||||
"%d tane okunmamış ilgili haberler bulunmakta.\n"
|
||||
"Okumak için \"%s news\"."
|
||||
|
||||
#: home-manager/home-manager:251
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Bilinmeyen \"news.display\" seçeneği \"%s\"."
|
||||
|
||||
#: home-manager/home-manager:258
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Lütfen $EDITOR ortam değişkenini tanımlayın"
|
||||
|
||||
#: home-manager/home-manager:273
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "İnşa, sadece okunabilir bir klasörde çalıştırılamaz"
|
||||
|
||||
#: home-manager/home-manager:355
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "%s ID'sine sahip inşa bulunamadı"
|
||||
|
||||
#: home-manager/home-manager:357
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "Kullanımda olan %s inşası silinemez"
|
||||
|
||||
#: home-manager/home-manager:359
|
||||
msgid "Removing generation %s"
|
||||
msgstr "İnşa siliniyor %s"
|
||||
|
||||
#: home-manager/home-manager:385
|
||||
msgid "No generations to expire"
|
||||
msgstr "Süresi dolacak inşa yok"
|
||||
|
||||
#: home-manager/home-manager:396
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "Galiba home-manager paketi kurulu değil."
|
||||
|
||||
#: home-manager/home-manager:453
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Bilinmeyen argüman %s"
|
||||
|
||||
#: home-manager/home-manager:469
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "Bu, sisteminizden Home Manager'ı kaldıracak."
|
||||
|
||||
#: home-manager/home-manager:472
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "Bu sadece bir inşa denemesi, hiçbir şey silinmeyecek."
|
||||
|
||||
#: home-manager/home-manager:476
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Home Manager'ı silmek istediğinize emin misiniz?"
|
||||
|
||||
#: home-manager/home-manager:481
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Boş Home Manager yapılandırmasına geçiliyor..."
|
||||
|
||||
#: home-manager/home-manager:493
|
||||
msgid "Yay!"
|
||||
msgstr "Güzel!"
|
||||
|
||||
#: home-manager/home-manager:500
|
||||
msgid "Remove all Home Manager generations?"
|
||||
msgstr "Tüm Home Manager inşaları kaldırılsın mı?"
|
||||
|
||||
#: home-manager/home-manager:507
|
||||
msgid "All generations are now eligible for garbage collection."
|
||||
msgstr "Artık tüm inşalar çöp olarak toplanabilir."
|
||||
|
||||
#: home-manager/home-manager:510
|
||||
msgid "Leaving generations but they may still be garbage collected."
|
||||
msgstr "İnşalar yine de çöp olarak toplanabilir."
|
||||
|
||||
#: home-manager/home-manager:514
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "Home Manager kaldırıldı ama home.nix dosyasına dokunulmadı."
|
||||
|
||||
#: home-manager/home-manager:673
|
||||
#: home-manager/home-manager:253 home-manager/home-manager:276
|
||||
#: home-manager/home-manager:973
|
||||
msgid "%s: unknown option '%s'"
|
||||
msgstr "%s: Bilinmeyen komut '%s'"
|
||||
|
||||
#: home-manager/home-manager:674
|
||||
#: home-manager/home-manager:258 home-manager/home-manager:974
|
||||
msgid "Run '%s --help' for usage help"
|
||||
msgstr "Yardım için '%s --help'"
|
||||
|
||||
#: home-manager/home-manager:708
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations bir argüman istiyor, %d tane girildi."
|
||||
#: home-manager/home-manager:284 home-manager/home-manager:383
|
||||
msgid "The file %s already exists, leaving it unchanged..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:730
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Bilinmeyen komut: %s"
|
||||
#: home-manager/home-manager:286 home-manager/home-manager:385
|
||||
msgid "Creating %s..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/install.nix:22
|
||||
msgid "Creating initial Home Manager configuration..."
|
||||
msgstr "İlk Home Manager yapılandırması oluşturuluyor..."
|
||||
|
||||
#: home-manager/install.nix:66
|
||||
#: home-manager/home-manager:427
|
||||
msgid "Creating initial Home Manager generation..."
|
||||
msgstr "İlk Home Manager inşası oluşturuluyor..."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a file path.
|
||||
#: home-manager/install.nix:71
|
||||
#: home-manager/home-manager:432
|
||||
msgid ""
|
||||
"All done! The home-manager tool should now be installed and you can edit\n"
|
||||
"\n"
|
||||
@@ -165,7 +85,7 @@ msgstr ""
|
||||
"'man home-configuration.nix'."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a URL.
|
||||
#: home-manager/install.nix:76
|
||||
#: home-manager/home-manager:437
|
||||
msgid ""
|
||||
"Uh oh, the installation failed! Please create an issue at\n"
|
||||
"\n"
|
||||
@@ -180,7 +100,112 @@ msgstr ""
|
||||
"\n"
|
||||
"adresinden bildirin."
|
||||
|
||||
#: home-manager/install.nix:83
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:448
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "Flake yapılandırması örneklendirilemiyor"
|
||||
|
||||
#: home-manager/home-manager:521
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"%d tane okunmamış ilgili haber bulunmakta.\n"
|
||||
"Okumak için \"%s news\"."
|
||||
msgstr[1] ""
|
||||
"%d tane okunmamış ilgili haberler bulunmakta.\n"
|
||||
"Okumak için \"%s news\"."
|
||||
|
||||
#: home-manager/home-manager:535
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Bilinmeyen \"news.display\" seçeneği \"%s\"."
|
||||
|
||||
#: home-manager/home-manager:542
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Lütfen $EDITOR ortam değişkenini tanımlayın"
|
||||
|
||||
#: home-manager/home-manager:557
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "İnşa, sadece okunabilir bir klasörde çalıştırılamaz"
|
||||
|
||||
#: home-manager/home-manager:641
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "%s ID'sine sahip inşa bulunamadı"
|
||||
|
||||
#: home-manager/home-manager:643
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "Kullanımda olan %s inşası silinemez"
|
||||
|
||||
#: home-manager/home-manager:645
|
||||
msgid "Removing generation %s"
|
||||
msgstr "İnşa siliniyor %s"
|
||||
|
||||
#: home-manager/home-manager:664
|
||||
msgid "No generations to expire"
|
||||
msgstr "Süresi dolacak inşa yok"
|
||||
|
||||
#: home-manager/home-manager:675
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "Galiba home-manager paketi kurulu değil."
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:702
|
||||
msgid "Sorry, this command is not yet supported in flake setup"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:739
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Bilinmeyen argüman %s"
|
||||
|
||||
#: home-manager/home-manager:755
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "Bu, sisteminizden Home Manager'ı kaldıracak."
|
||||
|
||||
#: home-manager/home-manager:758
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "Bu sadece bir inşa denemesi, hiçbir şey silinmeyecek."
|
||||
|
||||
#: home-manager/home-manager:762
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Home Manager'ı silmek istediğinize emin misiniz?"
|
||||
|
||||
#: home-manager/home-manager:768
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Boş Home Manager yapılandırmasına geçiliyor..."
|
||||
|
||||
#: home-manager/home-manager:795
|
||||
msgid "Yay!"
|
||||
msgstr "Güzel!"
|
||||
|
||||
#: home-manager/home-manager:800
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "Home Manager kaldırıldı ama home.nix dosyasına dokunulmadı."
|
||||
|
||||
#: home-manager/home-manager:1011
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations bir argüman istiyor, %d tane girildi."
|
||||
|
||||
#: home-manager/home-manager:1033
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Bilinmeyen komut: %s"
|
||||
|
||||
#: home-manager/install.nix:18
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
msgstr ""
|
||||
"Bu türetim inşa edilebilir değil, lütfen onu nix-shell kullanarak çalıştırın."
|
||||
|
||||
#~ msgid "Creating initial Home Manager configuration..."
|
||||
#~ msgstr "İlk Home Manager yapılandırması oluşturuluyor..."
|
||||
|
||||
#~ msgid "Remove all Home Manager generations?"
|
||||
#~ msgstr "Tüm Home Manager inşaları kaldırılsın mı?"
|
||||
|
||||
#~ msgid "All generations are now eligible for garbage collection."
|
||||
#~ msgstr "Artık tüm inşalar çöp olarak toplanabilir."
|
||||
|
||||
#~ msgid "Leaving generations but they may still be garbage collected."
|
||||
#~ msgstr "İnşalar yine de çöp olarak toplanabilir."
|
||||
|
||||
207
home-manager/po/uk.po
Normal file
207
home-manager/po/uk.po
Normal file
@@ -0,0 +1,207 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR Home Manager contributors
|
||||
# This file is distributed under the same license as the Home Manager package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Home Manager\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
||||
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
||||
"PO-Revision-Date: 2023-04-13 13:47+0000\n"
|
||||
"Last-Translator: Dan <denqwerta@gmail.com>\n"
|
||||
"Language-Team: Ukrainian <https://hosted.weblate.org/projects/home-manager/"
|
||||
"cli/uk/>\n"
|
||||
"Language: uk\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"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"
|
||||
"X-Generator: Weblate 4.17-dev\n"
|
||||
|
||||
#: home-manager/home-manager:71
|
||||
msgid "No configuration file found at %s"
|
||||
msgstr "Файл конфігурації не знайдено в %s"
|
||||
|
||||
#. translators: The first '%s' specifier will be replaced by either
|
||||
#. 'home.nix' or 'flake.nix'.
|
||||
#: home-manager/home-manager:88 home-manager/home-manager:92
|
||||
#: home-manager/home-manager:154
|
||||
msgid ""
|
||||
"Keeping your Home Manager %s in %s is deprecated,\n"
|
||||
"please move it to %s"
|
||||
msgstr ""
|
||||
"Збереження вашого Home Manager %s у %s є застарілим,\n"
|
||||
"будь ласка, перемістіть його до %s"
|
||||
|
||||
#: home-manager/home-manager:99
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr "Файл конфігурації не знайдено. Будь ласка, створіть його в %s"
|
||||
|
||||
#: home-manager/home-manager:136
|
||||
msgid "Could not find suitable profile directory, tried %s and %s"
|
||||
msgstr "Не вдалося знайти відповідний каталог профілю, спробував %s і %s"
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:191
|
||||
msgid "Can't inspect options of a flake configuration"
|
||||
msgstr "Неможливо перевірити параметри flake-конфігурації"
|
||||
|
||||
#: home-manager/home-manager:253 home-manager/home-manager:276
|
||||
#: home-manager/home-manager:973
|
||||
msgid "%s: unknown option '%s'"
|
||||
msgstr "%s: невідомий параметр '%s'"
|
||||
|
||||
#: home-manager/home-manager:258 home-manager/home-manager:974
|
||||
msgid "Run '%s --help' for usage help"
|
||||
msgstr "Запустіть '%s --help' для отримання довідки про використання"
|
||||
|
||||
#: home-manager/home-manager:284 home-manager/home-manager:383
|
||||
msgid "The file %s already exists, leaving it unchanged..."
|
||||
msgstr "Файл %s вже існує, залишаючи його незмінним..."
|
||||
|
||||
#: home-manager/home-manager:286 home-manager/home-manager:385
|
||||
msgid "Creating %s..."
|
||||
msgstr "Створення %s..."
|
||||
|
||||
#: home-manager/home-manager:427
|
||||
msgid "Creating initial Home Manager generation..."
|
||||
msgstr "Створення початкової генерації Home Manager..."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a file path.
|
||||
#: home-manager/home-manager:432
|
||||
msgid ""
|
||||
"All done! The home-manager tool should now be installed and you can edit\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"to configure Home Manager. Run 'man home-configuration.nix' to\n"
|
||||
"see all available options."
|
||||
msgstr ""
|
||||
"Все готово! Інструмент Home-manager тепер повинен бути встановлений, і ви "
|
||||
"можете редагувати\n"
|
||||
"\n"
|
||||
" %s,\n"
|
||||
"\n"
|
||||
"щоб налаштувати Home Manager. Запустіть 'man home-configuration.nix', щоб\n"
|
||||
"переглянути всі доступні варіанти."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a URL.
|
||||
#: home-manager/home-manager:437
|
||||
msgid ""
|
||||
"Uh oh, the installation failed! Please create an issue at\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"if the error seems to be the fault of Home Manager."
|
||||
msgstr ""
|
||||
"Ой, не вдалося встановити! Будь ласка, створіть проблему на\n"
|
||||
"\n"
|
||||
" %s\n"
|
||||
"\n"
|
||||
"якщо здається, що помилка сталася через Home Manager."
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:448
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "Не вдається створити екземпляр flake-конфігурації"
|
||||
|
||||
#: home-manager/home-manager:521
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"Є %d непрочитана і ревалентна новина.\n"
|
||||
"Прочитайте її, виконавши команду \"%s news\"."
|
||||
msgstr[1] ""
|
||||
"Є %d непрочитані і ревалентні новини.\n"
|
||||
"Прочитайте їх, виконавши команду \"%s news\"."
|
||||
msgstr[2] ""
|
||||
"Є %d непрочитаних і ревалентних новин.\n"
|
||||
"Прочитайте їх, виконавши команду \"%s news\"."
|
||||
|
||||
#: home-manager/home-manager:535
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "Невідоме налаштування \"news.display\" \"%s\"."
|
||||
|
||||
#: home-manager/home-manager:542
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "Будь ласка, встановіть змінну середовища $EDITOR"
|
||||
|
||||
#: home-manager/home-manager:557
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "Неможливо запустити збірку в каталозі, доступному лише для читання"
|
||||
|
||||
#: home-manager/home-manager:641
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "Немає генерації з ID %s"
|
||||
|
||||
#: home-manager/home-manager:643
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "Не вдається видалити поточну генерацію %s"
|
||||
|
||||
#: home-manager/home-manager:645
|
||||
msgid "Removing generation %s"
|
||||
msgstr "Видалення генерації %s"
|
||||
|
||||
#: home-manager/home-manager:664
|
||||
msgid "No generations to expire"
|
||||
msgstr "Немає генерацій, термін дії яких закінчується"
|
||||
|
||||
#: home-manager/home-manager:675
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "Здається, не встановлено жодних пакунків home-manager."
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:702
|
||||
msgid "Sorry, this command is not yet supported in flake setup"
|
||||
msgstr "На жаль, ця команда ще не підтримується в налаштуваннях flake"
|
||||
|
||||
#: home-manager/home-manager:739
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "Невідомий аргумент %s"
|
||||
|
||||
#: home-manager/home-manager:755
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "Це призведе до видалення Home Manager з вашої системи."
|
||||
|
||||
#: home-manager/home-manager:758
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "Це пробний запуск, насправді нічого не буде видалено."
|
||||
|
||||
#: home-manager/home-manager:762
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "Дійсно видаліть Home Manager?"
|
||||
|
||||
#: home-manager/home-manager:768
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "Перехід до порожньої конфігурації Home Manager..."
|
||||
|
||||
#: home-manager/home-manager:795
|
||||
msgid "Yay!"
|
||||
msgstr "Ура!"
|
||||
|
||||
#: home-manager/home-manager:800
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "Home Manager буде видалено, але ваш home.nix залишиться недоторканим."
|
||||
|
||||
#: home-manager/home-manager:1011
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generation очікує один аргумент, отримав %d."
|
||||
|
||||
#: home-manager/home-manager:1033
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Невідома команда: %s"
|
||||
|
||||
#: home-manager/install.nix:18
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
msgstr ""
|
||||
"Цю похідну не можна зібрати, будь ласка, запустіть її за допомогою nix-shell."
|
||||
|
||||
#~ msgid "Creating initial Home Manager configuration..."
|
||||
#~ msgstr "Створення початкової конфігурації Home Manager..."
|
||||
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Home Manager\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
||||
"POT-Creation-Date: 2022-03-26 15:08+0100\n"
|
||||
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
||||
"PO-Revision-Date: 2021-12-28 12:41+0000\n"
|
||||
"Last-Translator: WhiredPlanck <fungdaat31@outlook.com>\n"
|
||||
"Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/"
|
||||
@@ -19,132 +19,55 @@ msgstr ""
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: Weblate 4.10.1\n"
|
||||
|
||||
#: home-manager/home-manager:60
|
||||
#: home-manager/home-manager:71
|
||||
msgid "No configuration file found at %s"
|
||||
msgstr "未在 %s 找到配置文件"
|
||||
|
||||
#: home-manager/home-manager:79
|
||||
#. translators: The first '%s' specifier will be replaced by either
|
||||
#. 'home.nix' or 'flake.nix'.
|
||||
#: home-manager/home-manager:88 home-manager/home-manager:92
|
||||
#: home-manager/home-manager:154
|
||||
msgid ""
|
||||
"Keeping your Home Manager %s in %s is deprecated,\n"
|
||||
"please move it to %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:99
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr "未找到配置文件。请在 %s 处创建一份"
|
||||
|
||||
#: home-manager/home-manager:122
|
||||
#: home-manager/home-manager:136
|
||||
msgid "Could not find suitable profile directory, tried %s and %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:191
|
||||
msgid "Can't inspect options of a flake configuration"
|
||||
msgstr "无法检查 flake 配置中的选项"
|
||||
|
||||
#: home-manager/home-manager:162
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "无法创建 flake 配置实例"
|
||||
|
||||
#: home-manager/home-manager:237
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"有 %d 条未读的相关新闻或消息。\n"
|
||||
"可运行 “%s news” 命令进行阅读。"
|
||||
|
||||
#: home-manager/home-manager:251
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "未知的 “news.display” 设置项 “%s”。"
|
||||
|
||||
#: home-manager/home-manager:258
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "请设定 $EDITOR 环境变量"
|
||||
|
||||
#: home-manager/home-manager:273
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "无法在只读目录中运行构建"
|
||||
|
||||
#: home-manager/home-manager:355
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "没有 ID 为 %s 的世代"
|
||||
|
||||
#: home-manager/home-manager:357
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "无法移除当前世代 %s"
|
||||
|
||||
#: home-manager/home-manager:359
|
||||
msgid "Removing generation %s"
|
||||
msgstr "正在移除世代 %s"
|
||||
|
||||
#: home-manager/home-manager:385
|
||||
msgid "No generations to expire"
|
||||
msgstr "没有即将过期的世代"
|
||||
|
||||
#: home-manager/home-manager:396
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "似乎没有安装 home-manager 软件包。"
|
||||
|
||||
#: home-manager/home-manager:453
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "未知参数 %s"
|
||||
|
||||
#: home-manager/home-manager:469
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "这将会从系统中移除 Home Manager。"
|
||||
|
||||
#: home-manager/home-manager:472
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "这是试运行结果,没有实际卸载任何软件包。"
|
||||
|
||||
#: home-manager/home-manager:476
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "确定要卸载 Home Manager 吗?"
|
||||
|
||||
#: home-manager/home-manager:481
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "正在切换至空的 Home Manager 配置 ..."
|
||||
|
||||
#: home-manager/home-manager:493
|
||||
msgid "Yay!"
|
||||
msgstr "好耶!"
|
||||
|
||||
#: home-manager/home-manager:500
|
||||
msgid "Remove all Home Manager generations?"
|
||||
msgstr "要移除所有 Home Manager 配置世代吗?"
|
||||
|
||||
#: home-manager/home-manager:507
|
||||
msgid "All generations are now eligible for garbage collection."
|
||||
msgstr "所有世代现在均符合垃圾回收的条件。"
|
||||
|
||||
#: home-manager/home-manager:510
|
||||
msgid "Leaving generations but they may still be garbage collected."
|
||||
msgstr "保留世代,但它们仍然可能被垃圾回收。"
|
||||
|
||||
#: home-manager/home-manager:514
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "Home Manager 已卸载,但未改动您的 home.nix 配置文件。"
|
||||
|
||||
#: home-manager/home-manager:673
|
||||
#: home-manager/home-manager:253 home-manager/home-manager:276
|
||||
#: home-manager/home-manager:973
|
||||
msgid "%s: unknown option '%s'"
|
||||
msgstr "%s:未知选项 ‘%s’"
|
||||
|
||||
#: home-manager/home-manager:674
|
||||
#: home-manager/home-manager:258 home-manager/home-manager:974
|
||||
msgid "Run '%s --help' for usage help"
|
||||
msgstr "运行 ‘%s --help’ 获取用法帮助"
|
||||
|
||||
#: home-manager/home-manager:708
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations 须要一个参数,但获取到了 %d 个。"
|
||||
#: home-manager/home-manager:284 home-manager/home-manager:383
|
||||
msgid "The file %s already exists, leaving it unchanged..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:730
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "未知命令:%s"
|
||||
#: home-manager/home-manager:286 home-manager/home-manager:385
|
||||
msgid "Creating %s..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/install.nix:22
|
||||
msgid "Creating initial Home Manager configuration..."
|
||||
msgstr "正在创建初始 Home Manager 配置 ..."
|
||||
|
||||
#: home-manager/install.nix:66
|
||||
#: home-manager/home-manager:427
|
||||
msgid "Creating initial Home Manager generation..."
|
||||
msgstr "正在创建初始 Home Manager 世代 ..."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a file path.
|
||||
#: home-manager/install.nix:71
|
||||
#: home-manager/home-manager:432
|
||||
msgid ""
|
||||
"All done! The home-manager tool should now be installed and you can edit\n"
|
||||
"\n"
|
||||
@@ -161,7 +84,7 @@ msgstr ""
|
||||
"来查看所有可用选项。"
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a URL.
|
||||
#: home-manager/install.nix:76
|
||||
#: home-manager/home-manager:437
|
||||
msgid ""
|
||||
"Uh oh, the installation failed! Please create an issue at\n"
|
||||
"\n"
|
||||
@@ -175,6 +98,108 @@ msgstr ""
|
||||
"\n"
|
||||
"处创建 Issue 告知我们。"
|
||||
|
||||
#: home-manager/install.nix:83
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:448
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "无法创建 flake 配置实例"
|
||||
|
||||
#: home-manager/home-manager:521
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"有 %d 条未读的相关新闻或消息。\n"
|
||||
"可运行 “%s news” 命令进行阅读。"
|
||||
|
||||
#: home-manager/home-manager:535
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "未知的 “news.display” 设置项 “%s”。"
|
||||
|
||||
#: home-manager/home-manager:542
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "请设定 $EDITOR 环境变量"
|
||||
|
||||
#: home-manager/home-manager:557
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "无法在只读目录中运行构建"
|
||||
|
||||
#: home-manager/home-manager:641
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "没有 ID 为 %s 的世代"
|
||||
|
||||
#: home-manager/home-manager:643
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "无法移除当前世代 %s"
|
||||
|
||||
#: home-manager/home-manager:645
|
||||
msgid "Removing generation %s"
|
||||
msgstr "正在移除世代 %s"
|
||||
|
||||
#: home-manager/home-manager:664
|
||||
msgid "No generations to expire"
|
||||
msgstr "没有即将过期的世代"
|
||||
|
||||
#: home-manager/home-manager:675
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "似乎没有安装 home-manager 软件包。"
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:702
|
||||
msgid "Sorry, this command is not yet supported in flake setup"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:739
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "未知参数 %s"
|
||||
|
||||
#: home-manager/home-manager:755
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "这将会从系统中移除 Home Manager。"
|
||||
|
||||
#: home-manager/home-manager:758
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "这是试运行结果,没有实际卸载任何软件包。"
|
||||
|
||||
#: home-manager/home-manager:762
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "确定要卸载 Home Manager 吗?"
|
||||
|
||||
#: home-manager/home-manager:768
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "正在切换至空的 Home Manager 配置 ..."
|
||||
|
||||
#: home-manager/home-manager:795
|
||||
msgid "Yay!"
|
||||
msgstr "好耶!"
|
||||
|
||||
#: home-manager/home-manager:800
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "Home Manager 已卸载,但未改动您的 home.nix 配置文件。"
|
||||
|
||||
#: home-manager/home-manager:1011
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations 须要一个参数,但获取到了 %d 个。"
|
||||
|
||||
#: home-manager/home-manager:1033
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "未知命令:%s"
|
||||
|
||||
#: home-manager/install.nix:18
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
msgstr "此配置文件/变体不可构建,请在 nix-shell 中运行它。"
|
||||
|
||||
#~ msgid "Creating initial Home Manager configuration..."
|
||||
#~ msgstr "正在创建初始 Home Manager 配置 ..."
|
||||
|
||||
#~ msgid "Remove all Home Manager generations?"
|
||||
#~ msgstr "要移除所有 Home Manager 配置世代吗?"
|
||||
|
||||
#~ msgid "All generations are now eligible for garbage collection."
|
||||
#~ msgstr "所有世代现在均符合垃圾回收的条件。"
|
||||
|
||||
#~ msgid "Leaving generations but they may still be garbage collected."
|
||||
#~ msgstr "保留世代,但它们仍然可能被垃圾回收。"
|
||||
|
||||
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Home Manager\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
|
||||
"POT-Creation-Date: 2022-03-26 15:08+0100\n"
|
||||
"POT-Creation-Date: 2023-05-27 09:08+0200\n"
|
||||
"PO-Revision-Date: 2021-12-29 08:48+0000\n"
|
||||
"Last-Translator: WhiredPlanck <fungdaat31@outlook.com>\n"
|
||||
"Language-Team: Chinese (Traditional) <https://hosted.weblate.org/projects/"
|
||||
@@ -19,132 +19,55 @@ msgstr ""
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: Weblate 4.10.1\n"
|
||||
|
||||
#: home-manager/home-manager:60
|
||||
#: home-manager/home-manager:71
|
||||
msgid "No configuration file found at %s"
|
||||
msgstr "未在 %s 處找到配置檔案"
|
||||
|
||||
#: home-manager/home-manager:79
|
||||
#. translators: The first '%s' specifier will be replaced by either
|
||||
#. 'home.nix' or 'flake.nix'.
|
||||
#: home-manager/home-manager:88 home-manager/home-manager:92
|
||||
#: home-manager/home-manager:154
|
||||
msgid ""
|
||||
"Keeping your Home Manager %s in %s is deprecated,\n"
|
||||
"please move it to %s"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:99
|
||||
msgid "No configuration file found. Please create one at %s"
|
||||
msgstr "未找到配置檔案。請在 %s 處建立一份"
|
||||
|
||||
#: home-manager/home-manager:122
|
||||
#: home-manager/home-manager:136
|
||||
msgid "Could not find suitable profile directory, tried %s and %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:191
|
||||
msgid "Can't inspect options of a flake configuration"
|
||||
msgstr "無法檢查 flake 配置中的選項"
|
||||
|
||||
#: home-manager/home-manager:162
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "無法建立 flake 配置例項"
|
||||
|
||||
#: home-manager/home-manager:237
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"有 %d 條未讀的相關新聞或訊息。\n"
|
||||
"可執行 “%s news” 命令進行閱讀。"
|
||||
|
||||
#: home-manager/home-manager:251
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "未知的 “news.display” 設定項 “%s”。"
|
||||
|
||||
#: home-manager/home-manager:258
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "請設定 $EDITOR 環境變數"
|
||||
|
||||
#: home-manager/home-manager:273
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "無法在只讀目錄中執行構建"
|
||||
|
||||
#: home-manager/home-manager:355
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "沒有 ID 為 %s 的世代"
|
||||
|
||||
#: home-manager/home-manager:357
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "無法移除當前世代 %s"
|
||||
|
||||
#: home-manager/home-manager:359
|
||||
msgid "Removing generation %s"
|
||||
msgstr "正在移除世代 %s"
|
||||
|
||||
#: home-manager/home-manager:385
|
||||
msgid "No generations to expire"
|
||||
msgstr "沒有即將過期的世代"
|
||||
|
||||
#: home-manager/home-manager:396
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "似乎沒有安裝 home-manager 軟體包。"
|
||||
|
||||
#: home-manager/home-manager:453
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "未知引數 %s"
|
||||
|
||||
#: home-manager/home-manager:469
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "這將會從系統中移除 Home Manager。"
|
||||
|
||||
#: home-manager/home-manager:472
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "這是試執行結果,沒有實際解除安裝任何軟體包。"
|
||||
|
||||
#: home-manager/home-manager:476
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "確定要解除安裝 Home Manager 嗎?"
|
||||
|
||||
#: home-manager/home-manager:481
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "正在切換至空的 Home Manager 配置 ..."
|
||||
|
||||
#: home-manager/home-manager:493
|
||||
msgid "Yay!"
|
||||
msgstr "好耶!"
|
||||
|
||||
#: home-manager/home-manager:500
|
||||
msgid "Remove all Home Manager generations?"
|
||||
msgstr "要移除所有 Home Manager 配置世代嗎?"
|
||||
|
||||
#: home-manager/home-manager:507
|
||||
msgid "All generations are now eligible for garbage collection."
|
||||
msgstr "所有世代現在均符合垃圾回收的條件。"
|
||||
|
||||
#: home-manager/home-manager:510
|
||||
msgid "Leaving generations but they may still be garbage collected."
|
||||
msgstr "保留世代,但它們仍然可能被垃圾回收。"
|
||||
|
||||
#: home-manager/home-manager:514
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "Home Manager 已解除安裝,但未改動您的 home.nix 配置檔案。"
|
||||
|
||||
#: home-manager/home-manager:673
|
||||
#: home-manager/home-manager:253 home-manager/home-manager:276
|
||||
#: home-manager/home-manager:973
|
||||
msgid "%s: unknown option '%s'"
|
||||
msgstr "%s:未知選項 ‘%s’"
|
||||
|
||||
#: home-manager/home-manager:674
|
||||
#: home-manager/home-manager:258 home-manager/home-manager:974
|
||||
msgid "Run '%s --help' for usage help"
|
||||
msgstr "執行 ‘%s --help’ 獲取用法幫助"
|
||||
|
||||
#: home-manager/home-manager:708
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations 須要一個引數,但獲取到了 %d 個。"
|
||||
#: home-manager/home-manager:284 home-manager/home-manager:383
|
||||
msgid "The file %s already exists, leaving it unchanged..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:730
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "未知命令:%s"
|
||||
#: home-manager/home-manager:286 home-manager/home-manager:385
|
||||
msgid "Creating %s..."
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/install.nix:22
|
||||
msgid "Creating initial Home Manager configuration..."
|
||||
msgstr "正在建立初始 Home Manager 配置 ..."
|
||||
|
||||
#: home-manager/install.nix:66
|
||||
#: home-manager/home-manager:427
|
||||
msgid "Creating initial Home Manager generation..."
|
||||
msgstr "正在建立初始 Home Manager 世代 ..."
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a file path.
|
||||
#: home-manager/install.nix:71
|
||||
#: home-manager/home-manager:432
|
||||
msgid ""
|
||||
"All done! The home-manager tool should now be installed and you can edit\n"
|
||||
"\n"
|
||||
@@ -161,7 +84,7 @@ msgstr ""
|
||||
"來檢視所有可用選項。"
|
||||
|
||||
#. translators: The "%s" specifier will be replaced by a URL.
|
||||
#: home-manager/install.nix:76
|
||||
#: home-manager/home-manager:437
|
||||
msgid ""
|
||||
"Uh oh, the installation failed! Please create an issue at\n"
|
||||
"\n"
|
||||
@@ -175,6 +98,108 @@ msgstr ""
|
||||
"\n"
|
||||
"處建立 Issue 告知我們。"
|
||||
|
||||
#: home-manager/install.nix:83
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:448
|
||||
msgid "Can't instantiate a flake configuration"
|
||||
msgstr "無法建立 flake 配置例項"
|
||||
|
||||
#: home-manager/home-manager:521
|
||||
msgid ""
|
||||
"There is %d unread and relevant news item.\n"
|
||||
"Read it by running the command \"%s news\"."
|
||||
msgid_plural ""
|
||||
"There are %d unread and relevant news items.\n"
|
||||
"Read them by running the command \"%s news\"."
|
||||
msgstr[0] ""
|
||||
"有 %d 條未讀的相關新聞或訊息。\n"
|
||||
"可執行 “%s news” 命令進行閱讀。"
|
||||
|
||||
#: home-manager/home-manager:535
|
||||
msgid "Unknown \"news.display\" setting \"%s\"."
|
||||
msgstr "未知的 “news.display” 設定項 “%s”。"
|
||||
|
||||
#: home-manager/home-manager:542
|
||||
#, sh-format
|
||||
msgid "Please set the $EDITOR environment variable"
|
||||
msgstr "請設定 $EDITOR 環境變數"
|
||||
|
||||
#: home-manager/home-manager:557
|
||||
msgid "Cannot run build in read-only directory"
|
||||
msgstr "無法在只讀目錄中執行構建"
|
||||
|
||||
#: home-manager/home-manager:641
|
||||
msgid "No generation with ID %s"
|
||||
msgstr "沒有 ID 為 %s 的世代"
|
||||
|
||||
#: home-manager/home-manager:643
|
||||
msgid "Cannot remove the current generation %s"
|
||||
msgstr "無法移除當前世代 %s"
|
||||
|
||||
#: home-manager/home-manager:645
|
||||
msgid "Removing generation %s"
|
||||
msgstr "正在移除世代 %s"
|
||||
|
||||
#: home-manager/home-manager:664
|
||||
msgid "No generations to expire"
|
||||
msgstr "沒有即將過期的世代"
|
||||
|
||||
#: home-manager/home-manager:675
|
||||
msgid "No home-manager packages seem to be installed."
|
||||
msgstr "似乎沒有安裝 home-manager 軟體包。"
|
||||
|
||||
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
|
||||
#: home-manager/home-manager:702
|
||||
msgid "Sorry, this command is not yet supported in flake setup"
|
||||
msgstr ""
|
||||
|
||||
#: home-manager/home-manager:739
|
||||
msgid "Unknown argument %s"
|
||||
msgstr "未知引數 %s"
|
||||
|
||||
#: home-manager/home-manager:755
|
||||
msgid "This will remove Home Manager from your system."
|
||||
msgstr "這將會從系統中移除 Home Manager。"
|
||||
|
||||
#: home-manager/home-manager:758
|
||||
msgid "This is a dry run, nothing will actually be uninstalled."
|
||||
msgstr "這是試執行結果,沒有實際解除安裝任何軟體包。"
|
||||
|
||||
#: home-manager/home-manager:762
|
||||
msgid "Really uninstall Home Manager?"
|
||||
msgstr "確定要解除安裝 Home Manager 嗎?"
|
||||
|
||||
#: home-manager/home-manager:768
|
||||
msgid "Switching to empty Home Manager configuration..."
|
||||
msgstr "正在切換至空的 Home Manager 配置 ..."
|
||||
|
||||
#: home-manager/home-manager:795
|
||||
msgid "Yay!"
|
||||
msgstr "好耶!"
|
||||
|
||||
#: home-manager/home-manager:800
|
||||
msgid "Home Manager is uninstalled but your home.nix is left untouched."
|
||||
msgstr "Home Manager 已解除安裝,但未改動您的 home.nix 配置檔案。"
|
||||
|
||||
#: home-manager/home-manager:1011
|
||||
msgid "expire-generations expects one argument, got %d."
|
||||
msgstr "expire-generations 須要一個引數,但獲取到了 %d 個。"
|
||||
|
||||
#: home-manager/home-manager:1033
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "未知命令:%s"
|
||||
|
||||
#: home-manager/install.nix:18
|
||||
msgid "This derivation is not buildable, please run it using nix-shell."
|
||||
msgstr "此配置檔案/變體不可構建,請在 nix-shell 中執行它。"
|
||||
|
||||
#~ msgid "Creating initial Home Manager configuration..."
|
||||
#~ msgstr "正在建立初始 Home Manager 配置 ..."
|
||||
|
||||
#~ msgid "Remove all Home Manager generations?"
|
||||
#~ msgstr "要移除所有 Home Manager 配置世代嗎?"
|
||||
|
||||
#~ msgid "All generations are now eligible for garbage collection."
|
||||
#~ msgstr "所有世代現在均符合垃圾回收的條件。"
|
||||
|
||||
#~ msgid "Leaving generations but they may still be garbage collected."
|
||||
#~ msgstr "保留世代,但它們仍然可能被垃圾回收。"
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# The check for terminal output and color support is heavily inspired
|
||||
# by https://unix.stackexchange.com/a/10065.
|
||||
#
|
||||
# Allow opt out by respecting the `NO_COLOR` environment variable.
|
||||
|
||||
function setupColors() {
|
||||
normalColor=""
|
||||
errorColor=""
|
||||
warnColor=""
|
||||
noteColor=""
|
||||
|
||||
# Enable colors for terminals, and allow opting out.
|
||||
if [[ ! -v NO_COLOR && -t 1 ]]; then
|
||||
# See if it supports colors.
|
||||
local ncolors
|
||||
ncolors=$(tput colors)
|
||||
|
||||
if [[ -n "$ncolors" && "$ncolors" -ge 8 ]]; then
|
||||
normalColor="$(tput sgr0)"
|
||||
errorColor="$(tput bold)$(tput setaf 1)"
|
||||
warnColor="$(tput setaf 3)"
|
||||
noteColor="$(tput bold)$(tput setaf 6)"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
setupColors
|
||||
|
||||
function errorEcho() {
|
||||
echo "${errorColor}$*${normalColor}"
|
||||
}
|
||||
|
||||
function warnEcho() {
|
||||
echo "${warnColor}$*${normalColor}"
|
||||
}
|
||||
|
||||
function noteEcho() {
|
||||
echo "${noteColor}$*${normalColor}"
|
||||
}
|
||||
@@ -23,7 +23,7 @@ function setupColors() {
|
||||
if [[ ! -v NO_COLOR && -t 1 ]]; then
|
||||
# See if it supports colors.
|
||||
local ncolors
|
||||
ncolors=$(tput colors)
|
||||
ncolors=$(tput colors 2> /dev/null || echo 0)
|
||||
|
||||
if [[ -n "$ncolors" && "$ncolors" -ge 8 ]]; then
|
||||
normalColor="$(tput sgr0)"
|
||||
|
||||
@@ -44,6 +44,19 @@ let
|
||||
'';
|
||||
};
|
||||
|
||||
delimiter = mkOption {
|
||||
type = types.str;
|
||||
default = ''
|
||||
--
|
||||
'';
|
||||
example = literalExpression ''
|
||||
~*~*~*~*~*~*~*~*~*~*~*~
|
||||
'';
|
||||
description = ''
|
||||
The delimiter used between the document and the signature.
|
||||
'';
|
||||
};
|
||||
|
||||
command = mkOption {
|
||||
type = with types; nullOr path;
|
||||
default = null;
|
||||
@@ -123,6 +136,38 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
jmapModule = types.submodule {
|
||||
options = {
|
||||
host = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
example = "jmap.example.org";
|
||||
description = ''
|
||||
Hostname of JMAP server.
|
||||
</para><para>
|
||||
If both this option and <xref
|
||||
linkend="opt-accounts.email.accounts._name_.jmap.sessionUrl"/> are specified,
|
||||
<code>host</code> is preferred by applications when establishing a
|
||||
session.
|
||||
'';
|
||||
};
|
||||
|
||||
sessionUrl = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
example = "https://jmap.example.org:443/.well-known/jmap";
|
||||
description = ''
|
||||
URL for the JMAP Session resource.
|
||||
</para><para>
|
||||
If both this option and <xref
|
||||
linkend="opt-accounts.email.accounts._name_.jmap.host"/> are specified,
|
||||
<code>host</code> is preferred by applications when establishing a
|
||||
session.
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
smtpModule = types.submodule {
|
||||
options = {
|
||||
host = mkOption {
|
||||
@@ -197,7 +242,14 @@ let
|
||||
};
|
||||
|
||||
flavor = mkOption {
|
||||
type = types.enum [ "plain" "gmail.com" "runbox.com" "fastmail.com" ];
|
||||
type = types.enum [
|
||||
"plain"
|
||||
"gmail.com"
|
||||
"runbox.com"
|
||||
"fastmail.com"
|
||||
"yandex.com"
|
||||
"outlook.office365.com"
|
||||
];
|
||||
default = "plain";
|
||||
description = ''
|
||||
Some email providers have peculiar behavior that require
|
||||
@@ -205,7 +257,7 @@ let
|
||||
indicate the nature of the provider.
|
||||
</para><para>
|
||||
When this indicates a specific provider then, for example,
|
||||
the IMAP and SMTP server configuration may be set
|
||||
the IMAP, SMTP, and JMAP server configuration may be set
|
||||
automatically.
|
||||
'';
|
||||
};
|
||||
@@ -234,7 +286,7 @@ let
|
||||
default = null;
|
||||
description = ''
|
||||
The server username of this account. This will be used as
|
||||
the SMTP and IMAP user name.
|
||||
the SMTP, IMAP, and JMAP user name.
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -269,7 +321,7 @@ let
|
||||
};
|
||||
|
||||
drafts = mkOption {
|
||||
type = types.str;
|
||||
type = types.nullOr types.str;
|
||||
default = "Drafts";
|
||||
description = ''
|
||||
Relative path of the drafts mail folder.
|
||||
@@ -299,6 +351,14 @@ let
|
||||
'';
|
||||
};
|
||||
|
||||
jmap = mkOption {
|
||||
type = types.nullOr jmapModule;
|
||||
default = null;
|
||||
description = ''
|
||||
The JMAP configuration to use for this account.
|
||||
'';
|
||||
};
|
||||
|
||||
signature = mkOption {
|
||||
type = signatureModule;
|
||||
default = { };
|
||||
@@ -337,17 +397,61 @@ let
|
||||
name = name;
|
||||
maildir = mkOptionDefault { path = "${name}"; };
|
||||
}
|
||||
|
||||
(mkIf (config.flavor == "yandex.com") {
|
||||
userName = mkDefault config.address;
|
||||
|
||||
imap = {
|
||||
host = "imap.yandex.com";
|
||||
port = 993;
|
||||
tls.enable = true;
|
||||
};
|
||||
|
||||
smtp = {
|
||||
host = "smtp.yandex.com";
|
||||
port = 465;
|
||||
tls.enable = true;
|
||||
};
|
||||
})
|
||||
|
||||
(mkIf (config.flavor == "outlook.office365.com") {
|
||||
userName = mkDefault config.address;
|
||||
|
||||
imap = {
|
||||
host = "outlook.office365.com";
|
||||
port = 993;
|
||||
tls.enable = true;
|
||||
};
|
||||
|
||||
smtp = {
|
||||
host = "smtp.office365.com";
|
||||
port = 587;
|
||||
tls = {
|
||||
enable = true;
|
||||
useStartTls = true;
|
||||
};
|
||||
};
|
||||
})
|
||||
|
||||
(mkIf (config.flavor == "fastmail.com") {
|
||||
userName = mkDefault config.address;
|
||||
smtp = {
|
||||
host = "smtp.fastmail.com";
|
||||
port = if config.smtp.tls.useStartTls then 587 else 465;
|
||||
};
|
||||
|
||||
imap = {
|
||||
host = "imap.fastmail.com";
|
||||
port = 993;
|
||||
};
|
||||
|
||||
smtp = {
|
||||
host = "smtp.fastmail.com";
|
||||
port = if config.smtp.tls.useStartTls then 587 else 465;
|
||||
};
|
||||
|
||||
jmap = {
|
||||
host = "fastmail.com";
|
||||
sessionUrl = "https://jmap.fastmail.com/.well-known/jmap";
|
||||
};
|
||||
})
|
||||
|
||||
(mkIf (config.flavor == "gmail.com") {
|
||||
userName = mkDefault config.address;
|
||||
|
||||
|
||||
@@ -97,13 +97,13 @@ in {
|
||||
description = ''
|
||||
Cursor configuration. Set to <literal>null</literal> to disable.
|
||||
</para><para>
|
||||
Top-level options declared under this submodule are backend indepedent
|
||||
Top-level options declared under this submodule are backend independent
|
||||
options. Options declared under namespaces such as <literal>x11</literal>
|
||||
are backend specific options. By default, only backend independent cursor
|
||||
configurations are generated. If you need configurations for specific
|
||||
backends, you can toggle them via the enable option. For example, <varname>
|
||||
<link linkend="opt-home.pointerCursor.x11.enable">home.pointerCursor.x11.enable</link>
|
||||
</varname> will enable x11 cursor configurations.
|
||||
backends, you can toggle them via the enable option. For example,
|
||||
<xref linkend="opt-home.pointerCursor.x11.enable"/>
|
||||
will enable x11 cursor configurations.
|
||||
'';
|
||||
};
|
||||
};
|
||||
@@ -119,7 +119,7 @@ in {
|
||||
# Set name in icons theme, for compatibility with AwesomeWM etc. See:
|
||||
# https://github.com/nix-community/home-manager/issues/2081
|
||||
# https://wiki.archlinux.org/title/Cursor_themes#XDG_specification
|
||||
home.file.".icons/default/index.theme".text = ''
|
||||
xdg.dataFile."icons/default/index.theme".text = ''
|
||||
[icon theme]
|
||||
Name=Default
|
||||
Comment=Default Cursor Theme
|
||||
@@ -131,8 +131,10 @@ in {
|
||||
# https://github.com/nix-community/home-manager/issues/2812
|
||||
# https://wiki.archlinux.org/title/Cursor_themes#Environment_variable
|
||||
home.sessionVariables = {
|
||||
XCURSOR_PATH = "$XCURSOR_PATH\${XCURSOR_PATH:+:}"
|
||||
+ "${config.home.profileDirectory}/share/icons";
|
||||
XCURSOR_PATH = mkDefault ("$XCURSOR_PATH\${XCURSOR_PATH:+:}"
|
||||
+ "${config.home.profileDirectory}/share/icons");
|
||||
XCURSOR_SIZE = mkDefault cfg.size;
|
||||
XCURSOR_THEME = mkDefault cfg.name;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ with lib;
|
||||
|
||||
let
|
||||
|
||||
cfg = config.home.file;
|
||||
cfg = filterAttrs (n: f: f.enable) config.home.file;
|
||||
|
||||
homeDirectory = config.home.homeDirectory;
|
||||
|
||||
@@ -28,7 +28,7 @@ in
|
||||
home.file = mkOption {
|
||||
description = "Attribute set of files to link into the user home.";
|
||||
default = {};
|
||||
type = fileType "<envar>HOME</envar>" homeDirectory;
|
||||
type = fileType "home.file" "<envar>HOME</envar>" homeDirectory;
|
||||
};
|
||||
|
||||
home-files = mkOption {
|
||||
@@ -185,8 +185,9 @@ in
|
||||
$VERBOSE_ECHO "Skipping '$targetPath' as it is identical to '$sourcePath'"
|
||||
else
|
||||
# Place that symlink, --force
|
||||
# This can still fail if the target is a directory, in which case we bail out.
|
||||
$DRY_RUN_CMD mkdir -p $VERBOSE_ARG "$(dirname "$targetPath")"
|
||||
$DRY_RUN_CMD ln -nsf $VERBOSE_ARG "$sourcePath" "$targetPath"
|
||||
$DRY_RUN_CMD ln -Tsf $VERBOSE_ARG "$sourcePath" "$targetPath" || exit 1
|
||||
fi
|
||||
done
|
||||
'';
|
||||
@@ -271,7 +272,10 @@ in
|
||||
$DRY_RUN_CMD nix-env $VERBOSE_ARG --profile "$genProfilePath" --set "$newGenPath"
|
||||
fi
|
||||
|
||||
$DRY_RUN_CMD ln -Tsf $VERBOSE_ARG "$newGenPath" "$newGenGcPath"
|
||||
$DRY_RUN_CMD nix-store --realise "$newGenPath" --add-root "$newGenGcPath" > "$DRY_RUN_NULL"
|
||||
if [[ -e "$legacyGenGcPath" ]]; then
|
||||
$DRY_RUN_CMD rm $VERBOSE_ARG "$legacyGenGcPath"
|
||||
fi
|
||||
else
|
||||
_i "No change so reusing latest profile generation %s" "$oldGenNum"
|
||||
fi
|
||||
|
||||
@@ -256,7 +256,7 @@ in
|
||||
|
||||
home.sessionVariables = mkOption {
|
||||
default = {};
|
||||
type = types.attrs;
|
||||
type = with types; lazyAttrsOf (oneOf [ str path int float ]);
|
||||
example = { EDITOR = "emacs"; GS_OPTIONS = "-sPAPERSIZE=a4"; };
|
||||
description = ''
|
||||
Environment variables to always set at login.
|
||||
@@ -346,12 +346,18 @@ in
|
||||
|
||||
home.emptyActivationPath = mkOption {
|
||||
internal = true;
|
||||
default = false;
|
||||
type = types.bool;
|
||||
default = versionAtLeast stateVersion "22.11";
|
||||
defaultText = literalExpression ''
|
||||
false for state version < 22.11,
|
||||
true for state version ≥ 22.11
|
||||
'';
|
||||
description = ''
|
||||
Whether the activation script should start with an empty
|
||||
<envar>PATH</envar> variable. When <literal>false</literal>
|
||||
then the user's <envar>PATH</envar> will be used.
|
||||
<envar>PATH</envar> variable. When <literal>false</literal> then the
|
||||
user's <envar>PATH</envar> will be accessible in the script. It is
|
||||
recommended to keep this at <literal>true</literal> to avoid
|
||||
uncontrolled use of tools found in PATH.
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -383,7 +389,7 @@ in
|
||||
unexpected state is found. For example, the
|
||||
<literal>checkLinkTargets</literal> script block checks for
|
||||
collisions between non-managed files and files defined in
|
||||
<varname><link linkend="opt-home.file">home.file</link></varname>.
|
||||
<xref linkend="opt-home.file"/>.
|
||||
|
||||
</para><para>
|
||||
|
||||
@@ -502,6 +508,8 @@ in
|
||||
if config.submoduleSupport.enable
|
||||
&& config.submoduleSupport.externalPackageInstall
|
||||
then "/etc/profiles/per-user/${cfg.username}"
|
||||
else if config.nix.enable && (config.nix.settings.use-xdg-base-directories or false)
|
||||
then "${config.xdg.stateHome}/nix/profile"
|
||||
else cfg.homeDirectory + "/.nix-profile";
|
||||
|
||||
programs.bash.shellAliases = cfg.shellAliases;
|
||||
@@ -578,10 +586,9 @@ in
|
||||
if config.submoduleSupport.externalPackageInstall
|
||||
then
|
||||
''
|
||||
if [[ -e "$nixProfilePath"/manifest.json ]] ; then
|
||||
if [[ -e $HOME/.nix-profile/manifest.json ]] ; then
|
||||
nix profile list \
|
||||
| { grep 'home-manager-path$' || test $? = 1; } \
|
||||
| awk -F ' ' '{ print $4 }' \
|
||||
| cut -d ' ' -f 4 \
|
||||
| xargs -t $DRY_RUN_CMD nix profile remove $VERBOSE_ARG
|
||||
else
|
||||
@@ -592,22 +599,50 @@ in
|
||||
''
|
||||
else
|
||||
''
|
||||
if [[ -e "$nixProfilePath"/manifest.json ]] ; then
|
||||
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() {
|
||||
local oldNix="$(command -v nix)"
|
||||
|
||||
nixRemoveProfileByName 'home-manager-path'
|
||||
|
||||
$DRY_RUN_CMD $oldNix profile install $1
|
||||
}
|
||||
|
||||
if [[ -e $HOME/.nix-profile/manifest.json ]] ; then
|
||||
INSTALL_CMD="nix profile install"
|
||||
INSTALL_CMD_ACTUAL="nixReplaceProfile"
|
||||
LIST_CMD="nix profile list"
|
||||
REMOVE_CMD_SYNTAX='nix profile remove {number | store path}'
|
||||
else
|
||||
INSTALL_CMD="nix-env -i"
|
||||
INSTALL_CMD_ACTUAL="$DRY_RUN_CMD nix-env -i"
|
||||
LIST_CMD="nix-env -q"
|
||||
REMOVE_CMD_SYNTAX='nix-env -e {package name}'
|
||||
fi
|
||||
|
||||
if ! $DRY_RUN_CMD $INSTALL_CMD ${cfg.path} ; then
|
||||
if ! $INSTALL_CMD_ACTUAL ${cfg.path} ; then
|
||||
echo
|
||||
_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
|
||||
fi
|
||||
unset INSTALL_CMD LIST_CMD REMOVE_CMD_SYNTAX
|
||||
unset -f nixProfileList nixRemoveProfileByName nixReplaceProfile
|
||||
unset INSTALL_CMD INSTALL_CMD_ACTUAL LIST_CMD REMOVE_CMD_SYNTAX
|
||||
''
|
||||
);
|
||||
|
||||
@@ -658,8 +693,18 @@ in
|
||||
gettext
|
||||
gnugrep
|
||||
gnused
|
||||
jq
|
||||
ncurses # For `tput`.
|
||||
] ++ config.home.extraActivationPath
|
||||
]
|
||||
++ config.home.extraActivationPath
|
||||
)
|
||||
+ (
|
||||
# Add path of the Nix binaries, if a Nix package is configured, then
|
||||
# use that one, otherwise grab the path of the nix-env tool.
|
||||
if config.nix.enable && config.nix.package != null then
|
||||
":${config.nix.package}/bin"
|
||||
else
|
||||
":$(${pkgs.coreutils}/bin/dirname $(${pkgs.coreutils}/bin/readlink -m $(type -p nix-env)))"
|
||||
)
|
||||
+ optionalString (!cfg.emptyActivationPath) "\${PATH:+:}$PATH";
|
||||
|
||||
@@ -674,6 +719,9 @@ in
|
||||
|
||||
${builtins.readFile ./lib-bash/activation-init.sh}
|
||||
|
||||
checkUsername ${escapeShellArg config.home.username}
|
||||
checkHomeDirectory ${escapeShellArg config.home.homeDirectory}
|
||||
|
||||
${activationCmds}
|
||||
'';
|
||||
in
|
||||
@@ -685,6 +733,8 @@ in
|
||||
''
|
||||
mkdir -p $out
|
||||
|
||||
echo "${config.home.version.full}" > $out/hm-version
|
||||
|
||||
cp ${activationScript} $out/activate
|
||||
|
||||
mkdir $out/bin
|
||||
|
||||
@@ -22,8 +22,7 @@ let
|
||||
'';
|
||||
|
||||
in {
|
||||
imports =
|
||||
[ ./fcitx.nix ./fcitx5.nix ./hime.nix ./kime.nix ./nabi.nix ./uim.nix ];
|
||||
imports = [ ./fcitx5.nix ./hime.nix ./kime.nix ./nabi.nix ./uim.nix ];
|
||||
|
||||
options.i18n = {
|
||||
inputMethod = {
|
||||
@@ -31,7 +30,7 @@ in {
|
||||
type = types.nullOr
|
||||
(types.enum [ "fcitx" "fcitx5" "nabi" "uim" "hime" "kime" ]);
|
||||
default = null;
|
||||
example = "fcitx";
|
||||
example = "fcitx5";
|
||||
description = ''
|
||||
Select the enabled input method. Input methods is a software to input
|
||||
symbols that are not available on standard input devices.
|
||||
@@ -42,17 +41,10 @@ in {
|
||||
Currently the following input methods are available in Home Manager:
|
||||
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><literal>fcitx</literal></term>
|
||||
<listitem><para>
|
||||
A customizable lightweight input method
|
||||
extra input engines can be added using
|
||||
<literal>i18n.inputMethod.fcitx.engines</literal>.
|
||||
</para></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><literal>fcitx5</literal></term>
|
||||
<listitem><para>
|
||||
A customizable lightweight input method.
|
||||
The next generation of fcitx,
|
||||
addons (including engines, dictionaries, skins) can be added using
|
||||
<literal>i18n.inputMethod.fcitx5.addons</literal>.
|
||||
@@ -97,6 +89,10 @@ in {
|
||||
config = mkIf (cfg.enabled != null) {
|
||||
assertions = [
|
||||
(hm.assertions.assertPlatform "i18n.inputMethod" pkgs platforms.linux)
|
||||
{
|
||||
assertion = cfg.enabled != "fcitx";
|
||||
message = "fcitx has been removed, please use fcitx5 instead";
|
||||
}
|
||||
];
|
||||
|
||||
home.packages = [ cfg.package gtk2Cache gtk3Cache ];
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.i18n.inputMethod.fcitx;
|
||||
fcitxPackage = pkgs.fcitx.override { plugins = cfg.engines; };
|
||||
fcitxEngine = types.package // {
|
||||
name = "fcitx-engine";
|
||||
check = x:
|
||||
types.package.check x && attrByPath [ "meta" "isFcitxEngine" ] false x;
|
||||
};
|
||||
in {
|
||||
options = {
|
||||
|
||||
i18n.inputMethod.fcitx = {
|
||||
engines = mkOption {
|
||||
type = with types; listOf fcitxEngine;
|
||||
default = [ ];
|
||||
example = literalExpression "with pkgs.fcitx-engines; [ mozc hangul ]";
|
||||
description = let
|
||||
enginesDrv = filterAttrs (const isDerivation) pkgs.fcitx-engines;
|
||||
engines = concatStringsSep ", "
|
||||
(map (name: "<literal>${name}</literal>") (attrNames enginesDrv));
|
||||
in "Enabled Fcitx engines. Available engines are: ${engines}.";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
config = mkIf (config.i18n.inputMethod.enabled == "fcitx") {
|
||||
i18n.inputMethod.package = fcitxPackage;
|
||||
|
||||
home.sessionVariables = {
|
||||
GTK_IM_MODULE = "fcitx";
|
||||
QT_IM_MODULE = "fcitx";
|
||||
XMODIFIERS = "@im=fcitx";
|
||||
};
|
||||
|
||||
systemd.user.services.fcitx-daemon = {
|
||||
Unit = {
|
||||
Description = "Fcitx input method editor";
|
||||
PartOf = [ "graphical-session.desktop" ];
|
||||
};
|
||||
Service.ExecStart = "${fcitxPackage}/bin/fcitx";
|
||||
Install.WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
@@ -24,6 +24,7 @@ in {
|
||||
i18n.inputMethod.package = fcitx5Package;
|
||||
|
||||
home.sessionVariables = {
|
||||
GLFW_IM_MODULE = "ibus"; # IME support in kitty
|
||||
GTK_IM_MODULE = "fcitx";
|
||||
QT_IM_MODULE = "fcitx";
|
||||
XMODIFIERS = "@im=fcitx";
|
||||
|
||||
@@ -19,10 +19,12 @@ let
|
||||
example = literalExpression ''
|
||||
{
|
||||
ProgramArguments = [ "/usr/bin/say" "Good afternoon" ];
|
||||
StartCalendarInterval = {
|
||||
Hour = 12;
|
||||
Minute = 0;
|
||||
};
|
||||
StartCalendarInterval = [
|
||||
{
|
||||
Hour = 12;
|
||||
Minute = 0;
|
||||
}
|
||||
];
|
||||
}
|
||||
'';
|
||||
description = ''
|
||||
@@ -162,12 +164,12 @@ in {
|
||||
fi
|
||||
if [[ -f "$dstPath" ]]; then
|
||||
for (( i = 0; i < bootout_retries; i++ )); do
|
||||
$DRY_RUN_CMD launchctl bootout "$domain/$agentName" || err=$?
|
||||
$DRY_RUN_CMD /bin/launchctl bootout "$domain/$agentName" || err=$?
|
||||
if [[ -v DRY_RUN ]]; then
|
||||
break
|
||||
fi
|
||||
if (( err != 9216 )) &&
|
||||
! launchctl print "$domain/$agentName" &> /dev/null; then
|
||||
! /bin/launchctl print "$domain/$agentName" &> /dev/null; then
|
||||
break
|
||||
fi
|
||||
sleep 1
|
||||
@@ -178,7 +180,7 @@ in {
|
||||
fi
|
||||
fi
|
||||
$DRY_RUN_CMD install -Dm444 -T "$srcPath" "$dstPath"
|
||||
$DRY_RUN_CMD launchctl bootstrap "$domain" "$dstPath"
|
||||
$DRY_RUN_CMD /bin/launchctl bootstrap "$domain" "$dstPath"
|
||||
done
|
||||
|
||||
if [[ ! -e "$oldDir" ]]; then
|
||||
@@ -194,7 +196,7 @@ in {
|
||||
continue
|
||||
fi
|
||||
|
||||
$DRY_RUN_CMD launchctl bootout "$domain/$agentName" || :
|
||||
$DRY_RUN_CMD /bin/launchctl bootout "$domain/$agentName" || :
|
||||
if [[ ! -e "$dstPath" ]]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# launchd option type from nix-darwin
|
||||
#
|
||||
# Original Source:
|
||||
# https://github.com/LnL7/nix-darwin/blob/a34dea2/modules/launchd/launchd.nix
|
||||
# https://github.com/LnL7/nix-darwin/blob/14a12e9/modules/launchd/launchd.nix
|
||||
|
||||
# Copyright 2017 Daiderd Jordan
|
||||
#
|
||||
@@ -28,6 +28,8 @@
|
||||
with lib;
|
||||
|
||||
{
|
||||
freeformType = with types; attrsOf anything; # added by Home Manager
|
||||
|
||||
options = {
|
||||
Label = mkOption {
|
||||
type = types.str;
|
||||
@@ -39,19 +41,19 @@ with lib;
|
||||
default = null;
|
||||
description = ''
|
||||
This optional key is used as a hint to <literal>launchctl(1)</literal> that it should not submit this job to launchd when
|
||||
loading a job or jobs. The value of this key does NOT reflect the current state of the job on the run-ning running
|
||||
ning system. If you wish to know whether a job is loaded in launchd, reading this key from a configura-tion configuration
|
||||
tion file yourself is not a sufficient test. You should query launchd for the presence of the job using
|
||||
loading a job or jobs. The value of this key does NOT reflect the current state of the job on the running
|
||||
system. If you wish to know whether a job is loaded in launchd, reading this key from a configuration
|
||||
file yourself is not a sufficient test. You should query launchd for the presence of the job using
|
||||
the <literal>launchctl(1)</literal> list subcommand or use the ServiceManagement framework's
|
||||
<literal>SMJobCopyDictionary()</literal> method.
|
||||
|
||||
Note that as of Mac OS X v10.6, this key's value in a configuration file conveys a default value, which
|
||||
is changed with the [-w] option of the <literal>launchctl(1)</literal> load and unload subcommands. These subcommands no
|
||||
longer modify the configuration file, so the value displayed in the configuration file is not necessar-ily necessarily
|
||||
ily the value that <literal>launchctl(1)</literal> will apply. See <literal>launchctl(1)</literal> for more information.
|
||||
longer modify the configuration file, so the value displayed in the configuration file is not necessarily
|
||||
the value that <literal>launchctl(1)</literal> will apply. See <literal>launchctl(1)</literal> for more information.
|
||||
|
||||
Please also be mindful that you should only use this key if the provided on-demand and KeepAlive crite-ria criteria
|
||||
ria are insufficient to describe the conditions under which your job needs to run. The cost to have a
|
||||
Please also be mindful that you should only use this key if the provided on-demand and KeepAlive criteria
|
||||
are insufficient to describe the conditions under which your job needs to run. The cost to have a
|
||||
job loaded in launchd is negligible, so there is no harm in loading a job which only runs once or very
|
||||
rarely.
|
||||
'';
|
||||
@@ -101,8 +103,8 @@ with lib;
|
||||
type = types.nullOr (types.listOf types.str);
|
||||
default = null;
|
||||
description = ''
|
||||
This configuration file only applies to the hosts listed with this key. Note: One should set kern.host-name kern.hostname
|
||||
name in <literal>sysctl.conf(5)</literal> for this feature to work reliably.
|
||||
This configuration file only applies to the hosts listed with this key. Note: One should set kern.hostname
|
||||
in <literal>sysctl.conf(5)</literal> for this feature to work reliably.
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -110,8 +112,8 @@ with lib;
|
||||
type = types.nullOr (types.listOf types.str);
|
||||
default = null;
|
||||
description = ''
|
||||
This configuration file only applies to hosts NOT listed with this key. Note: One should set kern.host-name kern.hostname
|
||||
name in <literal>sysctl.conf(5)</literal> for this feature to work reliably.
|
||||
This configuration file only applies to hosts NOT listed with this key. Note: One should set kern.hostname
|
||||
in <literal>sysctl.conf(5)</literal> for this feature to work reliably.
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -147,8 +149,7 @@ with lib;
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
description = ''
|
||||
This flag causes launchd to use the <literal>glob(3)</literal> mechanism to update the program arguments before invoca-tion. invocation.
|
||||
tion.
|
||||
This flag causes launchd to use the <literal>glob(3)</literal> mechanism to update the program arguments before invocation.
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -219,25 +220,29 @@ with lib;
|
||||
'';
|
||||
};
|
||||
|
||||
# NOTE: this was missing in the original source at the time of writing
|
||||
Crashed = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
description = ''
|
||||
If true, the the job will be restarted as long as it exited due to a signal which is typically
|
||||
associated with a crash (SIGILL, SIGSEGV, etc.). If false, the job will be restarted in the inverse
|
||||
condition.
|
||||
associated with a crash (SIGILL, SIGSEGV, etc.). If false, the job will be restarted in the
|
||||
inverse condition.
|
||||
'';
|
||||
};
|
||||
|
||||
AfterInitialDemand = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
};
|
||||
|
||||
};
|
||||
}));
|
||||
default = null;
|
||||
description = ''
|
||||
This optional key is used to control whether your job is to be kept continuously running or to let
|
||||
demand and conditions control the invocation. The default is false and therefore only demand will start
|
||||
the job. The value may be set to true to unconditionally keep the job alive. Alternatively, a dictio-nary dictionary
|
||||
nary of conditions may be specified to selectively control whether launchd keeps a job alive or not. If
|
||||
the job. The value may be set to true to unconditionally keep the job alive. Alternatively, a dictionary
|
||||
of conditions may be specified to selectively control whether launchd keeps a job alive or not. If
|
||||
multiple keys are provided, launchd ORs them, thus providing maximum flexibility to the job to refine
|
||||
the logic and stall if necessary. If launchd finds no reason to restart the job, it falls back on
|
||||
demand based invocation. Jobs that exit quickly and frequently when configured to be kept alive will
|
||||
@@ -364,7 +369,10 @@ with lib;
|
||||
|
||||
StartCalendarInterval = mkOption {
|
||||
default = null;
|
||||
example = { Hour = 2; Minute = 30; };
|
||||
example = {
|
||||
Hour = 2;
|
||||
Minute = 30;
|
||||
};
|
||||
description = ''
|
||||
This optional key causes the job to be started every calendar interval as specified. Missing arguments
|
||||
are considered to be wildcard. The semantics are much like <literal>crontab(5)</literal>. Unlike cron which skips job
|
||||
@@ -514,8 +522,8 @@ with lib;
|
||||
default = null;
|
||||
description = ''
|
||||
The maximum number of open files for this process. Setting this value in a system wide daemon
|
||||
will set the <literal>sysctl(3)</literal> kern.maxfiles (SoftResourceLimits) or kern.maxfilesperproc (HardResource-Limits) (HardResourceLimits)
|
||||
Limits) value in addition to the <literal>setrlimit(2)</literal> values.
|
||||
will set the <literal>sysctl(3)</literal> kern.maxfiles (SoftResourceLimits) or kern.maxfilesperproc (HardResourceLimits)
|
||||
value in addition to the <literal>setrlimit(2)</literal> values.
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -606,8 +614,8 @@ with lib;
|
||||
default = null;
|
||||
description = ''
|
||||
The maximum number of open files for this process. Setting this value in a system wide daemon
|
||||
will set the <literal>sysctl(3)</literal> kern.maxfiles (SoftResourceLimits) or kern.maxfilesperproc (HardResource-Limits) (HardResourceLimits)
|
||||
Limits) value in addition to the <literal>setrlimit(2)</literal> values.
|
||||
will set the <literal>sysctl(3)</literal> kern.maxfiles (SoftResourceLimits) or kern.maxfilesperproc (HardResourceLimits)
|
||||
value in addition to the <literal>setrlimit(2)</literal> values.
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -652,7 +660,8 @@ with lib;
|
||||
};
|
||||
|
||||
ProcessType = mkOption {
|
||||
type = types.nullOr (types.enum [ "Background" "Standard" "Adaptive" "Interactive" ]);
|
||||
type = types.nullOr
|
||||
(types.enum [ "Background" "Standard" "Adaptive" "Interactive" ]);
|
||||
default = null;
|
||||
example = "Background";
|
||||
description = ''
|
||||
@@ -673,8 +682,8 @@ with lib;
|
||||
XPC connections. See <literal>xpc_transaction_begin(3)</literal> for details.
|
||||
|
||||
Interactive
|
||||
Interactive jobs run with the same resource limitations as apps, that is to say, none. Interac-tive Interactive
|
||||
tive jobs are critical to maintaining a responsive user experience, and this key should only be
|
||||
Interactive jobs run with the same resource limitations as apps, that is to say, none. Interactive
|
||||
jobs are critical to maintaining a responsive user experience, and this key should only be
|
||||
used if an app's ability to be responsive depends on it, and cannot be made Adaptive.
|
||||
'';
|
||||
};
|
||||
@@ -683,8 +692,8 @@ with lib;
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
description = ''
|
||||
When a job dies, launchd kills any remaining processes with the same process group ID as the job. Set-ting Setting
|
||||
ting this key to true disables that behavior.
|
||||
When a job dies, launchd kills any remaining processes with the same process group ID as the job. Setting
|
||||
this key to true disables that behavior.
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -725,8 +734,8 @@ with lib;
|
||||
description = ''
|
||||
If this boolean is false, the port is recycled, thus leaving clients to remain oblivious to the
|
||||
demand nature of job. If the value is set to true, clients receive port death notifications when
|
||||
the job lets go of the receive right. The port will be recreated atomically with respect to boot-strap_look_up() bootstrap_look_up()
|
||||
strap_look_up() calls, so that clients can trust that after receiving a port death notification,
|
||||
the job lets go of the receive right. The port will be recreated atomically with respect to bootstrap_look_up()
|
||||
calls, so that clients can trust that after receiving a port death notification,
|
||||
the new port will have already been recreated. Setting the value to true should be done with
|
||||
care. Not all clients may be able to handle this behavior. The default value is false.
|
||||
'';
|
||||
@@ -744,14 +753,39 @@ with lib;
|
||||
});
|
||||
};
|
||||
|
||||
LaunchEvents = mkOption {
|
||||
type = types.nullOr (types.attrs);
|
||||
default = null;
|
||||
description = ''
|
||||
Specifies higher-level event types to be used as launch-on-demand event
|
||||
sources. Each sub-dictionary defines events for a particular event
|
||||
subsystem, such as "com.apple.iokit.matching", which can be used to
|
||||
launch jobs based on the appearance of nodes in the IORegistry. Each
|
||||
dictionary within the sub-dictionary specifies an event descriptor that
|
||||
is specified to each event subsystem. With this key, the job promises to
|
||||
use the xpc_set_event_stream_handler(3) API to consume events. See
|
||||
xpc_events(3) for more details on event sources.
|
||||
'';
|
||||
example = {
|
||||
"com.apple.iokit.matching" = {
|
||||
"com.apple.usb.device" = {
|
||||
IOMatchLaunchStream = true;
|
||||
IOProviderClass = "IOUSBDevice";
|
||||
idProduct = "*";
|
||||
idVendor = "*";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Sockets = mkOption {
|
||||
default = null;
|
||||
description = ''
|
||||
This optional key is used to specify launch on demand sockets that can be used to let launchd know when
|
||||
to run the job. The job must check-in to get a copy of the file descriptors using APIs outlined in
|
||||
launch(3). The keys of the top level Sockets dictionary can be anything. They are meant for the appli-cation application
|
||||
cation developer to use to differentiate which descriptors correspond to which application level proto-cols protocols
|
||||
cols (e.g. http vs. ftp vs. DNS...). At check-in time, the value of each Sockets dictionary key will
|
||||
launch(3). The keys of the top level Sockets dictionary can be anything. They are meant for the application
|
||||
developer to use to differentiate which descriptors correspond to which application level protocols
|
||||
(e.g. http vs. ftp vs. DNS...). At check-in time, the value of each Sockets dictionary key will
|
||||
be an array of descriptors. Daemon/Agent writers should consider all descriptors of a given key to be
|
||||
to be effectively equivalent, even though each file descriptor likely represents a different networking
|
||||
protocol which conforms to the criteria specified in the job configuration file.
|
||||
@@ -825,8 +859,8 @@ with lib;
|
||||
default = null;
|
||||
description = ''
|
||||
This optional key is a variant of SockPathName. Instead of binding to a known path, a securely
|
||||
generated socket is created and the path is assigned to the environment variable that is inher-ited inherited
|
||||
ited by all jobs spawned by launchd.
|
||||
generated socket is created and the path is assigned to the environment variable that is inherited
|
||||
by all jobs spawned by launchd.
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -840,12 +874,12 @@ with lib;
|
||||
};
|
||||
|
||||
Bonjour = mkOption {
|
||||
type = types.nullOr (types.either types.bool (types.listOf types.str));
|
||||
type =
|
||||
types.nullOr (types.either types.bool (types.listOf types.str));
|
||||
default = null;
|
||||
description = ''
|
||||
This optional key can be used to request that the service be registered with the
|
||||
<literal>mDNSResponder(8)</literal>. If the value is boolean, the service name is inferred from the SockService-Name. SockServiceName.
|
||||
Name.
|
||||
<literal>mDNSResponder(8)</literal>. If the value is boolean, the service name is inferred from the SockServiceName.
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -855,8 +889,8 @@ with lib;
|
||||
description = ''
|
||||
This optional key can be used to request that the datagram socket join a multicast group. If the
|
||||
value is a hostname, then <literal>getaddrinfo(3)</literal> will be used to join the correct multicast address for a
|
||||
given socket family. If an explicit IPv4 or IPv6 address is given, it is required that the Sock-Family SockFamily
|
||||
Family family also be set, otherwise the results are undefined.
|
||||
given socket family. If an explicit IPv4 or IPv6 address is given, it is required that the SockFamily
|
||||
family also be set, otherwise the results are undefined.
|
||||
'';
|
||||
};
|
||||
};
|
||||
@@ -864,6 +898,5 @@ with lib;
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
};
|
||||
config = { };
|
||||
}
|
||||
|
||||
@@ -1,16 +1,66 @@
|
||||
#!/usr/bin/env bash
|
||||
# Moves the existing profile from /nix or $XDG_STATE_HOME/home-manager to
|
||||
# $XDG_STATE_HOME/nix to match changed behavior in Nix 2.14. See
|
||||
# https://github.com/NixOS/nix/pull/5226.
|
||||
function migrateProfile() {
|
||||
declare -r stateHome="${XDG_STATE_HOME:-$HOME/.local/state}"
|
||||
declare -r userNixStateDir="$stateHome/nix"
|
||||
declare -r hmStateDir="$stateHome/home-manager"
|
||||
|
||||
declare -r globalNixStateDir="${NIX_STATE_DIR:-/nix/var/nix}"
|
||||
declare -r globalProfilesDir="$globalNixStateDir/profiles/per-user/$USER"
|
||||
|
||||
if [[ -e $globalProfilesDir/home-manager ]]; then
|
||||
declare -r oldProfilesDir="$globalProfilesDir"
|
||||
elif [[ -e $hmStateDir/profiles/home-manager ]]; then
|
||||
declare -r oldProfilesDir="$hmStateDir/profiles"
|
||||
fi
|
||||
|
||||
declare -r newProfilesDir="$userNixStateDir/profiles"
|
||||
|
||||
if [[ -v oldProfilesDir && -e $newProfilesDir ]]; then
|
||||
if [[ ! -e $newProfilesDir/home-manager ]]; then
|
||||
_i 'Migrating profile from %s to %s' "$oldProfilesDir" "$newProfilesDir"
|
||||
for p in "$oldProfilesDir"/home-manager-*; do
|
||||
declare name="${p##*/}"
|
||||
nix-store --realise "$p" --add-root "$newProfilesDir/$name" > /dev/null
|
||||
done
|
||||
cp -P "$oldProfilesDir/home-manager" "$newProfilesDir"
|
||||
fi
|
||||
|
||||
rm "$oldProfilesDir/home-manager" "$oldProfilesDir"/home-manager-*
|
||||
fi
|
||||
}
|
||||
|
||||
function setupVars() {
|
||||
local nixStateDir="${NIX_STATE_DIR:-/nix/var/nix}"
|
||||
local profilesPath="$nixStateDir/profiles/per-user/$USER"
|
||||
local gcPath="$nixStateDir/gcroots/per-user/$USER"
|
||||
declare -r stateHome="${XDG_STATE_HOME:-$HOME/.local/state}"
|
||||
declare -r userNixStateDir="$stateHome/nix"
|
||||
declare -r hmGcrootsDir="$stateHome/home-manager/gcroots"
|
||||
|
||||
declare -gr nixProfilePath="$profilesPath/profile"
|
||||
declare -gr genProfilePath="$profilesPath/home-manager"
|
||||
declare -r globalNixStateDir="${NIX_STATE_DIR:-/nix/var/nix}"
|
||||
declare -r globalProfilesDir="$globalNixStateDir/profiles/per-user/$USER"
|
||||
declare -r globalGcrootsDir="$globalNixStateDir/gcroots/per-user/$USER"
|
||||
|
||||
# If the user Nix profiles path exists, then place the HM profile there.
|
||||
# Otherwise, if the global Nix per-user state directory exists then use
|
||||
# that. If neither exists, then we give up.
|
||||
#
|
||||
# shellcheck disable=2174
|
||||
if [[ -d $userNixStateDir/profiles ]]; then
|
||||
declare -r profilesDir="$userNixStateDir/profiles"
|
||||
elif [[ -d $globalProfilesDir ]]; then
|
||||
declare -r profilesDir="$globalProfilesDir"
|
||||
else
|
||||
_iError 'Could not find suitable profile directory, tried %s and %s' \
|
||||
"$userNixStateDir/profiles" "$globalProfilesDir" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
declare -gr genProfilePath="$profilesDir/home-manager"
|
||||
declare -gr newGenPath="@GENERATION_DIR@";
|
||||
declare -gr newGenGcPath="$gcPath/current-home"
|
||||
declare -gr newGenGcPath="$hmGcrootsDir/current-home"
|
||||
declare -gr legacyGenGcPath="$globalGcrootsDir/current-home"
|
||||
|
||||
local greatestGenNum
|
||||
declare greatestGenNum
|
||||
greatestGenNum=$( \
|
||||
nix-env --list-generations --profile "$genProfilePath" \
|
||||
| tail -1 \
|
||||
@@ -23,9 +73,9 @@ function setupVars() {
|
||||
declare -gr newGenNum=1
|
||||
fi
|
||||
|
||||
if [[ -e $profilesPath/home-manager ]] ; then
|
||||
oldGenPath="$(readlink -e "$profilesPath/home-manager")"
|
||||
declare -gr oldGenPath
|
||||
if [[ -e $genProfilePath ]] ; then
|
||||
declare -g oldGenPath
|
||||
oldGenPath="$(readlink -e "$genProfilePath")"
|
||||
fi
|
||||
|
||||
$VERBOSE_RUN _i "Sanity checking oldGenNum and oldGenPath"
|
||||
@@ -33,11 +83,29 @@ function setupVars() {
|
||||
|| ! -v oldGenNum && -v oldGenPath ]]; then
|
||||
_i $'The previous generation number and path are in conflict! These\nmust be either both empty or both set but are now set to\n\n \'%s\' and \'%s\'\n\nIf you don\'t mind losing previous profile generations then\nthe easiest solution is probably to run\n\n rm %s/home-manager*\n rm %s/current-home\n\nand trying home-manager switch again. Good luck!' \
|
||||
"${oldGenNum:-}" "${oldGenPath:-}" \
|
||||
"$profilesPath" "$gcPath"
|
||||
"$profilesDir" "$hmGcrootsDir"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
function checkUsername() {
|
||||
local expectedUser="$1"
|
||||
|
||||
if [[ "$USER" != "$expectedUser" ]]; then
|
||||
_iError 'Error: USER is set to "%s" but we expect "%s"' "$USER" "$expectedUser"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
function checkHomeDirectory() {
|
||||
local expectedHome="$1"
|
||||
|
||||
if ! [[ $HOME -ef $expectedHome ]]; then
|
||||
_iError 'Error: HOME is set to "%s" but we expect "%s"' "$HOME" "$expectedHome"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
if [[ -v VERBOSE ]]; then
|
||||
export VERBOSE_ECHO=echo
|
||||
export VERBOSE_ARG="--verbose"
|
||||
@@ -55,14 +123,20 @@ _i "Starting Home Manager activation"
|
||||
$VERBOSE_RUN _i "Sanity checking Nix"
|
||||
nix-build --expr '{}' --no-out-link
|
||||
|
||||
# Also make sure that the Nix profiles path is created.
|
||||
nix-env -q > /dev/null 2>&1 || true
|
||||
|
||||
migrateProfile
|
||||
setupVars
|
||||
|
||||
if [[ -v DRY_RUN ]] ; then
|
||||
_i "This is a dry run"
|
||||
export DRY_RUN_CMD=echo
|
||||
export DRY_RUN_NULL=/dev/stdout
|
||||
else
|
||||
$VERBOSE_RUN _i "This is a live run"
|
||||
export DRY_RUN_CMD=""
|
||||
export DRY_RUN_NULL=/dev/null
|
||||
fi
|
||||
|
||||
if [[ -v VERBOSE ]]; then
|
||||
@@ -79,5 +153,6 @@ else
|
||||
fi
|
||||
$VERBOSE_ECHO " newGenPath=$newGenPath"
|
||||
$VERBOSE_ECHO " newGenNum=$newGenNum"
|
||||
$VERBOSE_ECHO " newGenGcPath=$newGenGcPath"
|
||||
$VERBOSE_ECHO " genProfilePath=$genProfilePath"
|
||||
$VERBOSE_ECHO " newGenGcPath=$newGenGcPath"
|
||||
$VERBOSE_ECHO " legacyGenGcPath=$legacyGenGcPath"
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
# The check for terminal output and color support is heavily inspired
|
||||
# by https://unix.stackexchange.com/a/10065.
|
||||
#
|
||||
# Allow opt out by respecting the `NO_COLOR` environment variable.
|
||||
|
||||
function setupColors() {
|
||||
normalColor=""
|
||||
errorColor=""
|
||||
warnColor=""
|
||||
noteColor=""
|
||||
|
||||
# Enable colors for terminals, and allow opting out.
|
||||
if [[ ! -v NO_COLOR && -t 1 ]]; then
|
||||
# See if it supports colors.
|
||||
local ncolors
|
||||
ncolors=$(tput colors)
|
||||
|
||||
if [[ -n "$ncolors" && "$ncolors" -ge 8 ]]; then
|
||||
normalColor="$(tput sgr0)"
|
||||
errorColor="$(tput bold)$(tput setaf 1)"
|
||||
warnColor="$(tput setaf 3)"
|
||||
noteColor="$(tput bold)$(tput setaf 6)"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
setupColors
|
||||
|
||||
function errorEcho() {
|
||||
echo "${errorColor}$*${normalColor}"
|
||||
}
|
||||
|
||||
function warnEcho() {
|
||||
echo "${warnColor}$*${normalColor}"
|
||||
}
|
||||
|
||||
function noteEcho() {
|
||||
echo "${noteColor}$*${normalColor}"
|
||||
}
|
||||
@@ -4,39 +4,38 @@
|
||||
#
|
||||
# - not specific to strings, i.e., any payload is OK,
|
||||
#
|
||||
# - the addition of the function `dagEntryBefore` indicating a
|
||||
# "wanted by" relationship.
|
||||
# - the addition of the function `entryBefore` indicating a "wanted
|
||||
# by" relationship.
|
||||
|
||||
{ lib }:
|
||||
|
||||
let inherit (lib) all any filterAttrs mapAttrs mapAttrsToList toposort;
|
||||
in rec {
|
||||
|
||||
emptyDag = { };
|
||||
let inherit (lib) all filterAttrs hm mapAttrs toposort;
|
||||
in {
|
||||
empty = { };
|
||||
|
||||
isEntry = e: e ? data && e ? after && e ? before;
|
||||
isDag = dag:
|
||||
let isEntry = e: (e ? data) && (e ? after) && (e ? before);
|
||||
in builtins.isAttrs dag && all (x: x) (mapAttrsToList (n: isEntry) dag);
|
||||
builtins.isAttrs dag && all hm.dag.isEntry (builtins.attrValues dag);
|
||||
|
||||
# Takes an attribute set containing entries built by
|
||||
# dagEntryAnywhere, dagEntryAfter, and dagEntryBefore to a
|
||||
# topologically sorted list of entries.
|
||||
# Takes an attribute set containing entries built by entryAnywhere,
|
||||
# entryAfter, and entryBefore to a topologically sorted list of
|
||||
# entries.
|
||||
#
|
||||
# Internally this function uses the `toposort` function in
|
||||
# `<nixpkgs/lib/lists.nix>` and its value is accordingly.
|
||||
#
|
||||
# Specifically, the result on success is
|
||||
#
|
||||
# { result = [{name = ?; data = ?;} …] }
|
||||
# { result = [ { name = ?; data = ?; } … ] }
|
||||
#
|
||||
# For example
|
||||
#
|
||||
# nix-repl> dagTopoSort {
|
||||
# a = dagEntryAnywhere "1";
|
||||
# b = dagEntryAfter ["a" "c"] "2";
|
||||
# c = dagEntryBefore ["d"] "3";
|
||||
# d = dagEntryBefore ["e"] "4";
|
||||
# e = dagEntryAnywhere "5";
|
||||
# nix-repl> topoSort {
|
||||
# a = entryAnywhere "1";
|
||||
# b = entryAfter [ "a" "c" ] "2";
|
||||
# c = entryBefore [ "d" ] "3";
|
||||
# d = entryBefore [ "e" ] "4";
|
||||
# e = entryAnywhere "5";
|
||||
# } == {
|
||||
# result = [
|
||||
# { data = "1"; name = "a"; }
|
||||
@@ -51,66 +50,54 @@ in rec {
|
||||
# And the result on error is
|
||||
#
|
||||
# {
|
||||
# cycle = [ {after = ?; name = ?; data = ?} … ];
|
||||
# loops = [ {after = ?; name = ?; data = ?} … ];
|
||||
# cycle = [ { after = ?; name = ?; data = ? } … ];
|
||||
# loops = [ { after = ?; name = ?; data = ? } … ];
|
||||
# }
|
||||
#
|
||||
# For example
|
||||
#
|
||||
# nix-repl> dagTopoSort {
|
||||
# a = dagEntryAnywhere "1";
|
||||
# b = dagEntryAfter ["a" "c"] "2";
|
||||
# c = dagEntryAfter ["d"] "3";
|
||||
# d = dagEntryAfter ["b"] "4";
|
||||
# e = dagEntryAnywhere "5";
|
||||
# nix-repl> topoSort {
|
||||
# a = entryAnywhere "1";
|
||||
# b = entryAfter [ "a" "c" ] "2";
|
||||
# c = entryAfter [ "d" ] "3";
|
||||
# d = entryAfter [ "b" ] "4";
|
||||
# e = entryAnywhere "5";
|
||||
# } == {
|
||||
# cycle = [
|
||||
# { after = ["a" "c"]; data = "2"; name = "b"; }
|
||||
# { after = ["d"]; data = "3"; name = "c"; }
|
||||
# { after = ["b"]; data = "4"; name = "d"; }
|
||||
# { after = [ "a" "c" ]; data = "2"; name = "b"; }
|
||||
# { after = [ "d" ]; data = "3"; name = "c"; }
|
||||
# { after = [ "b" ]; data = "4"; name = "d"; }
|
||||
# ];
|
||||
# loops = [
|
||||
# { after = ["a" "c"]; data = "2"; name = "b"; }
|
||||
# { after = [ "a" "c" ]; data = "2"; name = "b"; }
|
||||
# ];
|
||||
# } == {}
|
||||
# }
|
||||
# true
|
||||
dagTopoSort = dag:
|
||||
topoSort = dag:
|
||||
let
|
||||
dagBefore = dag: name:
|
||||
mapAttrsToList (n: v: n)
|
||||
(filterAttrs (n: v: any (a: a == name) v.before) dag);
|
||||
builtins.attrNames
|
||||
(filterAttrs (n: v: builtins.elem name v.before) dag);
|
||||
normalizedDag = mapAttrs (n: v: {
|
||||
name = n;
|
||||
data = v.data;
|
||||
after = v.after ++ dagBefore dag n;
|
||||
}) dag;
|
||||
before = a: b: any (c: a.name == c) b.after;
|
||||
sorted = toposort before (mapAttrsToList (n: v: v) normalizedDag);
|
||||
before = a: b: builtins.elem a.name b.after;
|
||||
sorted = toposort before (builtins.attrValues normalizedDag);
|
||||
in if sorted ? result then {
|
||||
result = map (v: { inherit (v) name data; }) sorted.result;
|
||||
} else
|
||||
sorted;
|
||||
|
||||
# Applies a function to each element of the given DAG.
|
||||
dagMap = f: dag: mapAttrs (n: v: v // { data = f n v.data; }) dag;
|
||||
map = f: mapAttrs (n: v: v // { data = f n v.data; });
|
||||
|
||||
entryBetween = before: after: data: { inherit data before after; };
|
||||
|
||||
# Create a DAG entry with no particular dependency information.
|
||||
dagEntryAnywhere = data: {
|
||||
inherit data;
|
||||
before = [ ];
|
||||
after = [ ];
|
||||
};
|
||||
|
||||
dagEntryBetween = before: after: data: { inherit data before after; };
|
||||
|
||||
dagEntryAfter = after: data: {
|
||||
inherit data after;
|
||||
before = [ ];
|
||||
};
|
||||
|
||||
dagEntryBefore = before: data: {
|
||||
inherit data before;
|
||||
after = [ ];
|
||||
};
|
||||
entryAnywhere = hm.dag.entryBetween [ ] [ ];
|
||||
|
||||
entryAfter = hm.dag.entryBetween [ ];
|
||||
entryBefore = before: hm.dag.entryBetween before [ ];
|
||||
}
|
||||
|
||||
@@ -1,28 +1,16 @@
|
||||
{ lib }:
|
||||
|
||||
rec {
|
||||
dag =
|
||||
let
|
||||
d = import ./dag.nix { inherit lib; };
|
||||
in
|
||||
{
|
||||
empty = d.emptyDag;
|
||||
isDag = d.isDag;
|
||||
topoSort = d.dagTopoSort;
|
||||
map = d.dagMap;
|
||||
entryAnywhere = d.dagEntryAnywhere;
|
||||
entryBetween = d.dagEntryBetween;
|
||||
entryAfter = d.dagEntryAfter;
|
||||
entryBefore = d.dagEntryBefore;
|
||||
};
|
||||
dag = import ./dag.nix { inherit lib; };
|
||||
|
||||
assertions = import ./assertions.nix { inherit lib; };
|
||||
|
||||
booleans = import ./booleans.nix { inherit lib; };
|
||||
generators = import ./generators.nix { inherit lib; };
|
||||
gvariant = import ./gvariant.nix { inherit lib; };
|
||||
maintainers = import ./maintainers.nix;
|
||||
strings = import ./strings.nix { inherit lib; };
|
||||
types = import ./types.nix { inherit dag gvariant lib; };
|
||||
types = import ./types.nix { inherit gvariant lib; };
|
||||
|
||||
shell = import ./shell.nix { inherit lib; };
|
||||
zsh = import ./zsh.nix { inherit lib; };
|
||||
|
||||
@@ -10,11 +10,20 @@ in
|
||||
# absolute path).
|
||||
#
|
||||
# Arguments:
|
||||
# - opt the name of the option, for self-references
|
||||
# - basePathDesc docbook compatible description of the base path
|
||||
# - basePath the file base path
|
||||
fileType = basePathDesc: basePath: types.attrsOf (types.submodule (
|
||||
fileType = opt: basePathDesc: basePath: types.attrsOf (types.submodule (
|
||||
{ name, config, ... }: {
|
||||
options = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
description = ''
|
||||
Whether this file should be generated. This option allows specific
|
||||
files to be disabled.
|
||||
'';
|
||||
};
|
||||
target = mkOption {
|
||||
type = types.str;
|
||||
apply = p:
|
||||
@@ -22,7 +31,7 @@ in
|
||||
absPath = if hasPrefix "/" p then p else "${basePath}/${p}";
|
||||
in
|
||||
removePrefix (homeDirectory + "/") absPath;
|
||||
defaultText = literalExpression "<name>";
|
||||
defaultText = literalExpression "name";
|
||||
description = ''
|
||||
Path to target file relative to ${basePathDesc}.
|
||||
'';
|
||||
@@ -33,7 +42,7 @@ in
|
||||
type = types.nullOr types.lines;
|
||||
description = ''
|
||||
Text of the file. If this option is null then
|
||||
<link linkend="opt-home.file._name_.source">home.file.<name?>.source</link>
|
||||
<xref linkend="opt-${opt}._name_.source"/>
|
||||
must be set.
|
||||
'';
|
||||
};
|
||||
@@ -42,7 +51,7 @@ in
|
||||
type = types.path;
|
||||
description = ''
|
||||
Path of the source file or directory. If
|
||||
<link linkend="opt-home.file._name_.text">home.file.<name?>.text</link>
|
||||
<xref linkend="opt-${opt}._name_.text"/>
|
||||
is non-null then this option will automatically point to a file
|
||||
containing that text.
|
||||
'';
|
||||
@@ -106,7 +115,8 @@ in
|
||||
target = mkDefault name;
|
||||
source = mkIf (config.text != null) (
|
||||
mkDefault (pkgs.writeTextFile {
|
||||
inherit (config) executable text;
|
||||
inherit (config) text;
|
||||
executable = config.executable == true; # can be null
|
||||
name = hm.strings.storeFileName name;
|
||||
})
|
||||
);
|
||||
|
||||
102
modules/lib/generators.nix
Normal file
102
modules/lib/generators.nix
Normal file
@@ -0,0 +1,102 @@
|
||||
{ lib }:
|
||||
|
||||
{
|
||||
toKDL = { }:
|
||||
let
|
||||
inherit (lib) concatStringsSep splitString mapAttrsToList any;
|
||||
inherit (builtins) typeOf replaceStrings elem;
|
||||
|
||||
# ListOf String -> String
|
||||
indentStrings = let
|
||||
# Although the input of this function is a list of strings,
|
||||
# the strings themselves *will* contain newlines, so you need
|
||||
# to normalize the list by joining and resplitting them.
|
||||
unlines = lib.splitString "\n";
|
||||
lines = lib.concatStringsSep "\n";
|
||||
indentAll = lines: concatStringsSep "\n" (map (x: " " + x) lines);
|
||||
in stringsWithNewlines: indentAll (unlines (lines stringsWithNewlines));
|
||||
|
||||
# String -> String
|
||||
sanitizeString = replaceStrings [ "\n" ''"'' ] [ "\\n" ''\"'' ];
|
||||
|
||||
# OneOf [Int Float String Bool Null] -> String
|
||||
literalValueToString = element:
|
||||
lib.throwIfNot
|
||||
(elem (typeOf element) [ "int" "float" "string" "bool" "null" ])
|
||||
"Cannot convert value of type ${typeOf element} to KDL literal."
|
||||
(if typeOf element == "null" then
|
||||
"null"
|
||||
else if element == false then
|
||||
"false"
|
||||
else if element == true then
|
||||
"true"
|
||||
else if typeOf element == "string" then
|
||||
''"${sanitizeString element}"''
|
||||
else
|
||||
toString element);
|
||||
|
||||
# Attrset Conversion
|
||||
# String -> AttrsOf Anything -> String
|
||||
convertAttrsToKDL = name: attrs:
|
||||
let
|
||||
optArgsString = lib.optionalString (attrs ? "_args")
|
||||
(lib.pipe attrs._args [
|
||||
(map literalValueToString)
|
||||
(lib.concatStringsSep " ")
|
||||
(s: s + " ")
|
||||
]);
|
||||
|
||||
optPropsString = lib.optionalString (attrs ? "_props")
|
||||
(lib.pipe attrs._props [
|
||||
(lib.mapAttrsToList
|
||||
(name: value: "${name}=${literalValueToString value}"))
|
||||
(lib.concatStringsSep " ")
|
||||
(s: s + " ")
|
||||
]);
|
||||
|
||||
children =
|
||||
lib.filterAttrs (name: _: !(elem name [ "_args" "_props" ])) attrs;
|
||||
in ''
|
||||
${name} ${optArgsString}${optPropsString}{
|
||||
${indentStrings (mapAttrsToList convertAttributeToKDL children)}
|
||||
}'';
|
||||
|
||||
# List Conversion
|
||||
# String -> ListOf (OneOf [Int Float String Bool Null]) -> String
|
||||
convertListOfFlatAttrsToKDL = name: list:
|
||||
let flatElements = map literalValueToString list;
|
||||
in "${name} ${concatStringsSep " " flatElements}";
|
||||
|
||||
# String -> ListOf Anything -> String
|
||||
convertListOfNonFlatAttrsToKDL = name: list: ''
|
||||
${name} {
|
||||
${indentStrings (map (x: convertAttributeToKDL "-" x) list)}
|
||||
}'';
|
||||
|
||||
# String -> ListOf Anything -> String
|
||||
convertListToKDL = name: list:
|
||||
let elementsAreFlat = !any (el: elem (typeOf el) [ "list" "set" ]) list;
|
||||
in if elementsAreFlat then
|
||||
convertListOfFlatAttrsToKDL name list
|
||||
else
|
||||
convertListOfNonFlatAttrsToKDL name list;
|
||||
|
||||
# Combined Conversion
|
||||
# String -> Anything -> String
|
||||
convertAttributeToKDL = name: value:
|
||||
let vType = typeOf value;
|
||||
in if elem vType [ "int" "float" "bool" "null" "string" ] then
|
||||
"${name} ${literalValueToString value}"
|
||||
else if vType == "set" then
|
||||
convertAttrsToKDL name value
|
||||
else if vType == "list" then
|
||||
convertListToKDL name value
|
||||
else
|
||||
throw ''
|
||||
Cannot convert type `(${typeOf value})` to KDL:
|
||||
${name} = ${toString value}
|
||||
'';
|
||||
in attrs: ''
|
||||
${concatStringsSep "\n" (mapAttrsToList convertAttributeToKDL attrs)}
|
||||
'';
|
||||
}
|
||||
@@ -20,6 +20,7 @@ let
|
||||
arrayOf = t: "a${t}";
|
||||
maybeOf = t: "m${t}";
|
||||
tupleOf = ts: "(${concatStrings ts})";
|
||||
dictionaryEntryOf = ts: "{${concatStrings ts}}";
|
||||
string = "s";
|
||||
boolean = "b";
|
||||
uchar = "y";
|
||||
@@ -30,6 +31,7 @@ let
|
||||
int64 = "x";
|
||||
uint64 = "t";
|
||||
double = "d";
|
||||
variant = "v";
|
||||
};
|
||||
|
||||
# Returns the GVariant type of a given Nix value. If no type can be
|
||||
@@ -74,13 +76,13 @@ in rec {
|
||||
isGVariant = v: v._type or "" == "gvariant";
|
||||
|
||||
isArray = hasPrefix "a";
|
||||
isDictionaryEntry = hasPrefix "{";
|
||||
isMaybe = hasPrefix "m";
|
||||
isTuple = hasPrefix "(";
|
||||
|
||||
# Returns the GVariant value that most closely matches the given Nix
|
||||
# value. If no GVariant value can be found then `null` is returned.
|
||||
#
|
||||
# No support for dictionaries, maybe types, or variants.
|
||||
|
||||
mkValue = v:
|
||||
if builtins.isBool v then
|
||||
mkBoolean v
|
||||
@@ -105,6 +107,21 @@ in rec {
|
||||
|
||||
mkEmptyArray = elemType: mkArray elemType [ ];
|
||||
|
||||
mkVariant = elem:
|
||||
let gvarElem = mkValue elem;
|
||||
in mkPrimitive type.variant gvarElem // {
|
||||
__toString = self: "@${self.type} <${toString self.value}>";
|
||||
};
|
||||
|
||||
mkDictionaryEntry = elems:
|
||||
let
|
||||
gvarElems = map mkValue elems;
|
||||
dictionaryType = type.dictionaryEntryOf (map (e: e.type) gvarElems);
|
||||
in mkPrimitive dictionaryType gvarElems // {
|
||||
__toString = self:
|
||||
"@${self.type} {${concatMapStringsSep "," toString self.value}}";
|
||||
};
|
||||
|
||||
mkNothing = elemType: mkMaybe elemType null;
|
||||
|
||||
mkJust = elem: let gvarElem = mkValue elem; in mkMaybe gvarElem.type gvarElem;
|
||||
|
||||
@@ -19,18 +19,52 @@
|
||||
githubId = 56743515;
|
||||
name = "Morgane Austreelis";
|
||||
};
|
||||
blmhemu = {
|
||||
name = "blmhemu";
|
||||
email = "19410501+blmhemu@users.noreply.github.com";
|
||||
github = "blmhemu";
|
||||
githubId = 19410501;
|
||||
};
|
||||
bertof = {
|
||||
name = "bertof";
|
||||
email = "berto.f@protonmail.com";
|
||||
github = "bertof";
|
||||
githubId = 9915675;
|
||||
};
|
||||
CarlosLoboxyz = {
|
||||
name = "Carlos Lobo";
|
||||
email = "86011416+CarlosLoboxyz@users.noreply.github.com";
|
||||
github = "CarlosLoboxyz";
|
||||
githubId = 86011416;
|
||||
};
|
||||
d-dervishi = {
|
||||
email = "david.dervishi@epfl.ch";
|
||||
github = "d-dervishi";
|
||||
githubId = 61125355;
|
||||
name = "David Dervishi";
|
||||
keys = [{
|
||||
longKeyId = "rsa4096/0xB1C012F0E7697195";
|
||||
fingerprint = "4C92 E3B0 21B5 5562 A1E0 CE3D B1C0 12F0 E769 7195";
|
||||
}];
|
||||
};
|
||||
Dines97 = {
|
||||
name = "Denis Kaynar";
|
||||
email = "19364873+Dines97@users.noreply.github.com";
|
||||
github = "Dines97";
|
||||
githubId = 19364873;
|
||||
};
|
||||
dwagenk = {
|
||||
email = "dwagenk@mailbox.org";
|
||||
github = "dwagenk";
|
||||
githubId = 32838899;
|
||||
name = "Daniel Wagenknecht";
|
||||
};
|
||||
jkarlson = {
|
||||
email = "jekarlson@gmail.com";
|
||||
github = "jkarlson";
|
||||
githubId = 1204734;
|
||||
name = "Emil Karlson";
|
||||
};
|
||||
justinlovinger = {
|
||||
name = "Justin Lovinger";
|
||||
email = "git@justinlovinger.com";
|
||||
@@ -89,6 +123,12 @@
|
||||
fingerprint = "2BE3 BAFD 793E A349 ED1F F00F 04D0 CEAF 916A 9A40";
|
||||
}];
|
||||
};
|
||||
katexochen = {
|
||||
name = "Paul Meyer";
|
||||
email = "49727155+katexochen@users.noreply.github.com";
|
||||
github = "katexochen";
|
||||
githubId = 49727155;
|
||||
};
|
||||
kubukoz = {
|
||||
name = "Jakub Kozłowski";
|
||||
email = "kubukoz@users.noreply.github.com";
|
||||
@@ -107,12 +147,24 @@
|
||||
github = "matrss";
|
||||
githubId = 9308656;
|
||||
};
|
||||
mforster = {
|
||||
name = "Michael Forster";
|
||||
email = "email@michael-forster.de";
|
||||
github = "MForster";
|
||||
githubId = 4067975;
|
||||
};
|
||||
mifom = {
|
||||
name = "mifom";
|
||||
email = "mifom@users.noreply.github.com";
|
||||
github = "mifom";
|
||||
githubId = 23462908;
|
||||
};
|
||||
nilp0inter = {
|
||||
name = "Roberto Abdelkader Martínez Pérez";
|
||||
email = "robertomartinezp@gmail.com";
|
||||
github = "nilp0inter";
|
||||
githubId = 1224006;
|
||||
};
|
||||
seylerius = {
|
||||
email = "sable@seyleri.us";
|
||||
name = "Sable Seyler";
|
||||
@@ -135,6 +187,12 @@
|
||||
githubId = 53856373;
|
||||
name = "Jens Krewald";
|
||||
};
|
||||
GaetanLepage = {
|
||||
email = "gaetan@glepage.com";
|
||||
github = "GaetanLepage";
|
||||
githubId = 33058747;
|
||||
name = "Gaetan Lepage";
|
||||
};
|
||||
maximsmol = {
|
||||
email = "maximsmol@gmail.com";
|
||||
github = "maximsmol";
|
||||
@@ -187,6 +245,12 @@
|
||||
githubId = 1553581;
|
||||
name = "Josh Robson Chase";
|
||||
};
|
||||
jwygoda = {
|
||||
name = "Jarosław Wygoda";
|
||||
email = "jaroslaw@wygoda.me";
|
||||
github = "jwygoda";
|
||||
githubId = 20658981;
|
||||
};
|
||||
hawkw = {
|
||||
name = "Eliza Weisman";
|
||||
email = "eliza@elizas.website";
|
||||
@@ -265,10 +329,75 @@
|
||||
github = "sebtm";
|
||||
githubId = 17243347;
|
||||
};
|
||||
rosuavio = {
|
||||
name = "Rosario Pulella";
|
||||
email = "RosarioPulella@gmail.com";
|
||||
github = "Rosuavio";
|
||||
githubId = 7164552;
|
||||
};
|
||||
rszamszur = {
|
||||
name = "Radosław Szamszur";
|
||||
email = "radoslawszamszur@gmail.com";
|
||||
github = "rszamszur";
|
||||
githubId = 10353018;
|
||||
};
|
||||
rcerc = {
|
||||
name = "rcerc";
|
||||
email = "88944439+rcerc@users.noreply.github.com";
|
||||
github = "rcerc";
|
||||
githubId = 88944439;
|
||||
keys = [{
|
||||
longkeyid = "ed25519/0x3F98EC7EC2B87ED1";
|
||||
fingerprint = "D5D6 FD1F 0D9A 3284 FB9B C26D 3F98 EC7E C2B8 7ED1";
|
||||
}];
|
||||
};
|
||||
mtoohey = {
|
||||
name = "Matthew Toohey";
|
||||
email = "contact@mtoohey.com";
|
||||
github = "mtoohey31";
|
||||
githubId = 36740602;
|
||||
};
|
||||
lukasngl = {
|
||||
name = "Lukas Nagel";
|
||||
email = "69244516+lukasngl@users.noreply.github.com";
|
||||
github = "lukasngl";
|
||||
githubId = 69244516;
|
||||
};
|
||||
soywod = {
|
||||
name = "Clément DOUIN";
|
||||
email = "clement.douin@posteo.net";
|
||||
matrix = "@soywod:matrix.org";
|
||||
github = "soywod";
|
||||
githubId = 10437171;
|
||||
keys =
|
||||
[{ fingerprint = "75F0 AB7C FE01 D077 AEE6 CAFD 353E 4A18 EE0F AB72"; }];
|
||||
};
|
||||
toastal = {
|
||||
email = "toastal+nix@posteo.net";
|
||||
matrix = "@toastal:matrix.org";
|
||||
github = "toastal";
|
||||
githubId = 561087;
|
||||
name = "toastal";
|
||||
keys =
|
||||
[{ fingerprint = "7944 74B7 D236 DAB9 C9EF E7F9 5CCE 6F14 66D4 7C9E"; }];
|
||||
};
|
||||
tomodachi94 = {
|
||||
email = "tomodachi94+nixpkgs@protonmail.com";
|
||||
matrix = "@tomodachi94:matrix.org";
|
||||
github = "tomodachi94";
|
||||
githubId = 68489118;
|
||||
name = "tomodachi94";
|
||||
};
|
||||
NateCox = {
|
||||
name = "Nate Cox";
|
||||
email = "nate@natecox.dev";
|
||||
github = "natecox";
|
||||
githubId = 2782695;
|
||||
};
|
||||
liyangau = {
|
||||
name = "Li Yang";
|
||||
email = "d@aufomm.com";
|
||||
github = "liyangau";
|
||||
githubId = 71299093;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,33 +1,40 @@
|
||||
{ dag, lib }:
|
||||
{ lib }:
|
||||
|
||||
let
|
||||
inherit (lib)
|
||||
concatStringsSep defaultFunctor fixedWidthNumber imap1 isAttrs isList length
|
||||
listToAttrs mapAttrs mkIf mkOption mkOptionType nameValuePair stringLength
|
||||
types warn;
|
||||
|
||||
isDagEntry = e: isAttrs e && (e ? data) && (e ? after) && (e ? before);
|
||||
concatStringsSep defaultFunctor fixedWidthNumber hm imap1 isAttrs isList
|
||||
length listToAttrs mapAttrs mkIf mkOrder mkOption mkOptionType nameValuePair
|
||||
stringLength types warn;
|
||||
|
||||
dagEntryOf = elemType:
|
||||
let
|
||||
submoduleType = types.submodule ({ name, ... }: {
|
||||
options = {
|
||||
data = mkOption { type = elemType; };
|
||||
after = mkOption { type = with types; uniq (listOf str); };
|
||||
before = mkOption { type = with types; uniq (listOf str); };
|
||||
after = mkOption { type = with types; listOf str; };
|
||||
before = mkOption { type = with types; listOf str; };
|
||||
};
|
||||
config = mkIf (elemType.name == "submodule") {
|
||||
data._module.args.dagName = name;
|
||||
};
|
||||
});
|
||||
maybeConvert = v: if isDagEntry v then v else dag.entryAnywhere v;
|
||||
maybeConvert = def:
|
||||
if hm.dag.isEntry def.value then
|
||||
def.value
|
||||
else
|
||||
hm.dag.entryAnywhere (if def ? priority then
|
||||
mkOrder def.priority def.value
|
||||
else
|
||||
def.value);
|
||||
in mkOptionType {
|
||||
name = "dagEntryOf";
|
||||
description = "DAG entry of ${elemType.description}";
|
||||
# leave the checking to the submodule type
|
||||
merge = loc: defs:
|
||||
submoduleType.merge loc
|
||||
(map (def: def // { value = maybeConvert def.value; }) defs);
|
||||
submoduleType.merge loc (map (def: {
|
||||
inherit (def) file;
|
||||
value = maybeConvert def;
|
||||
}) defs);
|
||||
};
|
||||
|
||||
in rec {
|
||||
@@ -42,7 +49,7 @@ in rec {
|
||||
let attrEquivalent = types.attrsOf (dagEntryOf elemType);
|
||||
in mkOptionType rec {
|
||||
name = "dagOf";
|
||||
description = "DAG of ${elemType.description}s";
|
||||
description = "DAG of ${elemType.description}";
|
||||
inherit (attrEquivalent) check merge emptyValue;
|
||||
getSubOptions = prefix: elemType.getSubOptions (prefix ++ [ "<name>" ]);
|
||||
getSubModules = elemType.getSubModules;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
{ lib, dag ? import ./dag.nix { inherit lib; }
|
||||
, gvariant ? import ./gvariant.nix { inherit lib; } }:
|
||||
{ lib, gvariant ? import ./gvariant.nix { inherit lib; } }:
|
||||
|
||||
let
|
||||
inherit (lib)
|
||||
@@ -7,7 +6,7 @@ let
|
||||
mergeAttrs mergeDefaultOption mergeOneOption mergeOptions mkOption
|
||||
mkOptionType showFiles showOption types;
|
||||
|
||||
typesDag = import ./types-dag.nix { inherit dag lib; };
|
||||
typesDag = import ./types-dag.nix { inherit lib; };
|
||||
|
||||
# Needed since the type is called gvariant and its merge attribute
|
||||
# must refer back to the type.
|
||||
@@ -56,7 +55,7 @@ in rec {
|
||||
};
|
||||
|
||||
size = mkOption {
|
||||
type = types.nullOr types.int;
|
||||
type = types.nullOr types.number;
|
||||
default = null;
|
||||
example = "8";
|
||||
description = ''
|
||||
@@ -96,6 +95,10 @@ in rec {
|
||||
mergeOneOption loc defs
|
||||
else if gvar.isMaybe sharedDefType && allChecked then
|
||||
mergeOneOption loc defs
|
||||
else if gvar.isDictionaryEntry sharedDefType && allChecked then
|
||||
mergeOneOption loc defs
|
||||
else if gvar.type.variant == sharedDefType && allChecked then
|
||||
mergeOneOption loc defs
|
||||
else if gvar.type.string == sharedDefType && allChecked then
|
||||
types.str.merge loc defs
|
||||
else if gvar.type.double == sharedDefType && allChecked then
|
||||
|
||||
@@ -8,9 +8,7 @@ let
|
||||
|
||||
docs = import ../docs { inherit lib pkgs; };
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
in {
|
||||
options = {
|
||||
manual.html.enable = mkOption {
|
||||
type = types.bool;
|
||||
|
||||
@@ -10,6 +10,14 @@ let
|
||||
|
||||
mkIniKeyValue = key: value: "${key}=${toString (hm.gvariant.mkValue value)}";
|
||||
|
||||
# The dconf keys managed by this configuration. We store this as part of the
|
||||
# generation state to be able to reset keys that become unmanaged during
|
||||
# switch.
|
||||
stateDconfKeys = pkgs.writeText "dconf-keys.json" (builtins.toJSON
|
||||
(concatLists (mapAttrsToList
|
||||
(dir: entries: mapAttrsToList (key: _: "/${dir}/${key}") entries)
|
||||
cfg.settings)));
|
||||
|
||||
in {
|
||||
meta.maintainers = [ maintainers.rycee ];
|
||||
|
||||
@@ -17,7 +25,13 @@ in {
|
||||
dconf = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
# While technically dconf on darwin could work, our activation step
|
||||
# requires dbus, which only *lightly* supports Darwin in general, and
|
||||
# not at all in the way it's packaged in nixpkgs. Because of this, we
|
||||
# just disable dconf for darwin hosts by default.
|
||||
# In the future, if someone gets dbus working, this _could_ be
|
||||
# re-enabled, unclear whether there's actual value in it though.
|
||||
default = !pkgs.stdenv.hostPlatform.isDarwin;
|
||||
visible = false;
|
||||
description = ''
|
||||
Whether to enable dconf settings.
|
||||
@@ -45,6 +59,17 @@ in {
|
||||
'';
|
||||
description = ''
|
||||
Settings to write to the dconf configuration system.
|
||||
</para><para>
|
||||
Note that the database is strongly-typed so you need to use the same types
|
||||
as described in the GSettings schema. For example, if an option is of type
|
||||
<literal>uint32</literal> (<literal>u</literal>), you need to wrap the number
|
||||
using the <literal>lib.hm.gvariant.mkUint32</literal> constructor.
|
||||
Otherwise, since Nix integers are implicitly coerced to <literal>int32</literal>
|
||||
(<literal>i</literal>), it would get stored in the database as such, and GSettings
|
||||
might be confused when loading the setting.
|
||||
</para><para>
|
||||
You might want to use <link xlink:href="https://github.com/gvolpe/dconf2nix">dconf2nix</link>
|
||||
to convert dconf database dumps into compatible Nix expression.
|
||||
'';
|
||||
};
|
||||
};
|
||||
@@ -54,22 +79,58 @@ in {
|
||||
# Make sure the dconf directory exists.
|
||||
xdg.configFile."dconf/.keep".source = builtins.toFile "keep" "";
|
||||
|
||||
home.activation.dconfSettings = hm.dag.entryAfter [ "installPackages" ]
|
||||
(let iniFile = pkgs.writeText "hm-dconf.ini" (toDconfIni cfg.settings);
|
||||
in ''
|
||||
if [[ -v DBUS_SESSION_BUS_ADDRESS ]]; then
|
||||
DCONF_DBUS_RUN_SESSION=""
|
||||
else
|
||||
DCONF_DBUS_RUN_SESSION="${pkgs.dbus}/bin/dbus-run-session"
|
||||
home.extraBuilderCommands = ''
|
||||
mkdir -p $out/state/
|
||||
ln -s ${stateDconfKeys} $out/state/${stateDconfKeys.name}
|
||||
'';
|
||||
|
||||
home.activation.dconfSettings = hm.dag.entryAfter [ "installPackages" ] (let
|
||||
iniFile = pkgs.writeText "hm-dconf.ini" (toDconfIni cfg.settings);
|
||||
|
||||
statePath = "state/${stateDconfKeys.name}";
|
||||
|
||||
cleanup = pkgs.writeShellScript "dconf-cleanup" ''
|
||||
set -euo pipefail
|
||||
|
||||
${config.lib.bash.initHomeManagerLib}
|
||||
|
||||
PATH=${makeBinPath [ pkgs.dconf pkgs.jq ]}''${PATH:+:}$PATH
|
||||
|
||||
oldState="$1"
|
||||
newState="$2"
|
||||
|
||||
# Can't do cleanup if we don't know the old state.
|
||||
if [[ ! -f $oldState ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [[ -v DRY_RUN ]]; then
|
||||
echo $DCONF_DBUS_RUN_SESSION ${pkgs.dconf}/bin/dconf load / "<" ${iniFile}
|
||||
else
|
||||
$DCONF_DBUS_RUN_SESSION ${pkgs.dconf}/bin/dconf load / < ${iniFile}
|
||||
fi
|
||||
# Reset all keys that are present in the old generation but not the new
|
||||
# one.
|
||||
jq -r -n \
|
||||
--slurpfile old "$oldState" \
|
||||
--slurpfile new "$newState" \
|
||||
'($old[] - $new[])[]' \
|
||||
| while read -r key; do
|
||||
$VERBOSE_ECHO "Resetting dconf key \"$key\""
|
||||
$DRY_RUN_CMD $DCONF_DBUS_RUN_SESSION dconf reset "$key"
|
||||
done
|
||||
'';
|
||||
in ''
|
||||
if [[ -v DBUS_SESSION_BUS_ADDRESS ]]; then
|
||||
export DCONF_DBUS_RUN_SESSION=""
|
||||
else
|
||||
export DCONF_DBUS_RUN_SESSION="${pkgs.dbus}/bin/dbus-run-session --dbus-daemon=${pkgs.dbus}/bin/dbus-daemon"
|
||||
fi
|
||||
|
||||
unset DCONF_DBUS_RUN_SESSION
|
||||
'');
|
||||
if [[ -v oldGenPath ]]; then
|
||||
${cleanup} \
|
||||
"$oldGenPath/${statePath}" \
|
||||
"$newGenPath/${statePath}"
|
||||
fi
|
||||
|
||||
$DRY_RUN_CMD $DCONF_DBUS_RUN_SESSION ${pkgs.dconf}/bin/dconf load / < ${iniFile}
|
||||
|
||||
unset DCONF_DBUS_RUN_SESSION
|
||||
'');
|
||||
};
|
||||
}
|
||||
|
||||
53
modules/misc/editorconfig.nix
Normal file
53
modules/misc/editorconfig.nix
Normal file
@@ -0,0 +1,53 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
|
||||
cfg = config.editorconfig;
|
||||
|
||||
iniFormat = pkgs.formats.ini { };
|
||||
|
||||
in {
|
||||
meta.maintainers = with maintainers; [ loicreynier ];
|
||||
|
||||
options.editorconfig = {
|
||||
enable = mkEnableOption "EditorConfig home configuration file";
|
||||
|
||||
settings = mkOption {
|
||||
type = iniFormat.type;
|
||||
default = { };
|
||||
description = ''
|
||||
Configuration written to <filename>$HOME/.editorconfig</filename>.
|
||||
<code>root = true</code> is automatically added to the file,
|
||||
it must not be added here.
|
||||
See <link xlink:href="https://editorconfig.org"/> for documentation.
|
||||
'';
|
||||
example = literalExpression ''
|
||||
{
|
||||
"*" = {
|
||||
charset = "utf-8";
|
||||
end_of_line = "lf";
|
||||
trim_trailing_whitespace = true;
|
||||
insert_final_newline = true;
|
||||
max_line_width = 78;
|
||||
indent_style = "space";
|
||||
indent_size = 4;
|
||||
};
|
||||
};
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf (cfg.enable && cfg.settings != { }) {
|
||||
home.file.".editorconfig".text = let
|
||||
renderedSettings = generators.toINIWithGlobalSection { } {
|
||||
globalSection = { root = true; };
|
||||
sections = cfg.settings;
|
||||
};
|
||||
in ''
|
||||
# Generated by Home Manager
|
||||
${renderedSettings}
|
||||
'';
|
||||
};
|
||||
}
|
||||
@@ -103,7 +103,7 @@ in
|
||||
entries = mkOption {
|
||||
internal = true;
|
||||
type = types.listOf entryModule;
|
||||
default = [];
|
||||
default = [ ];
|
||||
description = "News entries.";
|
||||
};
|
||||
};
|
||||
@@ -554,6 +554,491 @@ in
|
||||
A new module is available: 'services.mopidy'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-06-21T22:29:37+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.mujmap'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-06-24T17:18:32+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.micro'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-06-24T22:40:27+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.pistol'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-06-26T19:29:25+00:00";
|
||||
condition = hostPlatform.isLinux;
|
||||
message = ''
|
||||
A new module is available: 'services.sctd'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-07-12T08:59:50+00:00";
|
||||
condition = config.services.picom.enable;
|
||||
message = ''
|
||||
The 'services.picom' module has been refactored to use structural
|
||||
settings.
|
||||
|
||||
As a result 'services.picom.extraOptions' has been removed in favor of
|
||||
'services.picom.settings'. Also, 'services.picom.blur*' were removed
|
||||
since upstream changed the blur settings to be more flexible. You can
|
||||
migrate the blur settings to use 'services.picom.settings' instead.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-07-13T13:28:54+00:00";
|
||||
condition = hostPlatform.isLinux;
|
||||
message = ''
|
||||
A new module is available: 'programs.librewolf'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-07-24T13:17:01+00:00";
|
||||
condition = hostPlatform.isDarwin;
|
||||
message = ''
|
||||
A new option is available: 'targets.darwin.currentHostDefaults'.
|
||||
|
||||
This exposes macOS preferences that are available through the
|
||||
'defaults -currentHost' command.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-07-25T11:29:14+00:00";
|
||||
condition = hostPlatform.isLinux;
|
||||
message = ''
|
||||
A new module is available: 'xsession.windowManager.spectrwm'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-07-27T12:22:37+00:00";
|
||||
condition = hostPlatform.isLinux;
|
||||
message = ''
|
||||
A new module is available: 'services.recoll'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-08-01T16:35:28+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.hyfetch'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-08-07T09:07:35+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.wezterm'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-08-08T16:11:22+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.bashmount'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-08-25T21:01:37+00:00";
|
||||
condition = hostPlatform.isLinux;
|
||||
message = ''
|
||||
A new module is available: 'services.pueue'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-09-05T12:33:11+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.btop'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-09-05T11:05:25+00:00";
|
||||
message = ''
|
||||
A new module is available: 'editorconfig'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-09-08T15:41:46+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.nheko'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-09-08T17:50:43+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.yt-dlp'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-09-09T09:55:50+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.gallery-dl'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-09-21T22:42:42+00:00";
|
||||
condition = hostPlatform.isLinux;
|
||||
message = ''
|
||||
A new module is available: 'xsession.windowManager.fluxbox'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-09-25T21:00:05+00:00";
|
||||
condition = hostPlatform.isLinux;
|
||||
message = ''
|
||||
A new module is available: 'services.safeeyes'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-09-25T22:22:17+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.tmate'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-09-29T13:43:02+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.pls'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-10-06T23:06:08+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.ledger'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-10-06T23:19:10+00:00";
|
||||
condition = hostPlatform.isLinux;
|
||||
message = ''
|
||||
A new module is available: 'programs.havoc'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-10-12T23:10:48+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.discocss'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-10-16T19:49:46+00:00";
|
||||
condition = hostPlatform.isLinux;
|
||||
message = ''
|
||||
Two new modules are available:
|
||||
|
||||
- 'programs.borgmatic' and
|
||||
- 'services.borgmatic'.
|
||||
|
||||
use the first to configure the borgmatic tool and the second if you
|
||||
want to automatically run scheduled backups.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-10-18T08:07:43+00:00";
|
||||
condition = hostPlatform.isLinux;
|
||||
message = ''
|
||||
A new module is available: 'programs.looking-glass-client'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-10-22T17:52:30+00:00";
|
||||
condition = config.programs.firefox.enable;
|
||||
message = ''
|
||||
It is now possible to configure the default search engine in Firefox
|
||||
with
|
||||
|
||||
programs.firefox.profiles.<name>.search.default
|
||||
|
||||
and add custom engines with
|
||||
|
||||
programs.firefox.profiles.<name>.search.engines.
|
||||
|
||||
It is also recommended to set
|
||||
|
||||
programs.firefox.profiles.<name>.search.force = true
|
||||
|
||||
since Firefox will replace the symlink for the search configuration on
|
||||
every launch, but note that you'll lose any existing configuration by
|
||||
enabling this.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-10-24T22:05:27+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.k9s'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-11-01T23:57:50+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.oh-my-posh'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-11-02T10:56:14+00:00";
|
||||
condition = hostPlatform.isLinux;
|
||||
message = ''
|
||||
A new module is available: 'xfconf'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-11-04T14:56:46+00:00";
|
||||
condition = hostPlatform.isLinux;
|
||||
message = ''
|
||||
A new module is available: 'programs.thunderbird'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-11-13T09:05:51+00:00";
|
||||
condition = hostPlatform.isDarwin;
|
||||
message = ''
|
||||
A new module is available: 'programs.thunderbird'.
|
||||
|
||||
Please note that the Thunderbird packages provided by Nix are
|
||||
currently not working on macOS. The module can still be used to manage
|
||||
configuration files by installing Thunderbird manually and setting the
|
||||
'programs.thunderbird.package' option to a dummy package, for example
|
||||
using 'pkgs.runCommand'.
|
||||
|
||||
This module requires you to set the following environment variables
|
||||
when using an installation of Thunderbird that is not provided by Nix:
|
||||
|
||||
export MOZ_LEGACY_PROFILES=1
|
||||
export MOZ_ALLOW_DOWNGRADE=1
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-11-27T13:14:01+00:00";
|
||||
condition = config.programs.ssh.enable;
|
||||
message = ''
|
||||
'programs.ssh.matchBlocks.*' now supports literal 'Match' blocks via
|
||||
'programs.ssh.matchBlocks.*.match' option as an alternative to plain
|
||||
'Host' blocks
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-12-16T15:01:20+00:00";
|
||||
condition = hostPlatform.isLinux;
|
||||
message = ''
|
||||
A new module is available: 'services.megasync'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-12-25T08:41:32+00:00";
|
||||
condition = hostPlatform.isLinux;
|
||||
message = ''
|
||||
A new module is available: 'services.cachix-agent'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2022-12-28T21:48:22+00:00";
|
||||
condition = hostPlatform.isLinux;
|
||||
message = ''
|
||||
A new module is available: 'services.clipman'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2023-01-07T10:47:03+00:00";
|
||||
condition = hostPlatform.isLinux;
|
||||
message = ''
|
||||
'xsession.windowManager.i3.config.[window|floating].titlebar' and
|
||||
'wayland.windowManager.sway.config.[window|floating].titlebar' now default to 'true'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2023-01-28T17:35:49+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.papis'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2023-01-30T10:39:11+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.wlogout'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2023-01-31T22:08:41+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.rbenv'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2023-02-02T20:49:05+00:00";
|
||||
condition = hostPlatform.isLinux;
|
||||
message = ''
|
||||
A new module is available: 'services.autorandr'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2023-02-20T22:31:23+00:00";
|
||||
condition = hostPlatform.isLinux;
|
||||
message = ''
|
||||
A new module is available: 'services.mpd-mpris'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2023-02-22T22:16:37+00:00";
|
||||
condition = hostPlatform.isLinux;
|
||||
message = ''
|
||||
A new module is available: 'services.avizo'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2023-03-16:12:00+00:00";
|
||||
condition = config.programs.i3status-rust.enable;
|
||||
message = ''
|
||||
Module 'i3status-rust' was updated to support the new configuration
|
||||
format from 0.30.x releases, that introduces many breaking changes.
|
||||
The documentation was updated with examples from 0.30.x to help
|
||||
the transition.
|
||||
|
||||
See https://github.com/greshake/i3status-rust/blob/v0.30.0/NEWS.md
|
||||
for instructions on how to migrate.
|
||||
|
||||
Users that don't want to migrate yet can set
|
||||
'programs.i3status-rust.package' to an older version.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2023-03-22T07:20:00+00:00";
|
||||
condition = hostPlatform.isLinux;
|
||||
message = ''
|
||||
A new module is available: 'services.listenbrainz-mpd'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2023-03-22T07:31:38+00:00";
|
||||
condition = hostPlatform.isLinux;
|
||||
message = ''
|
||||
A new module is available: 'services.copyq'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2023-03-25T11:03:24+00:00";
|
||||
condition = hostPlatform.isDarwin;
|
||||
message = ''
|
||||
A new module is available: 'services.syncthing'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2023-03-25T14:53:57+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.hstr'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2023-04-18T06:28:31+00:00";
|
||||
condition = hostPlatform.isLinux;
|
||||
message = ''
|
||||
A new module is available: 'services.batsignal'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2023-04-19T15:33:07+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.mr'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2023-04-28T19:59:23+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.jujutsu'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2023-05-09T16:06:56+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.git-cliff'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2023-05-12T21:31:05+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.translate-shell'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2023-05-13T13:51:18+00:00";
|
||||
condition = hostPlatform.isLinux;
|
||||
message = ''
|
||||
A new module is available: 'programs.fuzzel'.
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
time = "2023-05-13T14:34:21+00:00";
|
||||
condition = config.programs.ssh.enable;
|
||||
message = ''
|
||||
The module 'programs.ssh' can now install an SSH client. The installed
|
||||
client is controlled by the 'programs.ssh.package` option, which
|
||||
defaults to 'null'.
|
||||
'';
|
||||
}
|
||||
{
|
||||
time = "2023-05-18T21:03:30+00:00";
|
||||
message = ''
|
||||
A new module is available: 'programs.script-directory'.
|
||||
'';
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -202,7 +202,7 @@ in {
|
||||
<citerefentry>
|
||||
<refentrytitle>nix.conf</refentrytitle>
|
||||
<manvolnum>5</manvolnum>
|
||||
</citerefentry> for avalaible options.
|
||||
</citerefentry> for available options.
|
||||
The value declared here will be translated directly to the key-value pairs Nix expects.
|
||||
</para>
|
||||
<para>
|
||||
@@ -212,29 +212,28 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
assertions = [{
|
||||
assertion = cfg.settings == { } || cfg.package != null;
|
||||
message = ''
|
||||
A corresponding Nix package must be specified via `nix.package` for generating
|
||||
nix.conf.
|
||||
'';
|
||||
}];
|
||||
|
||||
xdg.configFile = {
|
||||
"nix/registry.json" = mkIf (cfg.registry != { }) {
|
||||
source = jsonFormat.generate "registry.json" {
|
||||
config = mkIf cfg.enable (mkMerge [
|
||||
(mkIf (cfg.registry != { }) {
|
||||
xdg.configFile."nix/registry.json".source =
|
||||
jsonFormat.generate "registry.json" {
|
||||
version = cfg.registryVersion;
|
||||
flakes =
|
||||
mapAttrsToList (n: v: { inherit (v) from to exact; }) cfg.registry;
|
||||
};
|
||||
};
|
||||
})
|
||||
|
||||
"nix/nix.conf" = mkIf (cfg.settings != { } || cfg.extraOptions != "") {
|
||||
source = nixConf;
|
||||
};
|
||||
};
|
||||
};
|
||||
(mkIf (cfg.settings != { } || cfg.extraOptions != "") {
|
||||
assertions = [{
|
||||
assertion = cfg.package != null;
|
||||
message = ''
|
||||
A corresponding Nix package must be specified via `nix.package` for generating
|
||||
nix.conf.
|
||||
'';
|
||||
}];
|
||||
|
||||
xdg.configFile."nix/nix.conf".source = nixConf;
|
||||
})
|
||||
]);
|
||||
|
||||
meta.maintainers = [ maintainers.polykernel ];
|
||||
}
|
||||
|
||||
@@ -79,14 +79,15 @@ in {
|
||||
overlays = mkOption {
|
||||
default = null;
|
||||
example = literalExpression ''
|
||||
[ (self: super: {
|
||||
openssh = super.openssh.override {
|
||||
[
|
||||
(final: prev: {
|
||||
openssh = prev.openssh.override {
|
||||
hpnSupport = true;
|
||||
withKerberos = true;
|
||||
kerberos = self.libkrb5;
|
||||
kerberos = final.libkrb5;
|
||||
};
|
||||
};
|
||||
) ]
|
||||
})
|
||||
]
|
||||
'';
|
||||
type = types.nullOr (types.listOf overlayType);
|
||||
description = ''
|
||||
|
||||
@@ -6,6 +6,24 @@ let
|
||||
|
||||
cfg = config.qt;
|
||||
|
||||
# Maps known lowercase style names to style packages. Non-exhaustive.
|
||||
stylePackages = with pkgs; {
|
||||
bb10bright = libsForQt5.qtstyleplugins;
|
||||
bb10dark = libsForQt5.qtstyleplugins;
|
||||
cleanlooks = libsForQt5.qtstyleplugins;
|
||||
gtk2 = libsForQt5.qtstyleplugins;
|
||||
motif = libsForQt5.qtstyleplugins;
|
||||
cde = libsForQt5.qtstyleplugins;
|
||||
plastique = libsForQt5.qtstyleplugins;
|
||||
|
||||
adwaita = adwaita-qt;
|
||||
adwaita-dark = adwaita-qt;
|
||||
adwaita-highcontrast = adwaita-qt;
|
||||
adwaita-highcontrastinverse = adwaita-qt;
|
||||
|
||||
breeze = libsForQt5.breeze-qt5;
|
||||
};
|
||||
|
||||
in {
|
||||
meta.maintainers = [ maintainers.rycee ];
|
||||
|
||||
@@ -26,7 +44,7 @@ in {
|
||||
relatedPackages =
|
||||
[ "qgnomeplatform" [ "libsForQt5" "qtstyleplugins" ] ];
|
||||
description = ''
|
||||
Selects the platform theme to use for Qt applications.</para>
|
||||
Platform theme to use for Qt applications.</para>
|
||||
<para>The options are
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
@@ -52,17 +70,29 @@ in {
|
||||
example = "adwaita-dark";
|
||||
relatedPackages = [ "adwaita-qt" [ "libsForQt5" "qtstyleplugins" ] ];
|
||||
description = ''
|
||||
Selects the style to use for Qt5 applications.</para>
|
||||
<para>The options are
|
||||
Style to use for Qt5 applications. Case-insensitive.
|
||||
</para>
|
||||
<para>Some examples are
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><literal>adwaita</literal></term>
|
||||
<term><literal>adwaita-dark</literal></term>
|
||||
<listitem><para>Use Adwaita Qt style with
|
||||
<term><literal>adwaita-highcontrast</literal></term>
|
||||
<term><literal>adwaita-highcontrastinverse</literal></term>
|
||||
<listitem><para>Use the Adwaita style from
|
||||
<link xlink:href="https://github.com/FedoraQt/adwaita-qt">adwaita</link>
|
||||
</para></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><literal>breeze</literal></term>
|
||||
<listitem><para>Use the Breeze style from
|
||||
<link xlink:href="https://github.com/KDE/breeze">breeze</link>
|
||||
</para></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><literal>bb10bright</literal></term>
|
||||
<term><literal>bb10dark</literal></term>
|
||||
<term><literal>cde</literal></term>
|
||||
<term><literal>cleanlooks</literal></term>
|
||||
<term><literal>gtk2</literal></term>
|
||||
<term><literal>motif</literal></term>
|
||||
@@ -79,7 +109,10 @@ in {
|
||||
type = types.nullOr types.package;
|
||||
default = null;
|
||||
example = literalExpression "pkgs.adwaita-qt";
|
||||
description = "Theme package to be used in Qt5 applications.";
|
||||
description = ''
|
||||
Theme package to be used in Qt5 applications.
|
||||
Auto-detected from <option>qt.style.name</option> if possible.
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -87,20 +120,23 @@ in {
|
||||
|
||||
config = mkIf (cfg.enable && cfg.platformTheme != null) {
|
||||
assertions = [{
|
||||
assertion = (cfg.platformTheme == "gnome")
|
||||
-> ((cfg.style.name != null) && (cfg.style.package != null));
|
||||
assertion = cfg.platformTheme == "gnome" -> cfg.style.name != null
|
||||
&& cfg.style.package != null;
|
||||
message = ''
|
||||
`qt.platformTheme` "gnome" must have `qt.style` set to a theme that
|
||||
supports both Qt and Gtk, for example "adwaita" or "adwaita-dark".
|
||||
supports both Qt and Gtk, for example "adwaita", "adwaita-dark", or "breeze".
|
||||
'';
|
||||
}];
|
||||
|
||||
# Necessary because home.sessionVariables is of types.attrs
|
||||
home.sessionVariables = (filterAttrs (n: v: v != null) {
|
||||
qt.style.package = mkIf (cfg.style.name != null)
|
||||
(mkDefault (stylePackages.${toLower cfg.style.name} or null));
|
||||
|
||||
# Necessary because home.sessionVariables doesn't support mkIf
|
||||
home.sessionVariables = filterAttrs (n: v: v != null) {
|
||||
QT_QPA_PLATFORMTHEME =
|
||||
if cfg.platformTheme == "gnome" then "gnome" else "gtk2";
|
||||
QT_STYLE_OVERRIDE = cfg.style.name;
|
||||
});
|
||||
};
|
||||
|
||||
home.packages = if cfg.platformTheme == "gnome" then
|
||||
[ pkgs.qgnomeplatform ]
|
||||
@@ -109,7 +145,7 @@ in {
|
||||
[ pkgs.libsForQt5.qtstyleplugins ];
|
||||
|
||||
xsession.importedVariables = [ "QT_QPA_PLATFORMTHEME" ]
|
||||
++ lib.optionals (cfg.style != null) [ "QT_STYLE_OVERRIDE" ];
|
||||
++ lib.optionals (cfg.style.name != null) [ "QT_STYLE_OVERRIDE" ];
|
||||
|
||||
# Enable GTK+ style for Qt4 in either case.
|
||||
# It doesn’t support the platform theme packages.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ config, extendModules, lib, ... }:
|
||||
{ config, name, extendModules, lib, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
@@ -8,8 +8,19 @@ with lib;
|
||||
options = {
|
||||
configuration = mkOption {
|
||||
type = let
|
||||
stopRecursion = { specialization = mkOverride 0 { }; };
|
||||
extended = extendModules { modules = [ stopRecursion ]; };
|
||||
extended = extendModules {
|
||||
modules = [{
|
||||
# Prevent infinite recursion
|
||||
specialization = mkOverride 0 { };
|
||||
|
||||
# If used inside the NixOS/nix-darwin module, we get conflicting definitions
|
||||
# of `name` inside the specialization: one is the user name coming from the
|
||||
# NixOS module definition and the other is `configuration`, the name of this
|
||||
# option. Thus we need to explicitly wire the former into the module arguments.
|
||||
# See discussion at https://github.com/nix-community/home-manager/issues/3716
|
||||
_module.args.name = mkForce name;
|
||||
}];
|
||||
};
|
||||
in extended.type;
|
||||
default = { };
|
||||
visible = "shallow";
|
||||
|
||||
@@ -15,8 +15,9 @@ with lib;
|
||||
"21.05"
|
||||
"21.11"
|
||||
"22.05"
|
||||
"22.11"
|
||||
"23.05"
|
||||
];
|
||||
default = "18.09";
|
||||
description = ''
|
||||
It is occasionally necessary for Home Manager to change
|
||||
configuration defaults in a way that is incompatible with
|
||||
@@ -30,5 +31,39 @@ with lib;
|
||||
conversion or moving files.
|
||||
'';
|
||||
};
|
||||
|
||||
home.version = {
|
||||
full = mkOption {
|
||||
internal = true;
|
||||
readOnly = true;
|
||||
type = types.str;
|
||||
default = let
|
||||
inherit (config.home.version) release revision;
|
||||
suffix =
|
||||
optionalString (revision != null) "+${substring 0 8 revision}";
|
||||
in "${release}${suffix}";
|
||||
example = "22.11+213a0629";
|
||||
description = "The full Home Manager version.";
|
||||
};
|
||||
|
||||
release = mkOption {
|
||||
internal = true;
|
||||
readOnly = true;
|
||||
type = types.str;
|
||||
default = fileContents ../../.release;
|
||||
example = "22.11";
|
||||
description = "The Home Manager release.";
|
||||
};
|
||||
|
||||
revision = mkOption {
|
||||
internal = true;
|
||||
type = types.nullOr types.str;
|
||||
default = let gitRepo = "${toString ./../..}/.git";
|
||||
in if pathIsGitRepo gitRepo then commitIdFromGitRepo gitRepo else null;
|
||||
description = ''
|
||||
The Git revision from which this Home Manager configuration was built.
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -34,11 +34,12 @@ let
|
||||
exec = mkOption {
|
||||
description = "Program to execute, possibly with arguments.";
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
};
|
||||
|
||||
icon = mkOption {
|
||||
description = "Icon to display in file manager, menus, etc.";
|
||||
type = types.nullOr types.str;
|
||||
type = with types; nullOr (either str path);
|
||||
default = null;
|
||||
};
|
||||
|
||||
@@ -106,7 +107,7 @@ let
|
||||
};
|
||||
|
||||
settings = mkOption {
|
||||
type = types.attrsOf types.string;
|
||||
type = types.attrsOf types.str;
|
||||
description = ''
|
||||
Extra key-value pairs to add to the <literal>[Desktop Entry]</literal> section.
|
||||
This may override other values.
|
||||
@@ -131,9 +132,10 @@ let
|
||||
options.exec = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
description = "Program to execute, possibly with arguments.";
|
||||
default = null;
|
||||
};
|
||||
options.icon = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
type = with types; nullOr (either str path);
|
||||
default = null;
|
||||
description = "Icon to display in file manager, menus, etc.";
|
||||
};
|
||||
@@ -152,7 +154,7 @@ let
|
||||
};
|
||||
|
||||
# Required for the assertions
|
||||
# TODO: Remove me once `mkRemovedOptionModule` works correctly with submodules
|
||||
# TODO: Remove me once https://github.com/NixOS/nixpkgs/issues/96006 is fixed
|
||||
assertions = mkOption {
|
||||
type = types.listOf types.unspecified;
|
||||
default = [ ];
|
||||
@@ -162,10 +164,6 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
#formatting helpers
|
||||
semicolonList = list:
|
||||
(concatStringsSep ";" list) + ";"; # requires trailing semicolon
|
||||
|
||||
#passes config options to makeDesktopItem in expected format
|
||||
makeFile = name: config:
|
||||
pkgs.makeDesktopItem {
|
||||
|
||||
@@ -94,7 +94,7 @@ in {
|
||||
for p in $ps ; do
|
||||
for path in "$p"/share/applications/*.desktop ; do
|
||||
name="''${path##*/}"
|
||||
sed -n "/^MimeType=/ { s/.*=//; s/;/;$name\n/g; p; }" "$path"
|
||||
sed -n -E "/^MimeType=/ { s/.*=//; s/;?$|;/;$name\n/g; p; }" "$path"
|
||||
done
|
||||
done > "$out"
|
||||
'';
|
||||
|
||||
@@ -33,50 +33,66 @@ in {
|
||||
# https://gitlab.freedesktop.org/xdg/xdg-user-dirs/blob/master/man/user-dirs.dirs.xml
|
||||
|
||||
desktop = mkOption {
|
||||
type = with types; coercedTo path toString str;
|
||||
default = "$HOME/Desktop";
|
||||
type = with types; nullOr (coercedTo path toString str);
|
||||
default = "${config.home.homeDirectory}/Desktop";
|
||||
defaultText =
|
||||
literalExpression ''"''${config.home.homeDirectory}/Desktop"'';
|
||||
description = "The Desktop directory.";
|
||||
};
|
||||
|
||||
documents = mkOption {
|
||||
type = with types; coercedTo path toString str;
|
||||
default = "$HOME/Documents";
|
||||
type = with types; nullOr (coercedTo path toString str);
|
||||
default = "${config.home.homeDirectory}/Documents";
|
||||
defaultText =
|
||||
literalExpression ''"''${config.home.homeDirectory}/Documents"'';
|
||||
description = "The Documents directory.";
|
||||
};
|
||||
|
||||
download = mkOption {
|
||||
type = with types; coercedTo path toString str;
|
||||
default = "$HOME/Downloads";
|
||||
type = with types; nullOr (coercedTo path toString str);
|
||||
default = "${config.home.homeDirectory}/Downloads";
|
||||
defaultText =
|
||||
literalExpression ''"''${config.home.homeDirectory}/Downloads"'';
|
||||
description = "The Downloads directory.";
|
||||
};
|
||||
|
||||
music = mkOption {
|
||||
type = with types; coercedTo path toString str;
|
||||
default = "$HOME/Music";
|
||||
type = with types; nullOr (coercedTo path toString str);
|
||||
default = "${config.home.homeDirectory}/Music";
|
||||
defaultText =
|
||||
literalExpression ''"''${config.home.homeDirectory}/Music"'';
|
||||
description = "The Music directory.";
|
||||
};
|
||||
|
||||
pictures = mkOption {
|
||||
type = with types; coercedTo path toString str;
|
||||
default = "$HOME/Pictures";
|
||||
type = with types; nullOr (coercedTo path toString str);
|
||||
default = "${config.home.homeDirectory}/Pictures";
|
||||
defaultText =
|
||||
literalExpression ''"''${config.home.homeDirectory}/Pictures"'';
|
||||
description = "The Pictures directory.";
|
||||
};
|
||||
|
||||
publicShare = mkOption {
|
||||
type = with types; coercedTo path toString str;
|
||||
default = "$HOME/Public";
|
||||
type = with types; nullOr (coercedTo path toString str);
|
||||
default = "${config.home.homeDirectory}/Public";
|
||||
defaultText =
|
||||
literalExpression ''"''${config.home.homeDirectory}/Public"'';
|
||||
description = "The Public share directory.";
|
||||
};
|
||||
|
||||
templates = mkOption {
|
||||
type = with types; coercedTo path toString str;
|
||||
default = "$HOME/Templates";
|
||||
type = with types; nullOr (coercedTo path toString str);
|
||||
default = "${config.home.homeDirectory}/Templates";
|
||||
defaultText =
|
||||
literalExpression ''"''${config.home.homeDirectory}/Templates"'';
|
||||
description = "The Templates directory.";
|
||||
};
|
||||
|
||||
videos = mkOption {
|
||||
type = with types; coercedTo path toString str;
|
||||
default = "$HOME/Videos";
|
||||
type = with types; nullOr (coercedTo path toString str);
|
||||
default = "${config.home.homeDirectory}/Videos";
|
||||
defaultText =
|
||||
literalExpression ''"''${config.home.homeDirectory}/Videos"'';
|
||||
description = "The Videos directory.";
|
||||
};
|
||||
|
||||
@@ -86,7 +102,7 @@ in {
|
||||
defaultText = literalExpression "{ }";
|
||||
example = literalExpression ''
|
||||
{
|
||||
XDG_MISC_DIR = "$HOME/Misc";
|
||||
XDG_MISC_DIR = "''${config.home.homeDirectory}/Misc";
|
||||
}
|
||||
'';
|
||||
description = "Other user directories.";
|
||||
@@ -97,7 +113,7 @@ in {
|
||||
};
|
||||
|
||||
config = let
|
||||
directories = {
|
||||
directories = (filterAttrs (n: v: !isNull v) {
|
||||
XDG_DESKTOP_DIR = cfg.desktop;
|
||||
XDG_DOCUMENTS_DIR = cfg.documents;
|
||||
XDG_DOWNLOAD_DIR = cfg.download;
|
||||
@@ -106,7 +122,7 @@ in {
|
||||
XDG_PUBLICSHARE_DIR = cfg.publicShare;
|
||||
XDG_TEMPLATES_DIR = cfg.templates;
|
||||
XDG_VIDEOS_DIR = cfg.videos;
|
||||
} // cfg.extraConfig;
|
||||
}) // cfg.extraConfig;
|
||||
in mkIf cfg.enable {
|
||||
assertions =
|
||||
[ (hm.assertions.assertPlatform "xdg.userDirs" pkgs platforms.linux) ];
|
||||
@@ -120,12 +136,10 @@ in {
|
||||
|
||||
home.sessionVariables = directories;
|
||||
|
||||
home.activation = mkIf cfg.createDirectories {
|
||||
createXdgUserDirectories = let
|
||||
directoriesList = attrValues directories;
|
||||
mkdir = (dir: ''$DRY_RUN_CMD mkdir -p $VERBOSE_ARG "${dir}"'');
|
||||
in lib.hm.dag.entryAfter [ "writeBoundary" ]
|
||||
(strings.concatMapStringsSep "\n" mkdir directoriesList);
|
||||
};
|
||||
home.activation.createXdgUserDirectories = mkIf cfg.createDirectories (let
|
||||
directoriesList = attrValues directories;
|
||||
mkdir = (dir: ''$DRY_RUN_CMD mkdir -p $VERBOSE_ARG "${dir}"'');
|
||||
in lib.hm.dag.entryAfter [ "linkGeneration" ]
|
||||
(strings.concatMapStringsSep "\n" mkdir directoriesList));
|
||||
};
|
||||
}
|
||||
|
||||
@@ -34,7 +34,8 @@ in {
|
||||
};
|
||||
|
||||
configFile = mkOption {
|
||||
type = fileType "<varname>xdg.configHome</varname>" cfg.configHome;
|
||||
type = fileType "xdg.configFile" "<varname>xdg.configHome</varname>"
|
||||
cfg.configHome;
|
||||
default = { };
|
||||
description = ''
|
||||
Attribute set of files to link into the user's XDG
|
||||
@@ -52,7 +53,8 @@ in {
|
||||
};
|
||||
|
||||
dataFile = mkOption {
|
||||
type = fileType "<varname>xdg.dataHome</varname>" cfg.dataHome;
|
||||
type =
|
||||
fileType "xdg.dataFile" "<varname>xdg.dataHome</varname>" cfg.dataHome;
|
||||
default = { };
|
||||
description = ''
|
||||
Attribute set of files to link into the user's XDG
|
||||
|
||||
134
modules/misc/xfconf.nix
Normal file
134
modules/misc/xfconf.nix
Normal file
@@ -0,0 +1,134 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
|
||||
cfg = config.xfconf;
|
||||
|
||||
xfIntVariant = types.submodule {
|
||||
options = {
|
||||
type = mkOption {
|
||||
type = types.enum [ "int" "uint" "uint64" ];
|
||||
description = ''
|
||||
To distinguish between int, uint and uint64 in xfconf,
|
||||
you can specify the type in xfconf with this submodule.
|
||||
For other types, you don't need to use this submodule,
|
||||
just specify the value is enough.
|
||||
'';
|
||||
};
|
||||
value = mkOption {
|
||||
type = types.int;
|
||||
description = "The value in xfconf.";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
withType = v:
|
||||
if builtins.isAttrs v then [
|
||||
"-t"
|
||||
v.type
|
||||
"-s"
|
||||
(toString v.value)
|
||||
] else if builtins.isBool v then [
|
||||
"-t"
|
||||
"bool"
|
||||
"-s"
|
||||
(if v then "true" else "false")
|
||||
] else if builtins.isInt v then [
|
||||
"-t"
|
||||
"int"
|
||||
"-s"
|
||||
(toString v)
|
||||
] else if builtins.isFloat v then [
|
||||
"-t"
|
||||
"double"
|
||||
"-s"
|
||||
(toString v)
|
||||
] else if builtins.isString v then [
|
||||
"-t"
|
||||
"string"
|
||||
"-s"
|
||||
v
|
||||
] else if builtins.isList v then
|
||||
[ "-a" ] ++ concatMap withType v
|
||||
else
|
||||
throw "unexpected xfconf type: ${builtins.typeOf v}";
|
||||
|
||||
in {
|
||||
meta.maintainers = [ maintainers.chuangzhu ];
|
||||
|
||||
options.xfconf = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
visible = false;
|
||||
description = ''
|
||||
Whether to enable Xfconf settings.
|
||||
</para><para>
|
||||
Note, if you use NixOS then you must add
|
||||
<code>programs.xfconf.enable = true</code>
|
||||
to your system configuration. Otherwise you will see a systemd error
|
||||
message when your configuration is activated.
|
||||
'';
|
||||
};
|
||||
|
||||
settings = mkOption {
|
||||
type = with types;
|
||||
# xfIntVariant must come AFTER str; otherwise strings are treated as submodule imports...
|
||||
let value = oneOf [ bool int float str xfIntVariant ];
|
||||
in attrsOf (attrsOf (either value (listOf value))) // {
|
||||
description = "xfconf settings";
|
||||
};
|
||||
default = { };
|
||||
example = literalExpression ''
|
||||
{
|
||||
xfce4-session = {
|
||||
"startup/ssh-agent/enabled" = false;
|
||||
"general/LockCommand" = "''${pkgs.lightdm}/bin/dm-tool lock";
|
||||
};
|
||||
xfce4-desktop = {
|
||||
"backdrop/screen0/monitorLVDS-1/workspace0/last-image" =
|
||||
"''${pkgs.nixos-artwork.wallpapers.stripes-logo.gnomeFilePath}";
|
||||
};
|
||||
}
|
||||
'';
|
||||
description = ''
|
||||
Settings to write to the Xfconf configuration system.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf (cfg.enable && cfg.settings != { }) {
|
||||
assertions =
|
||||
[ (hm.assertions.assertPlatform "xfconf" pkgs platforms.linux) ];
|
||||
|
||||
home.activation.xfconfSettings = hm.dag.entryAfter [ "installPackages" ]
|
||||
(let
|
||||
mkCommand = channel: property: value: ''
|
||||
$DRY_RUN_CMD ${pkgs.xfce.xfconf}/bin/xfconf-query \
|
||||
${
|
||||
escapeShellArgs
|
||||
([ "-n" "-c" channel "-p" "/${property}" ] ++ withType value)
|
||||
}
|
||||
'';
|
||||
|
||||
commands = mapAttrsToList
|
||||
(channel: properties: mapAttrsToList (mkCommand channel) properties)
|
||||
cfg.settings;
|
||||
|
||||
load = pkgs.writeShellScript "load-xfconf"
|
||||
(concatMapStrings concatStrings commands);
|
||||
in ''
|
||||
if [[ -v DBUS_SESSION_BUS_ADDRESS ]]; then
|
||||
export DBUS_RUN_SESSION_CMD=""
|
||||
else
|
||||
export DBUS_RUN_SESSION_CMD="${pkgs.dbus}/bin/dbus-run-session --dbus-daemon=${pkgs.dbus}/bin/dbus-daemon"
|
||||
fi
|
||||
|
||||
$DRY_RUN_CMD $DBUS_RUN_SESSION_CMD ${load}
|
||||
|
||||
unset DBUS_RUN_SESSION_CMD
|
||||
'');
|
||||
};
|
||||
}
|
||||
@@ -24,6 +24,7 @@ let
|
||||
./manual.nix
|
||||
./misc/dconf.nix
|
||||
./misc/debug.nix
|
||||
./misc/editorconfig.nix
|
||||
./misc/fontconfig.nix
|
||||
./misc/gtk.nix
|
||||
./misc/lib.nix
|
||||
@@ -42,7 +43,9 @@ let
|
||||
./misc/xdg-system-dirs.nix
|
||||
./misc/xdg-user-dirs.nix
|
||||
./misc/xdg.nix
|
||||
./misc/xfconf.nix
|
||||
./programs/abook.nix
|
||||
./programs/aerc.nix
|
||||
./programs/afew.nix
|
||||
./programs/alacritty.nix
|
||||
./programs/alot.nix
|
||||
@@ -52,15 +55,19 @@ let
|
||||
./programs/autojump.nix
|
||||
./programs/autorandr.nix
|
||||
./programs/bash.nix
|
||||
./programs/bashmount.nix
|
||||
./programs/bat.nix
|
||||
./programs/beets.nix
|
||||
./programs/borgmatic.nix
|
||||
./programs/bottom.nix
|
||||
./programs/broot.nix
|
||||
./programs/browserpass.nix
|
||||
./programs/btop.nix
|
||||
./programs/chromium.nix
|
||||
./programs/command-not-found/command-not-found.nix
|
||||
./programs/dircolors.nix
|
||||
./programs/direnv.nix
|
||||
./programs/discocss.nix
|
||||
./programs/eclipse.nix
|
||||
./programs/emacs.nix
|
||||
./programs/eww.nix
|
||||
@@ -69,19 +76,25 @@ let
|
||||
./programs/firefox.nix
|
||||
./programs/fish.nix
|
||||
./programs/foot.nix
|
||||
./programs/fuzzel.nix
|
||||
./programs/fzf.nix
|
||||
./programs/gallery-dl.nix
|
||||
./programs/getmail.nix
|
||||
./programs/gh.nix
|
||||
./programs/git-cliff.nix
|
||||
./programs/git.nix
|
||||
./programs/gitui.nix
|
||||
./programs/gnome-terminal.nix
|
||||
./programs/go.nix
|
||||
./programs/gpg.nix
|
||||
./programs/havoc.nix
|
||||
./programs/helix.nix
|
||||
./programs/hexchat.nix
|
||||
./programs/himalaya.nix
|
||||
./programs/home-manager.nix
|
||||
./programs/hstr.nix
|
||||
./programs/htop.nix
|
||||
./programs/hyfetch.nix
|
||||
./programs/i3status-rust.nix
|
||||
./programs/i3status.nix
|
||||
./programs/info.nix
|
||||
@@ -89,16 +102,21 @@ let
|
||||
./programs/irssi.nix
|
||||
./programs/java.nix
|
||||
./programs/jq.nix
|
||||
./programs/jujutsu.nix
|
||||
./programs/just.nix
|
||||
./programs/k9s.nix
|
||||
./programs/kakoune.nix
|
||||
./programs/keychain.nix
|
||||
./programs/kitty.nix
|
||||
./programs/kodi.nix
|
||||
./programs/lazygit.nix
|
||||
./programs/ledger.nix
|
||||
./programs/less.nix
|
||||
./programs/lesspipe.nix
|
||||
./programs/lf.nix
|
||||
./programs/librewolf.nix
|
||||
./programs/lieer.nix
|
||||
./programs/looking-glass-client.nix
|
||||
./programs/lsd.nix
|
||||
./programs/man.nix
|
||||
./programs/mangohud.nix
|
||||
@@ -106,9 +124,12 @@ let
|
||||
./programs/mbsync.nix
|
||||
./programs/mcfly.nix
|
||||
./programs/mercurial.nix
|
||||
./programs/micro.nix
|
||||
./programs/mpv.nix
|
||||
./programs/mr.nix
|
||||
./programs/msmtp.nix
|
||||
./programs/mu.nix
|
||||
./programs/mujmap.nix
|
||||
./programs/navi.nix
|
||||
./programs/ncmpcpp.nix
|
||||
./programs/ncspot.nix
|
||||
@@ -116,6 +137,7 @@ let
|
||||
./programs/neomutt.nix
|
||||
./programs/neovim.nix
|
||||
./programs/newsboat.nix
|
||||
./programs/nheko.nix
|
||||
./programs/nix-index.nix
|
||||
./programs/nnn.nix
|
||||
./programs/noti.nix
|
||||
@@ -124,13 +146,17 @@ let
|
||||
./programs/obs-studio.nix
|
||||
./programs/octant.nix
|
||||
./programs/offlineimap.nix
|
||||
./programs/oh-my-posh.nix
|
||||
./programs/opam.nix
|
||||
./programs/pandoc.nix
|
||||
./programs/papis.nix
|
||||
./programs/password-store.nix
|
||||
./programs/pazi.nix
|
||||
./programs/pet.nix
|
||||
./programs/pidgin.nix
|
||||
./programs/pistol.nix
|
||||
./programs/piston-cli.nix
|
||||
./programs/pls.nix
|
||||
./programs/powerline-go.nix
|
||||
./programs/pubs.nix
|
||||
./programs/pylint.nix
|
||||
@@ -143,6 +169,7 @@ let
|
||||
./programs/sagemath.nix
|
||||
./programs/sbt.nix
|
||||
./programs/scmpuff.nix
|
||||
./programs/script-directory.nix
|
||||
./programs/senpai.nix
|
||||
./programs/sioyek.nix
|
||||
./programs/skim.nix
|
||||
@@ -150,23 +177,34 @@ let
|
||||
./programs/sqls.nix
|
||||
./programs/ssh.nix
|
||||
./programs/starship.nix
|
||||
./programs/swaylock.nix
|
||||
./programs/taskwarrior.nix
|
||||
./programs/tealdeer.nix
|
||||
./programs/terminator.nix
|
||||
./programs/termite.nix
|
||||
./programs/texlive.nix
|
||||
./programs/thunderbird.nix
|
||||
./programs/timidity.nix
|
||||
./programs/tint2.nix
|
||||
./programs/tiny.nix
|
||||
./programs/tmate.nix
|
||||
./programs/tmux.nix
|
||||
./programs/topgrade.nix
|
||||
./programs/translate-shell.nix
|
||||
./programs/urxvt.nix
|
||||
./programs/vim.nix
|
||||
./programs/vim-vint.nix
|
||||
./programs/vscode.nix
|
||||
./programs/vscode/haskell.nix
|
||||
./programs/pywal.nix
|
||||
./programs/rbenv.nix
|
||||
./programs/watson.nix
|
||||
./programs/waybar.nix
|
||||
./programs/wezterm.nix
|
||||
./programs/wlogout.nix
|
||||
./programs/wofi.nix
|
||||
./programs/xmobar.nix
|
||||
./programs/yt-dlp.nix
|
||||
./programs/z-lua.nix
|
||||
./programs/zathura.nix
|
||||
./programs/zellij.nix
|
||||
@@ -174,13 +212,19 @@ let
|
||||
./programs/zplug.nix
|
||||
./programs/zsh.nix
|
||||
./programs/zsh/prezto.nix
|
||||
./services/autorandr.nix
|
||||
./services/avizo.nix
|
||||
./services/barrier.nix
|
||||
./services/batsignal.nix
|
||||
./services/betterlockscreen.nix
|
||||
./services/blueman-applet.nix
|
||||
./services/borgmatic.nix
|
||||
./services/cachix-agent.nix
|
||||
./services/caffeine.nix
|
||||
./services/cbatticon.nix
|
||||
./services/clipman.nix
|
||||
./services/clipmenu.nix
|
||||
./services/compton.nix
|
||||
./services/copyq.nix
|
||||
./services/devilspie2.nix
|
||||
./services/dropbox.nix
|
||||
./services/dunst.nix
|
||||
@@ -209,13 +253,16 @@ let
|
||||
./services/keybase.nix
|
||||
./services/keynav.nix
|
||||
./services/lieer.nix
|
||||
./services/listenbrainz-mpd.nix
|
||||
./services/lorri.nix
|
||||
./services/mako.nix
|
||||
./services/mbsync.nix
|
||||
./services/megasync.nix
|
||||
./services/mopidy.nix
|
||||
./services/mpd.nix
|
||||
./services/mpdris2.nix
|
||||
./services/mpd-discord-rpc.nix
|
||||
./services/mpd-mpris.nix
|
||||
./services/mpris-proxy.nix
|
||||
./services/muchsync.nix
|
||||
./services/network-manager-applet.nix
|
||||
@@ -235,12 +282,16 @@ let
|
||||
./services/plex-mpv-shim.nix
|
||||
./services/polybar.nix
|
||||
./services/poweralertd.nix
|
||||
./services/pueue.nix
|
||||
./services/pulseeffects.nix
|
||||
./services/random-background.nix
|
||||
./services/recoll.nix
|
||||
./services/redshift-gammastep/gammastep.nix
|
||||
./services/redshift-gammastep/redshift.nix
|
||||
./services/rsibreak.nix
|
||||
./services/safeeyes.nix
|
||||
./services/screen-locker.nix
|
||||
./services/sctd.nix
|
||||
./services/spotifyd.nix
|
||||
./services/stalonetray.nix
|
||||
./services/status-notifier-watcher.nix
|
||||
@@ -259,10 +310,12 @@ let
|
||||
./services/volnoti.nix
|
||||
./services/window-managers/awesome.nix
|
||||
./services/window-managers/bspwm/default.nix
|
||||
./services/window-managers/fluxbox.nix
|
||||
./services/window-managers/herbstluftwm.nix
|
||||
./services/window-managers/i3-sway/i3.nix
|
||||
./services/window-managers/i3-sway/sway.nix
|
||||
./services/window-managers/i3-sway/swaynag.nix
|
||||
./services/window-managers/spectrwm.nix
|
||||
./services/window-managers/xmonad.nix
|
||||
./services/wlsunset.nix
|
||||
./services/xcape.nix
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user