diff --git a/devShell.nix b/devShell.nix index 47a28ec..1500de1 100644 --- a/devShell.nix +++ b/devShell.nix @@ -142,6 +142,7 @@ in mkShell { colmena vault bashInteractive + nixdoc ]; shellHook = '' export NIX_PATH=${pkgs.path} diff --git a/flake.lock b/flake.lock index efd8950..5b8eeaa 100644 --- a/flake.lock +++ b/flake.lock @@ -85,16 +85,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1659052185, - "narHash": "sha256-TUbwbzCbprtWB9EtXPM52cWuKETuCV3H+cMXjLRbwTw=", + "lastModified": 1699548876, + "narHash": "sha256-i2Zi1lzKKwDz9tDiZr5nX11irKuwFme0noXb0FF+MWE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "9370544d849be8a07193e7611d02e6f6f1b10768", + "rev": "c41b26e688ff139e009e756a9b88c2760dfa8350", "type": "github" }, "original": { "owner": "NixOS", - "ref": "9370544d849b", + "ref": "c41b26e688ff", "repo": "nixpkgs", "type": "github" } diff --git a/flake.nix b/flake.nix index 9c95c81..37a19d4 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,7 @@ description = "Consul Deploy"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/9370544d849b"; + nixpkgs.url = "github:NixOS/nixpkgs/c41b26e688ff"; # terraform module terranix = { url = "github:terranix/terranix"; diff --git a/generators/minimal-default.nix b/generators/minimal-default.nix index 31d46bd..769aa66 100644 --- a/generators/minimal-default.nix +++ b/generators/minimal-default.nix @@ -4,8 +4,10 @@ let username = "main"; password = "alface"; in { - services.openssh.enable = true; - services.openssh.passwordAuthentication = false; + services.openssh = { + enable = true; + settings = { PasswordAuthentication = true; }; + }; fileSystems."/" = { device = "/dev/disk/by-label/nixos"; fsType = "ext4";