kiosk/base.nix

59 lines
1.2 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;
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;
2024-12-07 18:31:08 -05:00
secretsFile = ./wireless.key;
2024-11-15 18:26:11 -05:00
networks."PAL3.0".auth = ''
eap=PEAP
key_mgmt=WPA-EAP
pairwise=CCMP
auth_alg=OPEN
proto=RSN
2024-12-07 18:31:08 -05:00
identity=ext:identity
password=ext:password
2024-11-15 18:26:11 -05:00
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
'';
};
networking.hostName = "kiosk";
time.timeZone = "America/New_York";
environment.systemPackages = with pkgs; [
vim
git
2024-12-08 01:17:54 -05:00
kitty.terminfo
];
2024-12-07 16:56:04 -05:00
environment.defaultPackages = lib.mkForce [ ];
documentation = {
enable = false;
nixos.enable = false;
man.enable = false;
info.enable = false;
doc.enable = false;
dev.enable = false;
};
nix.settings = {
substituters = [ "https://hydra.inx.moe?priority=10" ];
trusted-public-keys = [ "infinidoge-1:uw2A6JHHdGJ9GPk0NEDnrdfVkPp0CUY3zIvwVgNlrSk=" ];
};
2024-11-15 18:26:11 -05:00
}