Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixos-homepage
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4e1f2119e67b
Choose a base ref
...
head repository: NixOS/nixos-homepage
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f02e80c7985f
Choose a head ref
  • 17 commits
  • 10 files changed
  • 3 contributors

Commits on Jan 27, 2020

  1. rename iso-graphical to iso-plasma5

    Coordinate with NixOS/nixpkgs#66640
    worldofpeace committed Jan 27, 2020
    Copy the full SHA
    0409800 View commit details

Commits on Mar 16, 2020

  1. Copy the full SHA
    2c83a24 View commit details

Commits on Apr 13, 2020

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7fc986f View commit details
  2. Copy the full SHA
    7d350ba View commit details
  3. bump the nixos series number

    garbas committed Apr 13, 2020
    Copy the full SHA
    f21d9d7 View commit details
  4. Copy the full SHA
    530b921 View commit details

Commits on Apr 14, 2020

  1. Copy the full SHA
    de4b5a9 View commit details
  2. Copy the full SHA
    da2e4f1 View commit details

Commits on Apr 16, 2020

  1. Update news.xml

    Co-Authored-By: worldofpeace <worldofpeace@protonmail.ch>
    garbas and worldofpeace authored Apr 16, 2020
    Copy the full SHA
    33eda1f View commit details
  2. bolding some words

    garbas committed Apr 16, 2020
    Copy the full SHA
    8187cc7 View commit details

Commits on Apr 20, 2020

  1. adding some stats

    garbas committed Apr 20, 2020
    Copy the full SHA
    6578f08 View commit details
  2. Copy the full SHA
    ac286ce View commit details
  3. Decouple build nixpkgs from released nixpkgs

    The eager update to use 20.03 to *build* the flake accidentally made the
    site use the 20.03 manual for a while.
    
    This change allows us to move forward the infrastructure of the site
    in preparation for a release, without actually using that version's
    manual. This accidental use of an unreleased release should not happen
    anymore.
    
    Additionally, it's not much of an issue, the list of AMIs could have
    been using the wrong list (of an unreleased branch), though as it
    requires manual involvement of the team it wouldn't have been an issue.
    
    Fixes #400.
    samueldr authored and worldofpeace committed Apr 20, 2020
    Copy the full SHA
    51408cf View commit details
  4. nixos-release.tt: 20.03

    worldofpeace committed Apr 20, 2020
    Copy the full SHA
    c9e6969 View commit details
  5. it should glitter

    graham saved me
    worldofpeace committed Apr 20, 2020
    Copy the full SHA
    692c83a View commit details
  6. cole-h tweaks

    worldofpeace committed Apr 20, 2020
    Copy the full SHA
    4636e9d View commit details
  7. Merge pull request #392 from NixOS/plasma5-rename

    20.03 NixOS release
    worldofpeace authored Apr 20, 2020
    1
    Copy the full SHA
    f02e80c View commit details
Showing with 542 additions and 522 deletions.
  1. +1 −1 Makefile
  2. +3 −2 css/nixos-site.css
  3. +5 −3 download.tt
  4. +19 −1 flake.lock
  5. +10 −6 flake.nix
  6. +4 −4 index.tt
  7. BIN logo/nixos-logo-20.03-markhor-lores.png
  8. +498 −503 news.xml
  9. +1 −1 nixos-release.tt
  10. +1 −1 update.sh
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
NIXOS_SERIES = 19.09
NIXOS_SERIES = 20.03
ROOT = "/"

rwildcard=$(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d))
5 changes: 3 additions & 2 deletions css/nixos-site.css
Original file line number Diff line number Diff line change
@@ -281,10 +281,11 @@ tr.news-header {
}

.news-short {
font-weight: normal;
font-size: 110%;
font-weight: bold;
font-size: 140%;
color: #404040;
padding-left: 0;
height: 2em;
}

