1
0
Fork 0
forked from lukas/nixos-config
nixos-config/hosts/blunix/configuration.nix

51 lines
1.1 KiB
Nix
Executable file

{ modulesPath, config, pkgs, lib, inputs, ... } @ args:
{
imports =
[
# ./hardware-configuration.nix
../user/drone.nix
../globalServices/default.nix
./localServices/default.nix
./disko.nix
(modulesPath + "/installer/scan/not-detected.nix")
(modulesPath + "/profiles/qemu-guest.nix")
];
boot.loader.grub = {
efiSupport = true;
efiInstallAsRemovable = true;
};
networking = {
hostName = "blunix";
nameservers = [ "1.1.1.1" "8.8.8.8" ];
};
networking.useDHCP = false;
networking.interfaces.enp1s0.useDHCP = true;
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
environment.enableAllTerminfo = true;
################################################################################################################################################################
time.timeZone = "Europe/Berlin";
console.keyMap = "de";
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nixpkgs.config.allowUnfree = true;
nix.settings.trusted-users = [ "root" "builder" "drone" "@wheel" ];
users.mutableUsers = true;
system.stateVersion = "24.05";
}