1
0
Fork 0
nix-config/systems/aarch64-linux/blarm/default.nix
Philipp 39fb8c64dc
add chatterino, plasma-config, kitty, runelite, eza
fix formatting, fix btrfs being enabled by default update flake
2025-02-08 23:19:59 +01:00

69 lines
1.7 KiB
Nix

{
modulesPath,
inputs,
...
}:
{
imports = with inputs.nixos-hardware.nixosModules; [
(modulesPath + "/installer/scan/not-detected.nix")
(modulesPath + "/installer/sd-card/sd-image-aarch64.nix")
];
# Use the extlinux boot loader. (NixOS wants to enable GRUB by default)
boot.loader.grub.enable = false;
# Enables the generation of /boot/extlinux/extlinux.conf
boot.loader.generic-extlinux-compatible.enable = true;
networking.hostName = "blarm"; # Define your hostname.
networking.networkmanager.enable = true;
networking.interfaces.end0.ipv4.addresses = [
{
address = "192.168.1.202";
prefixLength = 32;
}
];
networking.interfaces.end0.ipv6.addresses = [
{
address = "fd00:192:168:1::202";
prefixLength = 64;
}
{
address = "fd00:192:168:1::251";
prefixLength = 64;
}
];
networking.firewall.enable = false;
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
# 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"
"caddy"
];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDwUGxdwTgjc61VNh7QNfrrZwz5yHkJ6AGsRsgoDV3a4 philipp-mobile"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJqbT8AdnS++ZoL7TYg2skQUvfWx29Iq+mEYv2Ok2QHb arbeit"
];
};
# Enable the OpenSSH daemon.
services.openssh.enable = true;
awesome-flake.services.caddy.enable = true;
awesome-flake.container.technitium.enable = true;
system.stateVersion = "24.11";
}