Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit 2d45137

Browse files
committed
nixpkgs: update
1 parent dc90fb9 commit 2d45137

9 files changed

+11
-24
lines changed

morph-network/machines/ofborg-evaluator-0.system.nix

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
}
77
)
88
({
9-
nixpkgs.config.allowUnfree = true;
10-
119
boot.initrd.availableKernelModules = [
1210
"ahci"
1311
"mpt3sas"

morph-network/machines/ofborg-evaluator-1.system.nix

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
}
77
)
88
({
9-
nixpkgs.config.allowUnfree = true;
10-
119
boot.initrd.availableKernelModules = [
1210
"ahci"
1311
"mpt3sas"

morph-network/machines/ofborg-evaluator-2.system.nix

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
}
77
)
88
({
9-
nixpkgs.config.allowUnfree = true;
10-
119
boot.initrd.availableKernelModules = [
1210
"ahci"
1311
"mpt3sas"

morph-network/machines/ofborg-evaluator-3.system.nix

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
}
77
)
88
({
9-
nixpkgs.config.allowUnfree = true;
10-
119
boot.initrd.availableKernelModules = [
1210
"ahci"
1311
"mpt3sas"

morph-network/machines/ofborg-evaluator-4.system.nix

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
}
77
)
88
({
9-
nixpkgs.config.allowUnfree = true;
10-
119
boot.initrd.availableKernelModules = [
1210
"ahci"
1311
"mpt3sas"

nix/sources.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@
5353
"homepage": "",
5454
"owner": "NixOS",
5555
"repo": "nixpkgs",
56-
"rev": "c90c4025bb6e0c4eaf438128a3b2640314b1c58d",
57-
"sha256": "12rrrbfcw9p4ykadjjvbbn38fc9xknf7x96yknxfmjvllhfm1fcl",
56+
"rev": "4a6b83b05df1a8bd7d99095ec4b4d271f2956b64",
57+
"sha256": "0zmyrxyrq6l2qjiy4fshjvhza6gvjdq1fn82543wb2li21jmpnpq",
5858
"type": "tarball",
59-
"url": "https://github.com/NixOS/nixpkgs/archive/c90c4025bb6e0c4eaf438128a3b2640314b1c58d.tar.gz",
59+
"url": "https://github.com/NixOS/nixpkgs/archive/4a6b83b05df1a8bd7d99095ec4b4d271f2956b64.tar.gz",
6060
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
6161
}
6262
}

nixops/modules/logging/loki.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ ingester:
1313
final_sleep: 0s
1414
chunk_idle_period: 5m
1515
chunk_retain_period: 30s
16-
max_transfer_retries: 0
1716

1817
schema_config:
1918
configs:
@@ -33,12 +32,9 @@ storage_config:
3332
directory: /var/lib/loki/chunks
3433

3534
limits_config:
36-
enforce_metric_name: false
3735
reject_old_samples: true
3836
reject_old_samples_max_age: 168h
39-
40-
chunk_store_config:
41-
max_look_back_period: 0
37+
allow_structured_metadata: false
4238

4339
table_manager:
4440
chunk_tables_provisioning:

nixops/modules/ofborg/default.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ in {
5656
];
5757

5858
config = {
59-
nix.package = pkgs.nixVersions.nix_2_13;
59+
nix.package = pkgs.nixVersions.nix_2_18;
6060
system.stateVersion = "23.05";
6161

6262
age.secrets.rabbitmq_ofborgsrvc_password_file = {

nixops/modules/standard.nix

+6-5
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@ in {
1212
config = {
1313
nixpkgs = {
1414
overlays = [ (import ../../nix/overlay.nix) ];
15-
config = {
16-
allowUnfree = true;
17-
packageOverrides = pkgs: {
18-
};
19-
};
2015
};
2116

17+
# NOTE(cole-h): newer nixpkgs didn't like setting `nixpkgs.config.allowUnfree` here, so we
18+
# include the hello-unfree package to ensure we're properly allowing unfree
19+
environment.systemPackages = [
20+
pkgs.hello-unfree
21+
];
22+
2223
services.openssh.enable = true;
2324
users.users.root.openssh.authorizedKeys.keys = [
2425
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINMcTaqUZSwv6YW8lx/JhsAZTdNSSC2fR8Pgk8woeFKh vin@scadrial"

0 commit comments

Comments
 (0)