{"id":78802,"date":"2020-04-22T01:42:02","date_gmt":"2020-04-21T23:42:02","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/vypusk-distributiva-nixos-20-03-ispolzuyushhego-paketnyj-menedzher-nix"},"modified":"2020-04-22T01:42:02","modified_gmt":"2020-04-21T23:42:02","slug":"vypusk-distributiva-nixos-20-03-ispolzuyushhego-paketnyj-menedzher-nix","status":"publish","type":"post","link":"https:\/\/prohoster.info\/cs\/blog\/news\/vypusk-distributiva-nixos-20-03-ispolzuyushhego-paketnyj-menedzher-nix","title":{"rendered":"Vyd\u00e1n\u00ed distribuce NixOS 20.03, kter\u00e1 pou\u017e\u00edv\u00e1 spr\u00e1vce bal\u00ed\u010dk\u016f Nix","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><noindex><a rel=\"nofollow\" href=\"https:\/\/discourse.nixos.org\/t\/nixos-20-03-release\/6785\">P\u0159edstaven\u00ed<\/a><\/noindex> vyd\u00e1n\u00ed distribuce <noindex><a rel=\"nofollow\" href=\"http:\/\/nixos.org\/\">NixOS 20.03<\/a><\/noindex>, zalo\u017een\u00e9ho na spr\u00e1v\u011b bal\u00ed\u010dk\u016f <noindex><a rel=\"nofollow\" href=\"http:\/\/nixos.org\/nix\/\">Nix<\/a><\/noindex> a poskytuj\u00edc\u00edho \u0159adu vlastn\u00edch vyvinut\u00fdch n\u00e1stroj\u016f, kter\u00e9 usnad\u0148uj\u00ed konfiguraci a \u00fadr\u017ebu syst\u00e9mu. Nap\u0159\u00edklad v NixOS se pou\u017e\u00edv\u00e1 jednotn\u00fd konfigura\u010dn\u00ed soubor (configuration.nix), je zde mo\u017enost rychl\u00e9ho n\u00e1vratu ke star\u0161\u00edm verz\u00edm aktualizac\u00ed, podpora p\u0159ep\u00edn\u00e1n\u00ed mezi r\u016fzn\u00fdmi stavy syst\u00e9mu, podporuje se instalace individu\u00e1ln\u00edch bal\u00ed\u010dk\u016f jednotliv\u00fdmi u\u017eivateli (bal\u00ed\u010dek je instalov\u00e1n do domovsk\u00e9ho adres\u00e1\u0159e), a je mo\u017en\u00e9 sou\u010dasn\u00e9 nainstalov\u00e1n\u00ed v\u00edce verz\u00ed jedn\u00e9 aplikace, co\u017e zaji\u0161\u0165uje reprodukovateln\u00e9 sestaven\u00ed. Velikost pln\u00e9 <noindex><a rel=\"nofollow\" href=\"https:\/\/nixos.org\/nixos\/download.html\">instala\u010dn\u00edho obrazu<\/a><\/noindex> s KDE \u2014 1,2 GB, zkr\u00e1cen\u00e9 konzolov\u00e9 verze \u2014 540 MB. <\/p>\n<p>Hlavn\u00ed <noindex><a rel=\"nofollow\" href=\"https:\/\/nixos.org\/nixos\/manual\/release-notes.html#sec-release-20.03\">novinky<\/a><\/noindex>:<\/p>\n<ul>\n<li class=\"l\"> Byly aktualizov\u00e1ny verze komponent distribu\u010dn\u00edho syst\u00e9mu, v\u010detn\u011b j\u00e1dra Linux 5.4 (bylo 4.19),<br \/>\n    gcc 9.2.0,<br \/>\n    glibc 2.30,<br \/>\n    mesa 19.3.3,<br \/>\n    openssl 1.1.1d,<br \/>\n    PostgreSQL 11, OpenSSH 8.1.<\/p>\n<li class=\"l\"> Pracovn\u00ed prost\u0159ed\u00ed bylo aktualizov\u00e1no na KDE 5.17.5 (+ KDE Applications 19.12.3),<br \/>\n    GNOME 3.34 a Pantheon 5.1.3 (z Elementary OS). P\u0159i aktivaci Pantheonu pomoc\u00ed nastaven\u00ed services.xserver.desktopManager.pantheon.enable se automaticky aktivuje i souvisej\u00edc\u00ed p\u0159ihla\u0161ovac\u00ed obrazovka.<\/p>\n<li class=\"l\"> Grafick\u00fd instal\u00e1tor po instalaci zaji\u0161\u0165uje automatick\u00e9 spu\u0161t\u011bn\u00ed grafick\u00e9 relace (d\u0159\u00edve se zobrazovala konzolov\u00e1 v\u00fdzva s nab\u00eddkou spustit \u201esystemctl start display-manager\u201c pokud je pot\u0159ebn\u00e9 grafick\u00e9 rozhran\u00ed). Pro zak\u00e1z\u00e1n\u00ed spu\u0161t\u011bn\u00ed spr\u00e1vce obrazovky byla do nab\u00eddkov\u00e9ho menu p\u0159id\u00e1na volba \u201eDisable display-manager\u201c.\n<li class=\"l\"> Pro ZFS pooly je zaji\u0161t\u011bno t\u00fddenn\u00ed spou\u0161t\u011bn\u00ed operace TRIM pro NVME a SSD disky (nastaven\u00ed services.zfs.trim.enable). Pokud je ZFS p\u0159\u00edtomen v nastaven\u00ed config.boot.initrd.supportedFilesystems nebo config.boot.supportedFilesystems, tak\u00e9 se prov\u00e1d\u00ed periodick\u00e9 spou\u0161t\u011bn\u00ed kontroln\u00edch operac\u00ed (services.zfs.autoScrub.enable) a automatick\u00e9 vytv\u00e1\u0159en\u00ed snapshot\u016f (services.zfs.autoSnapshot.enable).\n<li class=\"l\"> K\u00f3d nixos-option byl p\u0159eps\u00e1n v jazyce C++ a roz\u0161\u00ed\u0159en mo\u017enost\u00ed \u201e-r\u201c pro zobrazen\u00ed v\u0161ech nastaven\u00ed.\n<li class=\"l\"> Nastaven\u00ed services.xserver.desktopManager.default a services.xserver.windowManager.default byla nahrazena univerz\u00e1ln\u00ed volbou services.xserver.displayManager.defaultSession (nap\u0159\u00edklad services.xserver.displayManager.defaultSession = \u201exfce+icewm\u201c).\n<li class=\"l\"> Bylo p\u0159id\u00e1no <noindex><a rel=\"nofollow\" href=\"https:\/\/nixos.org\/nixos\/manual\/release-notes.html#sec-release-20.03-new-services\">46 nov\u00fdch slu\u017eeb<\/a><\/noindex>.\n<li class=\"l\"> Obr\u00e1zky pro SD karty jsou ve v\u00fdchoz\u00edm nastaven\u00ed komprimov\u00e1ny pomoc\u00ed bzip2.\n<\/ul>\n<p>P\u0159i pou\u017e\u00edv\u00e1n\u00ed Nix se bal\u00ed\u010dky instaluj\u00ed do samostatn\u00e9ho stromu adres\u00e1\u0159\u016f \/nix\/store nebo podadres\u00e1\u0159e v u\u017eivatelsk\u00e9m adres\u00e1\u0159i. Nap\u0159\u00edklad bal\u00ed\u010dek je nainstalov\u00e1n jako \/nix\/store\/f2a4\u20268a143-firefox-75.0.0\/, kde \u201ef2a4\u2026\u201c je jedine\u010dn\u00fd identifik\u00e1tor bal\u00ed\u010dku pou\u017e\u00edvan\u00fd pro kontrolu z\u00e1vislost\u00ed. Bal\u00ed\u010dky jsou kter\u00e9 byly vytvo\u0159eny jako kontejnery, kter\u00e9 obsahuj\u00ed pot\u0159ebn\u00e9 komponenty pro fungov\u00e1n\u00ed aplikac\u00ed.<br \/>\nPodobn\u00fd p\u0159\u00edstup se pou\u017e\u00edv\u00e1 v bal\u00ed\u010dkov\u00e9m mana\u017eeru GNU Guix, kter\u00fd vych\u00e1z\u00ed z prac\u00ed Nix.<\/p>\n<p>Mezi bal\u00ed\u010dky je mo\u017en\u00e9 definovat z\u00e1vislosti, p\u0159i\u010dem\u017e pro hled\u00e1n\u00ed ji\u017e nainstalovan\u00fdch z\u00e1vislost\u00ed se pou\u017e\u00edv\u00e1 skenov\u00e1n\u00ed hash identifik\u00e1tor\u016f v adres\u00e1\u0159i nainstalovan\u00fdch bal\u00ed\u010dk\u016f. Je mo\u017en\u00e1 jak stahov\u00e1n\u00ed hotov\u00fdch bin\u00e1rn\u00edch bal\u00ed\u010dk\u016f z repozit\u00e1\u0159e (p\u0159i instalaci aktualizac\u00ed k bin\u00e1rn\u00edm bal\u00ed\u010dk\u016fm se stahuj\u00ed jen delta zm\u011bny), tak kompilace ze zdrojov\u00fdch text\u016f se v\u0161emi z\u00e1vislostmi. Kolekce bal\u00ed\u010dk\u016f je prezentov\u00e1na ve specializovan\u00e9m repozit\u00e1\u0159i. <noindex><a rel=\"nofollow\" href=\"http:\/\/nixos.org\/nixpkgs\/\">Nixpkgs<\/a><\/noindex>.<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Zdroj: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=52775\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430 NixOS 20.03, \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u043f\u0430\u043a\u0435\u0442\u043d\u043e\u043c \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0435 Nix \u0438 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0433\u043e \u0440\u044f\u0434 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043e\u043a, \u0443\u043f\u0440\u043e\u0449\u0430\u044e\u0449\u0438\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u0438 \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 NixOS \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0435\u0434\u0438\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 (configuration.nix), \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u043e\u0442\u043a\u0430\u0442\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439, \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c\u0438 (\u043f\u0430\u043a\u0435\u0442 \u0441\u0442\u0430\u0432\u0438\u0442\u0441\u044f \u0432 \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433), \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u0430 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-78802","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430 NixOS 20.03.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/cs\/blog\/news\/vypusk-distributiva-nixos-20-03-ispolzuyushhego-paketnyj-menedzher-nix\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"cs_CZ\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0412\u044b\u043f\u0443\u0441\u043a \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430 NixOS 20.03, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0435\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 Nix | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430 NixOS 20.03.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/cs\/blog\/news\/vypusk-distributiva-nixos-20-03-ispolzuyushhego-paketnyj-menedzher-nix\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-04-21T23:42:02+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-04-21T23:42:02+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Vyd\u00e1n\u00ed distribuce NixOS 20.03, vyu\u017e\u00edvaj\u00edc\u00ed bal\u00ed\u010dkov\u00fd mana\u017eer Nix | ProHoster","description":"Byl vyd\u00e1n distribuce NixOS 20.03.","canonical_url":"https:\/\/prohoster.info\/cs\/blog\/news\/vypusk-distributiva-nixos-20-03-ispolzuyushhego-paketnyj-menedzher-nix","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"cs_CZ","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0412\u044b\u043f\u0443\u0441\u043a \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430 NixOS 20.03, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0435\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 Nix | ProHoster","og:description":"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430 NixOS 20.03.","og:url":"https:\/\/prohoster.info\/cs\/blog\/news\/vypusk-distributiva-nixos-20-03-ispolzuyushhego-paketnyj-menedzher-nix","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-04-21T23:42:02+00:00","article:modified_time":"2020-04-21T23:42:02+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"78802","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 16:50:44","updated":"2022-09-28 03:45:57","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts\/78802","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/comments?post=78802"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts\/78802\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/media?parent=78802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/categories?post=78802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/tags?post=78802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}