Update 21.11 references to 22.05

This commit is contained in:
Alexander Sosedkin 2022-06-27 12:31:24 +02:00
parent b4b889845c
commit d1f52f2e1d
9 changed files with 25 additions and 25 deletions

View file

@ -1,7 +1,7 @@
{ pkgs, config, ... }:
{
system.stateVersion = "21.11";
system.stateVersion = "22.05";
# no nixpkgs.overlays defined
environment.packages = with pkgs; [ zsh ];
@ -9,7 +9,7 @@
home-manager.config =
{ pkgs, ... }:
{
home.stateVersion = "21.11";
home.stateVersion = "22.05";
nixpkgs.overlays = config.nixpkgs.overlays;
home.packages = with pkgs; [ dash ];

View file

@ -2,8 +2,8 @@
description = "nix-on-droid configuration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/release-21.11";
home-manager.url = "github:nix-community/home-manager/release-21.11";
nixpkgs.url = "github:NixOS/nixpkgs/release-22.05";
home-manager.url = "github:nix-community/home-manager/release-22.05";
nix-on-droid.url = "<<FLAKE_URL>>";
nix-on-droid.inputs.nixpkgs.follows = "nixpkgs";
nix-on-droid.inputs.home-manager.follows = "home-manager";

View file

@ -2,7 +2,7 @@
description = "nix-on-droid configuration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/release-21.11";
nixpkgs.url = "github:NixOS/nixpkgs/release-22.05";
nix-on-droid.url = "<<FLAKE_URL>>";
nix-on-droid.inputs.nixpkgs.follows = "nixpkgs";
};

View file

@ -1,4 +1,4 @@
# Copyright (c) 2019-2021, see AUTHORS. Licensed under MIT License, see LICENSE.
# Copyright (c) 2019-2022, see AUTHORS. Licensed under MIT License, see LICENSE.
load lib
@ -21,7 +21,7 @@ teardown() {
[[ ! -e ~/.config/example ]]
# set up / build / activate the configuration
nix-channel --add https://github.com/rycee/home-manager/archive/release-21.11.tar.gz home-manager
nix-channel --add https://github.com/rycee/home-manager/archive/release-22.05.tar.gz home-manager
nix-channel --update
cp "$ON_DEVICE_TESTS_DIR/config-h-m.nix" ~/.config/nixpkgs/nix-on-droid.nix
nix-on-droid switch

View file

@ -1,12 +1,12 @@
{ pkgs, config, ... }:
{
system.stateVersion = "21.11";
system.stateVersion = "22.05";
home-manager.config =
{ pkgs, lib, ... }:
{
home.stateVersion = "21.11";
home.stateVersion = "22.05";
nixpkgs = { inherit (config.nixpkgs) overlays; };
# example config