diff --git a/configuration.nix b/configuration.nix index 6fe772d..f19966f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -62,7 +62,7 @@ openFirewall = false; }; programs.ssh = { - pubkeyAcceptedKeyTypes = [ "ssh-ed25519" "ssh-rsa" ]; + pubkeyAcceptedKeyTypes = [ "ssh-ed25519" "ssh-rsa" "ecdsa-sha2-nistp256" ]; hostKeyAlgorithms = [ "ssh-ed25519" "ssh-rsa" ]; }; environment.systemPackages = with pkgs; [ @@ -70,10 +70,6 @@ jq ]; # consider environment.defaultPackages = lib.mkForce []; - # TODO is it needed? - environment.variables = { - DOMAIN = config.selfprivacy.domain; - }; documentation.enable = false; # no {man,info}-pages & docs, etc to save space # (or create a systemd service with `ConditionFirstBoot=yes`?) systemd.tmpfiles.rules = [ diff --git a/flake.lock b/flake.lock index 3a06119..f93d146 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1702780907, - "narHash": "sha256-blbrBBXjjZt6OKTcYX1jpe9SRof2P9ZYWPzq22tzXAA=", + "lastModified": 1704420045, + "narHash": "sha256-C36QmoJd5tdQ5R9MC1jM7fBkZW9zBUqbUCsgwS6j4QU=", "owner": "nixos", "repo": "nixpkgs", - "rev": "1e2e384c5b7c50dbf8e9c441a9e58d85f408b01f", + "rev": "c1be43e8e837b8dbee2b3665a007e761680f0c3d", "type": "github" }, "original": { @@ -28,11 +28,11 @@ ] }, "locked": { - "lastModified": 1704039216, - "narHash": "sha256-ooMgVCLR+3BHxGiEOqjzp2YXsR067SAHT7yNinm6U9k=", - "ref": "flakes", - "rev": "8ffd08e95fecd8f649f6cc00f098e81eb8f03caf", - "revCount": 1070, + "lastModified": 1705313551, + "narHash": "sha256-la/XZyI5bEgwMOO/v6kOb0gZgzfaOTD9wxPxGNL0N5M=", + "ref": "refs/heads/master", + "rev": "e3761a200c1ce244b285772a0c731a10e6169ef3", + "revCount": 1169, "type": "git", "url": "https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git" }, diff --git a/selfprivacy-module.nix b/selfprivacy-module.nix index b0fa077..b313a6d 100644 --- a/selfprivacy-module.nix +++ b/selfprivacy-module.nix @@ -20,7 +20,7 @@ with lib; Timezone used by the server ''; type = types.nullOr types.str; - default = "Europe/Uzhgorod"; + default = "Etc/UTC"; }; autoUpgrade = { enable = mkOption {