mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
Update stateVersions and channel versions to 21.11
This commit is contained in:
parent
b30833b210
commit
ef55157fb7
5 changed files with 13 additions and 13 deletions
2
.github/workflows/cachix.yml
vendored
2
.github/workflows/cachix.yml
vendored
|
|
@ -9,7 +9,7 @@ jobs:
|
|||
- uses: actions/checkout@v2.3.4
|
||||
- uses: cachix/install-nix-action@v13
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-21.05
|
||||
nix_path: nixpkgs=channel:nixos-21.11
|
||||
- uses: cachix/cachix-action@v10
|
||||
with:
|
||||
name: nix-on-droid
|
||||
|
|
|
|||
12
README.md
12
README.md
|
|
@ -52,7 +52,7 @@ for example:
|
|||
|
||||
{
|
||||
environment.packages = [ pkgs.vim ];
|
||||
system.stateVersion = "21.05";
|
||||
system.stateVersion = "21.11";
|
||||
}
|
||||
```
|
||||
|
||||
|
|
@ -66,7 +66,7 @@ An alternative location is `~/.config/nixpkgs/config.nix` with the key
|
|||
|
||||
{
|
||||
environment.packages = [ pkgs.vim ];
|
||||
system.stateVersion = "21.05";
|
||||
system.stateVersion = "21.11";
|
||||
};
|
||||
}
|
||||
```
|
||||
|
|
@ -80,7 +80,7 @@ To enable `home-manager` you simply need to follow the instructions already prov
|
|||
|
||||
1. Add `home-manager` channel:
|
||||
```
|
||||
nix-channel --add https://github.com/rycee/home-manager/archive/release-21.05.tar.gz home-manager
|
||||
nix-channel --add https://github.com/rycee/home-manager/archive/release-21.11.tar.gz home-manager
|
||||
nix-channel --update
|
||||
```
|
||||
2. Configure `home-manager`:
|
||||
|
|
@ -89,7 +89,7 @@ To enable `home-manager` you simply need to follow the instructions already prov
|
|||
|
||||
{
|
||||
# Read nix-on-droid changelog before changing this value
|
||||
system.stateVersion = "21.05";
|
||||
system.stateVersion = "21.11";
|
||||
|
||||
# insert nix-on-droid config
|
||||
|
||||
|
|
@ -97,7 +97,7 @@ To enable `home-manager` you simply need to follow the instructions already prov
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
# Read home-manager changelog before changing this value
|
||||
home.stateVersion = "21.05";
|
||||
home.stateVersion = "21.11";
|
||||
|
||||
# insert home-manager config
|
||||
};
|
||||
|
|
@ -171,7 +171,7 @@ writing a `flake.nix`:
|
|||
description = "nix-on-droid configuration";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/release-21.05";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/release-21.11";
|
||||
nix-on-droid.url = "github:t184256/nix-on-droid/master";
|
||||
nix-on-droid.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -13,13 +13,13 @@ with lib;
|
|||
build.channel = {
|
||||
nixpkgs = mkOption {
|
||||
type = types.str;
|
||||
default = "https://nixos.org/channels/nixos-21.05";
|
||||
default = "https://nixos.org/channels/nixos-21.11";
|
||||
description = "Channel URL for nixpkgs.";
|
||||
};
|
||||
|
||||
nix-on-droid = mkOption {
|
||||
type = types.str;
|
||||
default = "https://github.com/t184256/nix-on-droid/archive/release-21.05.tar.gz";
|
||||
default = "https://github.com/t184256/nix-on-droid/archive/release-21.11.tar.gz";
|
||||
description = "Channel URL for nix-on-droid.";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -28,17 +28,17 @@
|
|||
environment.etcBackupExtension = ".bak";
|
||||
|
||||
# Read the changelog before changing this value
|
||||
system.stateVersion = "21.05";
|
||||
system.stateVersion = "21.11";
|
||||
|
||||
# After installing home-manager channel like
|
||||
# nix-channel --add https://github.com/rycee/home-manager/archive/release-21.05.tar.gz home-manager
|
||||
# nix-channel --add https://github.com/rycee/home-manager/archive/release-21.11.tar.gz home-manager
|
||||
# nix-channel --update
|
||||
# you can configure home-manager in here like
|
||||
#home-manager.config =
|
||||
# { pkgs, lib, ... }:
|
||||
# {
|
||||
# # Read the changelog before changing this value
|
||||
# home.stateVersion = "21.05";
|
||||
# home.stateVersion = "21.11";
|
||||
#
|
||||
# # Use the same overlays as the system packages
|
||||
# nixpkgs.overlays = lib.mkIf (lib.hasAttrByPath [ "nixpkgs" "overlays" ] config) config.nixpkgs.overlays;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ with lib;
|
|||
options = {
|
||||
|
||||
system.stateVersion = mkOption {
|
||||
type = types.enum [ "19.09" "20.03" "20.09" "21.05" ];
|
||||
type = types.enum [ "19.09" "20.03" "20.09" "21.05" "21.11" ];
|
||||
default = "19.09";
|
||||
description = ''
|
||||
It is occasionally necessary for nix-on-droid to change
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue