akamanto: 9 out of 10 dieticians strongly discourage doing this to your system
CI / nixos-x86_64-linux (push) Successful in -1m10s Details
CI / nixos-aarch64-linux (push) Successful in 1m25s Details

the remmaining one fits your system closure on an sdcard in an SBC that came with the device, with room to spare
Robert Gerus 2023-10-31 22:38:43 +01:00
parent c5b72bfc63
commit ae1f4a0881
1 changed files with 13 additions and 1 deletions

View File

@ -107,6 +107,7 @@ in {
"$y$j9T$.1ogQkT5J95hEFkgp9esc0$rneVdOpPwPDsgAckJsXJmzgVEENPkFWHWKgca2mVz6D";
users.mutableUsers = false;
users.users.ar = { extraGroups = [ "video" "dialout" "plugdev" ]; };
# users.defaultUserShell = lib.mkForce pkgs.bash;
documentation = {
enable = lib.mkForce false;
@ -118,11 +119,22 @@ in {
services.openssh.settings.PasswordAuthentication = lib.mkForce true;
services.openssh.settings.PermitRootLogin = lib.mkForce "yes";
environment.systemPackages = with pkgs; [ alsa-utils wlr-randr ];
hardware.opengl.enable = true;
# diet
boot.binfmt.emulatedSystems = lib.mkForce [ ];
environment.systemPackages = with pkgs; lib.mkForce [ coreutils zsh bashInteractive nix systemd gnugrep
(glibcLocales.override {
allLocales = false;
locales = [ "en_US.UTF-8/UTF-8" "en_CA.UTF-8/UTF-8" "en_DK.UTF-8/UTF-8" ];
})
];
programs.nix-index.enable = lib.mkForce false;
services.journald.extraConfig = ''
Storage=volatile
'';
systemd.coredump.enable = false;
#environment.systemPackages = with pkgs; [ alsa-utils ];
services.lvm.enable = lib.mkForce false;
# strictly printer stuff below
## uncomment if you need manual config changes