update to nixos 23.05

This commit is contained in:
Erik Arvstedt 2023-07-08 15:33:00 +02:00
parent 55c64d8dff
commit e2cce7daa8
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
8 changed files with 19 additions and 16 deletions

View File

@ -9,7 +9,7 @@ task:
container: container:
# Defined in https://github.com/nix-community/docker-nixpkgs # Defined in https://github.com/nix-community/docker-nixpkgs
image: nixpkgs/nix-flakes:nixos-22.11 image: nixpkgs/nix-flakes:nixos-23.05
matrix: matrix:
- name: modules_test - name: modules_test

View File

@ -265,7 +265,7 @@
services.openssh = { services.openssh = {
enable = true; enable = true;
passwordAuthentication = false; settings.PasswordAuthentication = false;
}; };
users.users.root = { users.users.root = {
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [
@ -292,7 +292,7 @@
# this value at the release version of the first install of this system. # this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option # Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "22.11"; # Did you read the comment? system.stateVersion = "23.05"; # Did you read the comment?
# The nix-bitcoin release version that your config is compatible with. # The nix-bitcoin release version that your config is compatible with.
# When upgrading to a backwards-incompatible release, nix-bitcoin will display an # When upgrading to a backwards-incompatible release, nix-bitcoin will display an

View File

@ -43,16 +43,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1688392541, "lastModified": 1688764204,
"narHash": "sha256-lHrKvEkCPTUO+7tPfjIcb7Trk6k31rz18vkyqmkeJfY=", "narHash": "sha256-FsvK+tIvelCI0tWwlMDKfiyb7P/KfxpGbXMrdCKiT8s=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "ea4c80b39be4c09702b0cb3b42eab59e2ba4f24b", "rev": "d8bb6c681cf86265fdcf3cc3119f757bbb085835",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-22.11", "ref": "nixos-23.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View File

@ -5,7 +5,7 @@
''; '';
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
extra-container = { extra-container = {

View File

@ -2,17 +2,17 @@
pkgs: pkgsUnstable: pkgs: pkgsUnstable:
{ {
inherit (pkgs) inherit (pkgs)
lndconnect;
inherit (pkgsUnstable)
btcpayserver
charge-lnd charge-lnd
clightning
electrs electrs
elementsd elementsd
extra-container extra-container
fulcrum fulcrum
hwi hwi
lndconnect;
inherit (pkgsUnstable)
btcpayserver
clightning
lightning-loop lightning-loop
lightning-pool lightning-pool
nbxplorer; nbxplorer;

View File

@ -101,7 +101,7 @@ makeTestVM {
testScript = { nodes, ... }: let testScript = { nodes, ... }: let
systems = builtins.concatStringsSep ", " systems = builtins.concatStringsSep ", "
(mapAttrsToList (name: node: ''"${name}": "${node.config.system.build.toplevel}"'') nodes); (mapAttrsToList (name: node: ''"${name}": "${node.system.build.toplevel}"'') nodes);
in '' in ''
systems = { ${systems} } systems = { ${systems} }

View File

@ -23,7 +23,7 @@ let
}; };
testScript = nodes: let testScript = nodes: let
cfg = nodes.nodes.machine.config; cfg = nodes.nodes.machine;
data = { data = {
data = cfg.test.data; data = cfg.test.data;
tests = cfg.tests; tests = cfg.tests;

View File

@ -390,7 +390,10 @@ in {
config config
]; ];
# Share the same pkgs instance among tests # Share the same pkgs instance among tests
nixpkgs.pkgs = pkgs.lib.mkDefault pkgs; # Set priority slightly higher (i.e. to a slightly lower number) than `mkDefault`,
# so that this module can be used with function `pkgs.nixos`, which already
# sets `nixpkgs.pkgs` with prio `mkDefault`.
nixpkgs.pkgs = lib.mkOverride 900 pkgs;
}; };
}; };