melodypond/citrus.nix

36 lines
639 B
Nix

{pkgs, ... }:
{
system.stateVersion = "23.05";
nix.settings.experimental-features = [ "nix-command" "flakes" ];
hardware.opengl.enable = true;
environment.systemPackages = with pkgs; [
xorg.xauth xorg.xinit
];
users = {
mutableUsers = false;
users = {
root.openssh.authorizedKeys.keyFiles = [
./authorized_keys
];
appuser = {
isNormalUser = true;
group = "appuser";
password = "";
packages = with pkgs; [
graphfix
];
};
};
};
services.openssh = {
enable = true;
settings.PasswordAuthentication = false;
};
}