mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
48 lines
790 B
Nix
48 lines
790 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./../../modules/core/default.server.nix
|
|
# ./../../modules/services/violet.nix
|
|
];
|
|
|
|
networking = {
|
|
hostName = "daisy";
|
|
networkmanager.enable = true;
|
|
firewall = {
|
|
allowedTCPPorts = [
|
|
# 80
|
|
# 443
|
|
# 25565
|
|
9123
|
|
];
|
|
};
|
|
};
|
|
|
|
time.timeZone = "Europe/Amsterdam";
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
pkgs.kitty.terminfo
|
|
];
|
|
|
|
boot = {
|
|
loader.grub = {
|
|
enable = true;
|
|
device = "/dev/sdb";
|
|
useOSProber = true;
|
|
};
|
|
kernelModules = [ "acpi_call" ];
|
|
extraModulePackages =
|
|
with config.boot.kernelPackages;
|
|
[
|
|
acpi_call
|
|
cpupower
|
|
]
|
|
++ [ pkgs.cpupower-gui ];
|
|
};
|
|
}
|