kiosk/base.nix

51 lines
1.1 KiB
Nix
Raw Normal View History

{ pkgs, lib, ... }:
2024-11-15 18:26:11 -05:00
{
system.stateVersion = "24.11";
# No need to change users at runtime
users.mutableUsers = false;
# I DON'T WANT IT
# STOP TRYING TO GIVE IT TO ME
boot.supportedFilesystems.zfs = lib.mkForce false;
boot.tmp.cleanOnBoot = true;
boot.loader.generic-extlinux-compatible.enable = false;
2024-11-15 18:39:35 -05:00
2024-11-15 18:26:11 -05:00
# Set root password to a secure password
users.users.root.password = "asecurepassword";
# Add wifi credentials
networking.wireless = {
enable = true;
networks."PAL3.0".auth = ''
eap=PEAP
key_mgmt=WPA-EAP
pairwise=CCMP
auth_alg=OPEN
proto=RSN
identity="USERNAME@purdue.edu"
password="PASSWORD"
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
'';
};
networking.hostName = "kiosk";
time.timeZone = "America/New_York";
raspberry-pi-nix.board = "bcm2711";
environment.systemPackages = with pkgs; [
vim
git
];
nix.settings = {
substituters = [ "https://hydra.inx.moe?priority=10" ];
trusted-public-keys = [ "infinidoge-1:uw2A6JHHdGJ9GPk0NEDnrdfVkPp0CUY3zIvwVgNlrSk=" ];
};
2024-11-15 18:26:11 -05:00
}