26 lines
670 B
Nix
26 lines
670 B
Nix
{ config
|
|
, pkgs
|
|
, ...
|
|
}: {
|
|
imports = [
|
|
<nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix>
|
|
|
|
# Provide an initial copy of the NixOS channel so that the user
|
|
# doesn't need to run "nix-channel --update" first.
|
|
# <nixpkgs/nixos/modules/installer/cd-dvd/channel.nix>
|
|
];
|
|
|
|
environment.systemPackages = [
|
|
pkgs.jq
|
|
pkgs.yq
|
|
pkgs.unixtools.top
|
|
pkgs.vim
|
|
pkgs.git
|
|
pkgs.dnsutils
|
|
];
|
|
|
|
systemd.services.sshd.wantedBy = pkgs.lib.mkForce [ "multi-user.target" ];
|
|
users.users.root.openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMZS9J1ydflZ4iJdJgO8+vnN8nNSlEwyn9tbWU9OcysW truxnell@home"
|
|
];
|
|
}
|