2019-06-17 17:03:57 +02:00
|
|
|
{ config, pkgs, lib, ... }:
|
2020-10-28 20:25:26 +01:00
|
|
|
let
|
|
|
|
|
inherit (import <niveum/lib>) nixpkgs-unstable;
|
|
|
|
|
in
|
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>
|
2021-02-28 08:01:51 +01:00
|
|
|
<niveum/configs/battery.nix>
|
2019-06-15 17:50:02 +02:00
|
|
|
./hardware-configuration.nix
|
|
|
|
|
<stockholm/krebs/2configs/hw/x220.nix>
|
|
|
|
|
];
|
2019-06-15 15:04:13 +02:00
|
|
|
|
2019-06-17 19:11:31 +02:00
|
|
|
niveum = {
|
2020-10-30 11:05:26 +01:00
|
|
|
batteryName = "BAT0";
|
|
|
|
|
wirelessInterface = "wlp3s0";
|
2019-06-17 19:11:31 +02:00
|
|
|
promptColours.success = "cyan";
|
|
|
|
|
};
|
|
|
|
|
|
2020-11-01 15:12:22 +01:00
|
|
|
nix.buildCores = 1;
|
|
|
|
|
nix.maxJobs = 2;
|
2020-10-28 11:37:06 +01:00
|
|
|
|
2021-01-15 14:09:06 +01:00
|
|
|
environment.systemPackages = [ nixpkgs-unstable.minecraft ];
|
2020-01-24 08:59:40 +01:00
|
|
|
|
2019-09-24 16:46:43 +02:00
|
|
|
boot.loader.systemd-boot = {
|
|
|
|
|
enable = true;
|
|
|
|
|
configurationLimit = 5;
|
|
|
|
|
consoleMode = "max";
|
|
|
|
|
};
|
|
|
|
|
|
2019-10-02 21:29:40 +02:00
|
|
|
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
|
|
|
}
|