1
0
Fork 0
nix-config/systems/aarch64-linux/aquarius/default.nix

77 lines
1.4 KiB
Nix

{
lib,
pkgs,
namespace,
modulesPath,
...
}:
with lib.${namespace};
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
(modulesPath + "/installer/sd-card/sd-image-aarch64.nix")
./networking.nix
];
# Use the extlinux boot loader. (NixOS wants to enable GRUB by default)
boot.loader = {
grub.enable = false;
generic-extlinux-compatible.enable = true;
};
nix.settings = {
trusted-users = [ "philipp" ];
experimental-features = [
"nix-command"
"flakes"
];
};
# Disable detailed ddocumentation
documentation.nixos.enable = false;
documentation.man.generateCaches = false;
# Set your time zone.
time.timeZone = "Europe/Berlin";
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
users.users.philipp = {
isNormalUser = true;
description = "Philipp Böhm";
extraGroups = [
"wheel"
];
};
snowfallorg.users.philipp = {
create = true;
admin = true;
home = {
enable = true;
};
};
services.openssh.settings.PasswordAuthentication = false;
services.openssh.settings.PermitRootLogin = "no";
services.cron = enabled;
awesome-flake = {
services = {
ssh = enabled;
technitium-dns-server = enabled;
};
system.sops = enabled;
cli.neovim = enabled;
};
environment.systemPackages = with pkgs; [
git
];
system.stateVersion = "24.11";
}