.news-descr > td {
8 changes: 5 additions & 3 deletions download.tt
Original file line number Diff line number Diff line change
@@ -109,9 +109,11 @@
[% prefix = "https://channels.nixos.org/nixos-" _ latestNixOSSeries %]

<ul>
<li><a href="[%prefix%]/latest-nixos-graphical-x86_64-linux.iso">Graphical live CD, 64-bit Intel/AMD</a> (<a
href="[%prefix%]/latest-nixos-graphical-x86_64-linux.iso.sha256">SHA-256</a>)
<span class="label label-info">Recommended for most users</span></li>
<li>
<a href="[%prefix%]/latest-nixos-plasma5-x86_64-linux.iso">Graphical live CD, 64-bit Intel/AMD</a> (<a
href="[%prefix%]/latest-nixos-plasma5-x86_64-linux.iso.sha256">SHA-256</a>)
<span class="label label-info">Recommended for most users</span>
</li>
</ul>

<p>The <strong>minimal installation CD</strong> does not contain the
20 changes: 19 additions & 1 deletion flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 10 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -3,10 +3,14 @@

description = "The nixos.org homepage";

# This is used to build the site.
inputs.nixpkgs.url = "nixpkgs/nixos-20.03";

# These are used for the manuals, and release artifacts
inputs.released-nixpkgs.url = "nixpkgs/nixos-20.03";
inputs.nix-pills = { url = "github:NixOS/nix-pills"; flake = false; };

outputs = { self, nixpkgs, nix-pills }:
outputs = { self, nixpkgs, released-nixpkgs, nix-pills }:
with import nixpkgs { system = "x86_64-linux"; };
rec {

@@ -18,7 +22,7 @@

nixosAmis = writeText "ec2-amis.json"
(builtins.toJSON (
import (nixpkgs + "/nixos/modules/virtualisation/ec2-amis.nix")));
import (released-nixpkgs + "/nixos/modules/virtualisation/ec2-amis.nix")));

nixPills = import nix-pills {
inherit pkgs;
@@ -58,8 +62,8 @@

makeFlags =
[ "NIX_MANUAL_IN=${nix.doc}/share/doc/nix/manual"
"NIXOS_MANUAL_IN=${nixpkgs.htmlDocs.nixosManual}"
"NIXPKGS_MANUAL_IN=${nixpkgs.htmlDocs.nixpkgsManual}"
"NIXOS_MANUAL_IN=${released-nixpkgs.htmlDocs.nixosManual}"
"NIXPKGS_MANUAL_IN=${released-nixpkgs.htmlDocs.nixpkgsManual}"
"NIXOS_AMIS=${packages.x86_64-linux.nixosAmis}"
"PACKAGES_EXPLORER=${packages.x86_64-linux.packagesExplorer}/bundle.js"
"NIX_PILLS_MANUAL_IN=${packages.x86_64-linux.nixPills}/share/doc/nix-pills"
@@ -72,8 +76,8 @@

shellHook = ''
export NIX_MANUAL_IN="${nix.doc}/share/doc/nix/manual"
export NIXOS_MANUAL_IN="${nixpkgs.htmlDocs.nixosManual}"
export NIXPKGS_MANUAL_IN="${nixpkgs.htmlDocs.nixpkgsManual}"
export NIXOS_MANUAL_IN="${released-nixpkgs.htmlDocs.nixosManual}"
export NIXPKGS_MANUAL_IN="${released-nixpkgs.htmlDocs.nixpkgsManual}"
export NIXOS_AMIS="${packages.x86_64-linux.nixosAmis}"
export PACKAGES_EXPLORER="${packages.x86_64-linux.packagesExplorer}/bundle.js"
export NIX_PILLS_MANUAL_IN="${packages.x86_64-linux.nixPills}/share/doc/nix-pills"
8 changes: 4 additions & 4 deletions index.tt
Original file line number Diff line number Diff line change
@@ -103,23 +103,23 @@

<div class="row-fluid">
<div class="span6">
<h3>
<h2>
<a href="/news-rss.xml">
<img src="/logo/rss.png"/>
</a>
News
</h3>
</h2>
[% INSERT "latest-news.xhtml" %]
<p><a href="news.html" class="btn btn-mini">More »</a></p>
</div>
<div class="span6">

<h3>
<h2>
<a href="/blogs.xml">
<img src="/logo/rss.png"/>
</a>
Blog Posts
</h3>
</h2>
<ul class="nixos-blogs">
[% FOREACH b IN JSON.Escape.json_decode(IO.All.new('blogs.json').all).channel.item.first(5); IF b; %]
<li>
Binary file added logo/nixos-logo-20.03-markhor-lores.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,001 changes: 498 additions & 503 deletions news.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion nixos-release.tt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[%- latestNixOSSeries = "19.09"; -%]
[%- latestNixOSSeries = "20.03"; -%]
2 changes: 1 addition & 1 deletion update.sh
Original file line number Diff line number Diff line change
@@ -2,4 +2,4 @@

UPDATE=1 nix run nixpkgs#gnumake nixpkgs#curl -c make update --keep-going || true

nix flake update --update-input nixpkgsStable || true
nix flake update --update-input released-nixpkgs || true