1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00
Files
niveum/systems/wilde/configuration.nix

58 lines
1.2 KiB
Nix
Raw Normal View History

2019-06-17 17:03:57 +02:00
{ config, pkgs, lib, ... }:
2019-06-15 15:04:13 +02:00
{
2019-06-15 17:50:02 +02:00
imports = [
2019-10-26 13:43:30 +02:00
<niveum/configs/default.nix>
2019-06-15 17:50:02 +02:00
./hardware-configuration.nix
<stockholm/krebs/2configs/hw/x220.nix>
2020-01-24 08:59:40 +01:00
{
2020-06-10 17:37:25 +02:00
boot.extraModulePackages = with config.boot.kernelPackages; [
tp_smapi
acpi_call
];
2020-01-24 08:59:40 +01:00
boot.kernelModules = [ "tp_smapi" "acpi_call" ];
environment.systemPackages = [ pkgs.tpacpi-bat ];
2020-09-08 21:29:21 +02:00
services.tlp = {
enable = true;
2020-10-24 11:49:34 +02:00
settings = {
START_CHARGE_THRESH_BAT0 = 80;
STOP_CHARGE_THRESH_BAT0 = 95;
};
2020-09-08 21:29:21 +02:00
};
2020-01-24 08:59:40 +01:00
}
2019-06-15 17:50:02 +02:00
];
2019-06-15 15:04:13 +02:00
niveum = {
batteryBlocks.default = "BAT0";
networkInterfaces.wireless = "wlp3s0";
promptColours.success = "cyan";
};
2019-06-17 17:03:57 +02:00
virtualisation.docker.enable = lib.mkForce false;
environment.systemPackages = [ pkgs.unstable.minecraft ];
2020-01-24 08:59:40 +01:00
boot.loader.systemd-boot = {
enable = true;
configurationLimit = 5;
consoleMode = "max";
};
fileSystems."/mnt/sd-card" = {
device = "/dev/disk/by-id/mmc-SD32G_0xda0aa352-part1";
fsType = "vfat";
};
2019-06-15 15:04:13 +02:00
boot.loader.efi.canTouchEfiVariables = true;
2019-06-15 17:50:02 +02:00
networking.hostName = "wilde";
2019-06-15 15:04:13 +02:00
2020-01-24 08:57:39 +01:00
networking.retiolum = {
ipv4 = "10.243.2.4";
ipv6 = "42:0:3c46:907c:1fb8:b74f:c59b:1ee3";
};
2019-11-05 21:58:49 +01:00
system.stateVersion = "19.03";
2019-06-15 15:04:13 +02:00
}