Compare commits

..

No commits in common. "53ea992ae22911ebd9f9b6691d0ae0f9da6067ce" and "751bf2bf81fc12cb30a7926fab5974998718bdab" have entirely different histories.

3 changed files with 43 additions and 14 deletions

View file

@ -85,11 +85,11 @@
]
},
"locked": {
"lastModified": 1719992360,
"narHash": "sha256-SRq0ZRkqagqpMGVf4z9q9CIWRbPYjO7FTqSJyWh7nes=",
"lastModified": 1719827439,
"narHash": "sha256-tneHOIv1lEavZ0vQ+rgz67LPNCgOZVByYki3OkSshFU=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "36e2f9da91ce8b63a549a47688ae60d47c50de4b",
"rev": "59ce796b2563e19821361abbe2067c3bb4143a7d",
"type": "github"
},
"original": {
@ -136,11 +136,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1719895800,
"narHash": "sha256-xNbjISJTFailxass4LmdWeV4jNhAlmJPwj46a/GxE6M=",
"lastModified": 1719681865,
"narHash": "sha256-Lp+l1IsREVbz8WM35OJYZz8sAH0XOjrZWUXVB5bJ2qg=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "6e253f12b1009053eff5344be5e835f604bb64cd",
"rev": "a59f00f5ac65b19382617ba00f360f8bc07ed3ac",
"type": "github"
},
"original": {
@ -152,11 +152,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1719956923,
"narHash": "sha256-nNJHJ9kfPdzYsCOlHOnbiiyKjZUW5sWbwx3cakg3/C4=",
"lastModified": 1719707984,
"narHash": "sha256-RoxIr/fbndtuKqulGvNCcuzC6KdAib85Q8gXnjzA1dw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "706eef542dec88cc0ed25b9075d3037564b2d164",
"rev": "7dca15289a1c2990efbe4680f0923ce14139b042",
"type": "github"
},
"original": {
@ -181,13 +181,29 @@
"type": "indirect"
}
},
"nixpkgs-unstable": {
"nixpkgs-small": {
"locked": {
"lastModified": 1719848872,
"narHash": "sha256-H3+EC5cYuq+gQW8y0lSrrDZfH71LB4DAf+TDFyvwCNA=",
"lastModified": 1719825363,
"narHash": "sha256-2ASBatUTQWNIiTeBZRuxROu27MyOavVnzeCv7h40QNw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "00d80d13810dbfea8ab4ed1009b09100cca86ba8",
"rev": "10c832d0548e9e3a6df7eb51e68c2783212a303e",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-24.05-small",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1719690277,
"narHash": "sha256-0xSej1g7eP2kaUF+JQp8jdyNmpmCJKRpO12mKl/36Kc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "2741b4b489b55df32afac57bc4bfd220e8bf617e",
"type": "github"
},
"original": {
@ -206,6 +222,7 @@
"nix-index-database": "nix-index-database",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs",
"nixpkgs-small": "nixpkgs-small",
"nixpkgs-unstable": "nixpkgs-unstable",
"secrets": "secrets",
"simple-nixos-mailserver": "simple-nixos-mailserver"

View file

@ -8,6 +8,9 @@
nixpkgs = {
url = "github:NixOS/nixpkgs/nixos-24.05";
};
nixpkgs-small = {
url = "github:NixOS/nixpkgs/nixos-24.05-small";
};
nixpkgs-unstable = {
url = "github:NixOS/nixpkgs/nixos-unstable";
};

View file

@ -1,4 +1,13 @@
{...}: {
{
nixpkgs-small,
pkgs,
...
}: {
# Use OpenSSH from nixpkgs-small while waiting for
# https://nixpk.gs/pr-tracker.html?pr=323761.
# See https://github.com/NixOS/nixpkgs/pull/323761.
programs.ssh.package = nixpkgs-small.legacyPackages."${pkgs.system}".openssh;
services.openssh = {
enable = true;
settings = {