From 582e5d9959733b2849e3750a41b6aa2547e949e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 5 Oct 2023 22:26:54 +0200 Subject: Cleanup a bit --- nixos/modules/generic.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nixos/modules/generic.nix') diff --git a/nixos/modules/generic.nix b/nixos/modules/generic.nix index d88618d..8688732 100644 --- a/nixos/modules/generic.nix +++ b/nixos/modules/generic.nix @@ -8,7 +8,7 @@ with lib; let isNative = config.nixpkgs.hostPlatform == config.nixpkgs.buildPlatform; in { config = { - system.stateVersion = "22.05"; + system.stateVersion = "23.11"; nix = { extraOptions = "experimental-features = nix-command flakes"; @@ -111,7 +111,7 @@ in { users.groups.cynerd.gid = 1000; users.users = { root = { - passwordFile = "/run/secrets/root.pass"; + hashedPasswordFile = "/run/secrets/root.pass"; }; cynerd = { group = "cynerd"; @@ -135,7 +135,7 @@ in { if isNative then pkgs.zsh.out else pkgs.bash.out; - passwordFile = "/run/secrets/cynerd.pass"; + hashedPasswordFile = "/run/secrets/cynerd.pass"; openssh.authorizedKeys.keyFiles = [ (config.personal-secrets + "/unencrypted/git-private.pub") ]; -- cgit v1.2.3