upgrade to 23.11

This commit is contained in:
Cyryl Płotnicki 2023-11-30 21:22:10 +00:00
parent df879e2cf6
commit 6336a40ff4
9 changed files with 120 additions and 141 deletions

View file

@ -81,11 +81,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1699781810, "lastModified": 1700927249,
"narHash": "sha256-LD+PIUbm1yQmQmGIbSsc/PB1dtJtGqXFgxRc1C7LlfQ=", "narHash": "sha256-iqmIWiEng890/ru7ZBf4nUezFPyRm2fjRTvuwwxqk2o=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "2d7d77878c5d70f66f3d676ff66708d8d4f9d7df", "rev": "3cb78c93e6a02f494aaf6aeb37481c27a2e2ee22",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -227,11 +227,11 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1700918851, "lastModified": 1701223272,
"narHash": "sha256-EN6pwfcLtOb8yFtPBqsdqKDkbbvZGT8NL8B0xcaufUo=", "narHash": "sha256-LK+xBFZgi1tbhVErtHFHBmF71x84amnxNmmL/cTKjo4=",
"owner": "helix-editor", "owner": "helix-editor",
"repo": "helix", "repo": "helix",
"rev": "8c68074fa6d2e3771bbc1a7f80bc9b422a787da4", "rev": "0c81ef73e17a3d45cd6240fd5933ad99b3a60d01",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -248,16 +248,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1700392168, "lastModified": 1700814205,
"narHash": "sha256-v5LprEFx3u4+1vmds9K0/i7sHjT0IYGs7u9v54iz/OA=", "narHash": "sha256-lWqDPKHRbQfi+zNIivf031BUeyciVOtwCwTjyrhDB5g=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "28535c3a34d79071f2ccb68671971ce0c0984d7e", "rev": "aeb2232d7a32530d3448318790534d196bf9427a",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-23.05", "ref": "release-23.11",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
@ -273,11 +273,11 @@
"rust-overlay": "rust-overlay_2" "rust-overlay": "rust-overlay_2"
}, },
"locked": { "locked": {
"lastModified": 1699423608, "lastModified": 1701225372,
"narHash": "sha256-WEVUgivm5DCziwZqiXRPeoD3FQTXW38ExKrZjvMveqE=", "narHash": "sha256-QSiFeEmTzAIIiCtUaMesu7wi7bvfHuFzPMQpOKMt4Lo=",
"owner": "oxalica", "owner": "oxalica",
"repo": "nil", "repo": "nil",
"rev": "5607d429016d6f9a72843b07127fad23ea9d661f", "rev": "0031eb4343fd4672742fd6ff839da9b4f5120646",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -289,11 +289,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1700559156, "lastModified": 1701250978,
"narHash": "sha256-gL4epO/qf+wo30JjC3g+b5Bs8UrpxzkhNBBsUYxpw2g=", "narHash": "sha256-ohu3cz4edjpGxs2qUTgbs0WrnewOX4crnUJNEB6Jox4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "c3abafb01cd7045dba522af29b625bd1e170c2fb", "rev": "8772491ed75f150f02552c60694e1beff9f46013",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -305,11 +305,11 @@
}, },
"nixpkgs-master": { "nixpkgs-master": {
"locked": { "locked": {
"lastModified": 1700923089, "lastModified": 1701368325,
"narHash": "sha256-KX7khf7wnO7gvNuljZZPhiLSOgDoVD5Nr0CZIDrIZL8=", "narHash": "sha256-3OqZyi2EdopJxpxwrySPyCTuCvfBY4oXTLVgQ4B6qDg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6f4084a53c808662fbbcdbe9c7bc78e7a07d8e8f", "rev": "3934dbde4f4a0e266825348bc4ad1bdd00a8d6a3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -321,11 +321,11 @@
}, },
"nixpkgs-nixos-unstable": { "nixpkgs-nixos-unstable": {
"locked": { "locked": {
"lastModified": 1700612854, "lastModified": 1701068326,
"narHash": "sha256-yrQ8osMD+vDLGFX7pcwsY/Qr5PUd6OmDMYJZzZi0+zc=", "narHash": "sha256-vmMceA+q6hG1yrjb+MP8T0YFDQIrW3bl45e7z24IEts=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "19cbff58383a4ae384dea4d1d0c823d72b49d614", "rev": "8cfef6986adfb599ba379ae53c9f5631ecd2fd9c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -337,11 +337,11 @@
}, },
"nixpkgs-rust-analyzer": { "nixpkgs-rust-analyzer": {
"locked": { "locked": {
"lastModified": 1700923089, "lastModified": 1701368325,
"narHash": "sha256-KX7khf7wnO7gvNuljZZPhiLSOgDoVD5Nr0CZIDrIZL8=", "narHash": "sha256-3OqZyi2EdopJxpxwrySPyCTuCvfBY4oXTLVgQ4B6qDg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6f4084a53c808662fbbcdbe9c7bc78e7a07d8e8f", "rev": "3934dbde4f4a0e266825348bc4ad1bdd00a8d6a3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -353,27 +353,27 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1700851152, "lastModified": 1701263465,
"narHash": "sha256-3PWITNJZyA3jz5IGREJRfSykM6xSLmD8u5A3WpBCyDM=", "narHash": "sha256-lNXUIlkfyDyp9Ox21hr+wsEf/IBklLvb6bYcyeXbdRc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "1216a5ba22a93a4a3a3bfdb4bff0f4727c576fcc", "rev": "50aa30a13c4ab5e7ba282da460a3e3d44e9d0eb3",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-23.05", "ref": "nixos-23.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1700919861, "lastModified": 1701366548,
"narHash": "sha256-F/jUXU3AkwrFiI3nGhw0kFTdwmsG4hUEGgEOAnZSukI=", "narHash": "sha256-+cItrtt7Tfd9SM9aQ3lCZWahfxVzWpH5bVgRyz5QDnw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "2f972e33b2323c947f9cbf6538b552d5d9205dc7", "rev": "d16468a8fc6ea13c030349f293e5958adc0e4a54",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -481,11 +481,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1700362823, "lastModified": 1701127353,
"narHash": "sha256-/H7XgvrYM0IbkpWkcdfkOH0XyBM5ewSWT1UtaLvOgKY=", "narHash": "sha256-qVNX0wOl0b7+I35aRu78xUphOyELh+mtUp1KBx89K1Q=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "49a87c6c827ccd21c225531e30745a9a6464775c", "rev": "b1edbf5c0464b4cced90a3ba6f999e671f0af631",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -233,7 +233,7 @@
type = "github"; type = "github";
owner = "NixOS"; owner = "NixOS";
repo = "nixpkgs"; repo = "nixpkgs";
ref = "nixos-23.05"; ref = "nixos-23.11";
}; };
nixpkgs-rust-analyzer = { nixpkgs-rust-analyzer = {
@ -273,7 +273,7 @@
type = "github"; type = "github";
owner = "nix-community"; owner = "nix-community";
repo = "home-manager"; repo = "home-manager";
ref = "release-23.05"; ref = "release-23.11";
inputs.nixpkgs.follows = "nixpkgs-stable"; inputs.nixpkgs.follows = "nixpkgs-stable";
}; };

View file

@ -8,7 +8,6 @@
newestPackages = inputs.nixpkgs-master.legacyPackages.${pkgs.system}; newestPackages = inputs.nixpkgs-master.legacyPackages.${pkgs.system};
package = newestPackages.mastodon; package = newestPackages.mastodon;
domain = "peninsula.industries"; domain = "peninsula.industries";
streamingPort = 55000;
webPort = 55001; webPort = 55001;
postgresPort = 5432; postgresPort = 5432;
path = "/var/lib/mastodon/"; path = "/var/lib/mastodon/";
@ -55,10 +54,6 @@ in {
proxyPass = "http://127.0.0.1:" + toString webPort; proxyPass = "http://127.0.0.1:" + toString webPort;
proxyWebsockets = true; proxyWebsockets = true;
}; };
locations."/api/v1/streaming/" = {
proxyPass = "http://127.0.0.1:" + toString streamingPort;
proxyWebsockets = true;
};
}; };
}; };
}; };
@ -96,10 +91,6 @@ in {
containers.mastodon = { containers.mastodon = {
autoStart = true; autoStart = true;
forwardPorts = [ forwardPorts = [
{
containerPort = streamingPort;
hostPort = streamingPort;
}
{ {
containerPort = webPort; containerPort = webPort;
hostPort = webPort; hostPort = webPort;
@ -153,6 +144,7 @@ in {
user = systemUserName; user = systemUserName;
group = systemGroupName; group = systemGroupName;
mediaAutoRemove.enable = false; mediaAutoRemove.enable = false;
streamingProcesses = 2;
smtp = { smtp = {
host = "smtp.eu.mailgun.org"; host = "smtp.eu.mailgun.org";
port = 465; port = 465;
@ -171,7 +163,6 @@ in {
AUTHORIZED_FETCH = "true"; AUTHORIZED_FETCH = "true";
DISALLOW_UNAUTHENTICATED_API_ACCESS = "true"; DISALLOW_UNAUTHENTICATED_API_ACCESS = "true";
}; };
inherit streamingPort;
inherit webPort; inherit webPort;
configureNginx = false; configureNginx = false;
enableUnixSocket = false; enableUnixSocket = false;

View file

@ -43,7 +43,7 @@
hardware.bluetooth = { hardware.bluetooth = {
enable = true; enable = true;
package = pkgs.bluezFull; package = pkgs.bluez;
settings = {General = {Enable = "Source,Sink,Media,Socket";};}; settings = {General = {Enable = "Source,Sink,Media,Socket";};};
}; };

View file

@ -89,7 +89,7 @@ in {
defaultFonts.monospace = ["BerkeleyMono Nerd Font"]; defaultFonts.monospace = ["BerkeleyMono Nerd Font"];
}; };
fonts.fonts = with pkgs; [ fonts.packages = with pkgs; [
inconsolata inconsolata
(fetchzip { (fetchzip {
url = "file://" + ./fonts/berkeley.tar.xz; url = "file://" + ./fonts/berkeley.tar.xz;

View file

@ -72,18 +72,6 @@
version = "0.6.0"; version = "0.6.0";
sha256 = "sha256-yk7buEyQIw6aiUizAm+sgalWxUibIuP9crhyBaOjC2E="; sha256 = "sha256-yk7buEyQIw6aiUizAm+sgalWxUibIuP9crhyBaOjC2E=";
} }
{
publisher = "ms-vscode";
name = "cpptools";
version = "1.18.1";
sha256 = "sha256-TRIEdlJI1QQMV6I9CFBjlw9ZfKvUJrmE2YoO/InX39E=";
}
{
publisher = "ms-vscode";
name = "cpptools-extension-pack";
version = "1.3.0";
sha256 = "sha256-rHST7CYCVins3fqXC+FYiS5Xgcjmi7QW7M4yFrUR04U=";
}
{ {
publisher = "tiehuis"; publisher = "tiehuis";
name = "zig"; name = "zig";

View file

@ -10,7 +10,7 @@
users.extraUsers.cyryl.extraGroups = ["kvm"]; users.extraUsers.cyryl.extraGroups = ["kvm"];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
virtmanager virt-manager
qemu qemu
swtpm swtpm
virt-viewer virt-viewer

View file

@ -15,6 +15,7 @@ in {
package = package =
inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".syncthing; inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".syncthing;
overrideDevices = false; overrideDevices = false;
settings = {
devices = { devices = {
"OnePlus9" = { "OnePlus9" = {
id = "2UVDAHX-IWQEBLF-6VOYLWO-MYQBMO2-62QPM76-CFYPPZW-CWVIBZF-JEUS4QZ"; id = "2UVDAHX-IWQEBLF-6VOYLWO-MYQBMO2-62QPM76-CFYPPZW-CWVIBZF-JEUS4QZ";
@ -93,7 +94,6 @@ in {
devices = workstations ++ ["hagath" "mama" "janusz" "danuta"]; devices = workstations ++ ["hagath" "mama" "janusz" "danuta"];
}; };
}; };
extraOptions = {
options = { options = {
listenAddresses = [ listenAddresses = [
"tcp://${config.networking.hostName}.raptor-carp.ts.net:22000" "tcp://${config.networking.hostName}.raptor-carp.ts.net:22000"

View file

@ -56,7 +56,7 @@ in {
plugins = with pkgs; plugins = with pkgs;
with pkgs.vimPlugins; [ with pkgs.vimPlugins; [
(vimUtils.buildVimPluginFrom2Nix rec { (vimUtils.buildVimPlugin rec {
pname = "vim-tada"; pname = "vim-tada";
version = "2022-04-22"; version = "2022-04-22";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -66,7 +66,7 @@ in {
sha256 = "sha256-9kvLbzrVjtBTjbXmhJ7JTggXgFvGVF7sc2YiVW9fUGY="; sha256 = "sha256-9kvLbzrVjtBTjbXmhJ7JTggXgFvGVF7sc2YiVW9fUGY=";
}; };
}) })
(vimUtils.buildVimPluginFrom2Nix rec { (vimUtils.buildVimPlugin rec {
pname = "srht.vim"; pname = "srht.vim";
version = "2022-01-04"; version = "2022-01-04";
src = fetchFromSourcehut { src = fetchFromSourcehut {