Skip to content

Commit

Permalink
update inputs and copyrights to 24.05
Browse files Browse the repository at this point in the history
  • Loading branch information
taranarmo committed Jun 16, 2024
1 parent dbd80b4 commit c8dc029
Show file tree
Hide file tree
Showing 24 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion docs/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023, see AUTHORS. Licensed under MIT License, see LICENSE.
# Copyright (c) 2019-2024, see AUTHORS. Licensed under MIT License, see LICENSE.

{ pkgs, home-manager, nmdSrc }:

Expand Down
6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
nixpkgs.url = "github:NixOS/nixpkgs";

# for bootstrap zip ball creation and proot-termux builds, we use a fixed version of nixpkgs to ease maintanence.
# head of nixos-23.11 as of 2024-02-17
# head of nixos-24.05 as of 2024-06-05
# note: when updating nixpkgs-for-bootstrap, update store paths of proot-termux in modules/environment/login/default.nix
nixpkgs-for-bootstrap.url = "github:NixOS/nixpkgs/1d1817869c47682a6bee85b5b0a6537b6c0fba26";
nixpkgs-for-bootstrap.url = "github:NixOS/nixpkgs/b3b2b28c1daa04fe2ae47c21bb76fd226eac4ca1";

home-manager = {
url = "github:nix-community/home-manager";
Expand All @@ -19,7 +19,7 @@
inputs.nixpkgs.follows = "nixpkgs";
};

nixpkgs-docs.url = "github:NixOS/nixpkgs/release-23.11";
nixpkgs-docs.url = "github:NixOS/nixpkgs/release-24.05";

nmd = {
url = "sourcehut:~rycee/nmd";
Expand Down
4 changes: 2 additions & 2 deletions modules/build/initial-build.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
with lib;

let
defaultNixpkgsBranch = "nixos-23.11";
defaultNixOnDroidBranch = "release-23.11";
defaultNixpkgsBranch = "nixos-24.05";
defaultNixOnDroidBranch = "release-24.05";

defaultNixpkgsChannel = "https://nixos.org/channels/${defaultNixpkgsBranch}";
defaultNixOnDroidChannel = "https://github.com/nix-community/nix-on-droid/archive/${defaultNixOnDroidBranch}.tar.gz";
Expand Down
2 changes: 1 addition & 1 deletion modules/environment/session-init.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023, see AUTHORS. Licensed under MIT License, see LICENSE.
# Copyright (c) 2019-2024, see AUTHORS. Licensed under MIT License, see LICENSE.

{ config, lib, pkgs, ... }:

Expand Down
2 changes: 1 addition & 1 deletion modules/upgrade.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023, see AUTHORS. Licensed under MIT License, see LICENSE.
# Copyright (c) 2019-2024, see AUTHORS. Licensed under MIT License, see LICENSE.

{ config, lib, ... }:

Expand Down
8 changes: 4 additions & 4 deletions overlays/lib/nixpkgs.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Copyright (c) 2019-2023, see AUTHORS. Licensed under MIT License, see LICENSE.
# Copyright (c) 2019-2024, see AUTHORS. Licensed under MIT License, see LICENSE.

{ super }:

let
# head of nixos-23.11 as of 2024-02-17
# head of nixos-24.05 as of 2024-06-05
pinnedPkgsSrc = super.fetchFromGitHub {
owner = "NixOS";
repo = "nixpkgs";
rev = "1d1817869c47682a6bee85b5b0a6537b6c0fba26";
sha256 = "sha256-sS4AItZeUnAei6v8FqxNlm+/27MPlfoGym/TZP0rmH0=";
rev = "b3b2b28c1daa04fe2ae47c21bb76fd226eac4ca1";
sha256 = "";
};
in

Expand Down
2 changes: 1 addition & 1 deletion pkgs/cross-compiling/talloc-static.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023, see AUTHORS. Licensed under MIT License, see LICENSE.
# Copyright (c) 2019-2024, see AUTHORS. Licensed under MIT License, see LICENSE.

{ callPackage
, fetchurl
Expand Down
2 changes: 1 addition & 1 deletion pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ let
pkgs = pkgs.lib.mkForce pkgs; # to override ./modules/nixpkgs/config.nix
};

system.stateVersion = "23.11";
system.stateVersion = "24.05";

# Fix invoking bash after initial build.
user.shell = "${initialPackageInfo.bash}/bin/bash";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/proot-termux/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023, see AUTHORS. Licensed under MIT License, see LICENSE.
# Copyright (c) 2019-2024, see AUTHORS. Licensed under MIT License, see LICENSE.

{ stdenv
, fetchFromGitHub
Expand Down
6 changes: 3 additions & 3 deletions templates/advanced/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
description = "Advanced example of Nix-on-Droid system config with home-manager.";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";

home-manager = {
url = "github:nix-community/home-manager/release-23.11";
url = "github:nix-community/home-manager/release-24.05";
inputs.nixpkgs.follows = "nixpkgs";
};

nix-on-droid = {
url = "github:nix-community/nix-on-droid/release-23.11";
url = "github:nix-community/nix-on-droid/release-24.05";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};
Expand Down
2 changes: 1 addition & 1 deletion templates/advanced/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
# Read the changelog before changing this value
home.stateVersion = "23.11";
home.stateVersion = "24.05";

# insert home-manager config
}
2 changes: 1 addition & 1 deletion templates/advanced/nix-on-droid.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
environment.etcBackupExtension = ".bak";

# Read the changelog before changing this value
system.stateVersion = "23.11";
system.stateVersion = "24.05";

# Set up nix for flakes
nix.extraOptions = ''
Expand Down
6 changes: 3 additions & 3 deletions templates/home-manager/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
description = "Minimal example of Nix-on-Droid system config with home-manager.";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";

home-manager = {
url = "github:nix-community/home-manager/release-23.11";
url = "github:nix-community/home-manager/release-24.05";
inputs.nixpkgs.follows = "nixpkgs";
};

nix-on-droid = {
url = "github:nix-community/nix-on-droid/release-23.11";
url = "github:nix-community/nix-on-droid/release-24.05";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};
Expand Down
4 changes: 2 additions & 2 deletions templates/home-manager/nix-on-droid.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
environment.etcBackupExtension = ".bak";

# Read the changelog before changing this value
system.stateVersion = "23.11";
system.stateVersion = "24.05";

# Set up nix for flakes
nix.extraOptions = ''
Expand All @@ -49,7 +49,7 @@
{ config, lib, pkgs, ... }:
{
# Read the changelog before changing this value
home.stateVersion = "23.11";
home.stateVersion = "24.05";

# insert home-manager config
};
Expand Down
4 changes: 2 additions & 2 deletions templates/minimal/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
description = "Basic example of Nix-on-Droid system config.";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";

nix-on-droid = {
url = "github:nix-community/nix-on-droid/release-23.11";
url = "github:nix-community/nix-on-droid/release-24.05";
inputs.nixpkgs.follows = "nixpkgs";
};
};
Expand Down
2 changes: 1 addition & 1 deletion templates/minimal/nix-on-droid.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
environment.etcBackupExtension = ".bak";

