melodypond/configuration.nix

40 lines
843 B
Nix
Raw Normal View History

2023-07-25 07:32:19 +00:00
{pkgs, ... }:
2023-05-07 02:04:36 +00:00
{
2023-07-27 19:24:32 +00:00
boot.loader.raspberryPi.version = 3;
2023-07-25 07:32:19 +00:00
boot.initrd.kernelModules = [ "vc4" "bcm2835_dma" "i2c_bcm2835" ];
networking.hostName = "orange";
nixpkgs.hostPlatform.system = "aarch64-linux";
system.stateVersion = "23.05";
2023-07-27 19:24:32 +00:00
nix.settings.experimental-features = [ "nix-command" "flakes" ];
hardware.opengl.enable = true;
2023-07-25 07:32:19 +00:00
2023-07-27 19:24:32 +00:00
environment.systemPackages = with pkgs; [
graphfix xorg.xauth xorg.xinit
];
2023-08-03 18:11:59 +00:00
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;
2023-05-07 02:04:36 +00:00
};
}