This commit is contained in:
2025-07-26 21:06:39 +03:00
parent 082e45bfec
commit d90d5483e1
3 changed files with 10 additions and 8 deletions
+5 -3
View File
@@ -7,6 +7,10 @@ let
pkgs, pkgs,
... ...
}: }:
let
last-stable = import inputs.nixpkgs-last-unstable { system = "x86_64-linux"; };
in
{ {
imports = with inputs; [ imports = with inputs; [
sops-nix.nixosModules.sops sops-nix.nixosModules.sops
@@ -144,6 +148,7 @@ let
}; };
calibre-web = { calibre-web = {
enable = true; enable = true;
package = last-stable.calibre-web;
group = "users"; group = "users";
user = "${inputs.zeroq.devices.admin}"; user = "${inputs.zeroq.devices.admin}";
options = { options = {
@@ -158,7 +163,6 @@ let
openssh = { openssh = {
enable = true; enable = true;
allowSFTP = true; allowSFTP = true;
#knownHosts.otreca.publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJpMaD143EZqhRlpAgNINLrH/qXkN3zXmKgFJlhbhGwg";
hostKeys = [ hostKeys = [
{ {
path = "/etc/ssh/id_ed25519"; path = "/etc/ssh/id_ed25519";
@@ -203,8 +207,6 @@ let
networking = { networking = {
hostName = "${inputs.zeroq.devices.server.hostname}"; hostName = "${inputs.zeroq.devices.server.hostname}";
networkmanager.enable = true; networkmanager.enable = true;
#networkmanager.dns = "default";
#enableIPv6 = true;
firewall.enable = false; firewall.enable = false;
}; };
Generated
+4 -4
View File
@@ -297,17 +297,17 @@
}, },
"nixpkgs-last-unstable": { "nixpkgs-last-unstable": {
"locked": { "locked": {
"lastModified": 1752077645, "lastModified": 1752900028,
"narHash": "sha256-HM791ZQtXV93xtCY+ZxG1REzhQenSQO020cu6rHtAPk=", "narHash": "sha256-dPALCtmik9Wr14MGqVXm+OQcv7vhPBXcWNIOThGnB/Q=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "be9e214982e20b8310878ac2baa063a961c1bdf6", "rev": "6b4955211758ba47fac850c040a27f23b9b4008f",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "be9e214982e20b8310878ac2baa063a961c1bdf6", "rev": "6b4955211758ba47fac850c040a27f23b9b4008f",
"type": "github" "type": "github"
} }
}, },
+1 -1
View File
@@ -10,7 +10,7 @@
# nixpkgs # nixpkgs
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
nixpkgs-last-unstable.url = "github:NixOS/nixpkgs/be9e214982e20b8310878ac2baa063a961c1bdf6"; nixpkgs-last-unstable.url = "github:NixOS/nixpkgs/6b4955211758ba47fac850c040a27f23b9b4008f";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05"; nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05";
nixpkgs-fingerprint.url = "github:NixOS/nixpkgs/nixos-24.11"; nixpkgs-fingerprint.url = "github:NixOS/nixpkgs/nixos-24.11";