# Read the changelog before changing this value
system.stateVersion = "23.11";
system.stateVersion = "24.05";

# Set up nix for flakes
nix.extraOptions = ''
Expand Down
2 changes: 1 addition & 1 deletion tests/on-device/config-flake-default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
description = "Nix-on-Droid configuration";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/release-23.11";
nixpkgs.url = "github:NixOS/nixpkgs/release-24.05";
nix-on-droid.url = "<<FLAKE_URL>>";
nix-on-droid.inputs.nixpkgs.follows = "nixpkgs";
};
Expand Down
4 changes: 2 additions & 2 deletions tests/on-device/config-flake-h-m.cfg.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{ pkgs, config, ... }:

{
system.stateVersion = "23.11";
system.stateVersion = "24.05";

# no nixpkgs.overlays defined
environment.packages = with pkgs; [ zsh ];

home-manager.config =
{ pkgs, ... }:
{
home.stateVersion = "23.11";
home.stateVersion = "24.05";

nixpkgs.overlays = config.nixpkgs.overlays;
home.packages = with pkgs; [ dash ];
Expand Down
4 changes: 2 additions & 2 deletions tests/on-device/config-flake-h-m.flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
description = "Nix-on-Droid configuration";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/release-23.11";
home-manager.url = "github:nix-community/home-manager/release-23.11";
nixpkgs.url = "github:NixOS/nixpkgs/release-24.05";
home-manager.url = "github:nix-community/home-manager/release-24.05";
nix-on-droid = {
url = "<<FLAKE_URL>>";
inputs.nixpkgs.follows = "nixpkgs";
Expand Down
2 changes: 1 addition & 1 deletion tests/on-device/config-flake-hosts-localhost.cfg.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ pkgs, ... }:

{
system.stateVersion = "23.11";
system.stateVersion = "24.05";

networking.hosts."127.0.0.2" = [ "localhost" ];
}
2 changes: 1 addition & 1 deletion tests/on-device/config-flake-hosts.cfg.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ pkgs, ... }:

{
system.stateVersion = "23.11";
system.stateVersion = "24.05";

networking = {
hosts."127.0.0.2" = [ "a" "b" ];
Expand Down
2 changes: 1 addition & 1 deletion tests/on-device/config-flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
description = "Nix-on-Droid configuration";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/release-23.11";
nixpkgs.url = "github:NixOS/nixpkgs/release-24.05";
nix-on-droid.url = "<<FLAKE_URL>>";
nix-on-droid.inputs.nixpkgs.follows = "nixpkgs";
};
Expand Down
4 changes: 2 additions & 2 deletions tests/on-device/config-h-m.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ pkgs, config, ... }:

{
system.stateVersion = "23.11";
system.stateVersion = "24.05";

home-manager.config =
{ pkgs, lib, ... }:
{
home.stateVersion = "23.11";
home.stateVersion = "24.05";
nixpkgs = { inherit (config.nixpkgs) overlays; };

# example config
Expand Down
2 changes: 1 addition & 1 deletion tests/on-device/config-term-colors.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
_:

{
system.stateVersion = "23.11";
system.stateVersion = "24.05";
terminal.colors = {
background = "#FFFFFF";
foreground = "#000000";
Expand Down

0 comments on commit c8dc029

Please sign in to comment.