diff --git a/flake.lock b/flake.lock index 88c8b0f..f0bd2b3 100644 --- a/flake.lock +++ b/flake.lock @@ -68,16 +68,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1772598333, - "narHash": "sha256-YaHht/C35INEX3DeJQNWjNaTcPjYmBwwjFJ2jdtr+5U=", + "lastModified": 1780203844, + "narHash": "sha256-K5sT4jTpGs15ADhviMKNBH38REpPf5Q6mM1+N6cArVE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "fabb8c9deee281e50b1065002c9828f2cf7b2239", + "rev": "b51242d7d43689db2f3be91bd05d5b24fbb469c4", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixos-25.11", + "ref": "nixos-26.05", "repo": "nixpkgs", "type": "github" } diff --git a/flake.nix b/flake.nix index 1a38a1f..f805528 100644 --- a/flake.nix +++ b/flake.nix @@ -1,7 +1,7 @@ { description = "CCCB services"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05"; #flake-utils.url = "github:numtide/flake-utils"; agenix = { url = "github:ryantm/agenix"; @@ -40,7 +40,7 @@ ]; }; nixosConfigurations."matrix" = nixpkgs.lib.nixosSystem { - #system = "x86_64-linux"; + #system = "x86_64-linux";d #pkgs = import nixpkgs { inherit system; }; inherit system; modules = [ diff --git a/hosts/common.nix b/hosts/common.nix index 53d1e86..248fccb 100644 --- a/hosts/common.nix +++ b/hosts/common.nix @@ -88,12 +88,12 @@ # Cache DNS lookups to improve performance resolved = { enable = true; - dnssec = "allow-downgrade"; - dnsovertls = "true"; - extraConfig = '' - Cache=true - CacheFromLocalhost=true - ''; + settings.Resolve = { + DNSSEC = "allow-downgrade"; + DNSOverTLS = true; + Cache = true; + CacheFromLocalhost = true; + }; }; }; diff --git a/hosts/matrix/default.nix b/hosts/matrix/default.nix index 7fc2fac..e4de744 100644 --- a/hosts/matrix/default.nix +++ b/hosts/matrix/default.nix @@ -23,17 +23,16 @@ }; }; - services = { - openssh.banner = '' - __ __ - /\ \__ __ /\ \ - ___ ___ __ \ \ ,_\ _ __ /\_\ __ _ ___ ___ ___\ \ \____ - /' __` __`\ /'__`\ \ \ \/ /\`'__\/\ \ /\ \/'\ /'___\ /'___\ /'___\ \ '__`\ - /\ \/\ \/\ \/\ \L\.\_\ \ \_\ \ \/ \ \ \\/>