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

47 lines
1.0 KiB
Nix
Raw Normal View History

2019-06-17 17:03:57 +02:00
{ config, pkgs, lib, ... }:
2020-10-28 20:25:26 +01:00
let
2021-05-04 17:30:16 +02:00
nixpkgs-unstable = import <nixpkgs-unstable> { config.allowUnfree = true; };
2021-12-29 15:15:02 +01:00
inherit (import ../../lib) retiolumAddresses;
2020-10-28 20:25:26 +01:00
in
2019-06-15 15:04:13 +02:00
{
2019-06-15 17:50:02 +02:00
imports = [
2021-12-29 15:15:02 +01:00
../../configs/default.nix
../../configs/battery.nix
../../configs/networkmanager.nix
2019-06-15 17:50:02 +02:00
./hardware-configuration.nix
2021-06-01 19:14:00 +02:00
# <stockholm/krebs/2configs/hw/x220.nix>
2019-06-15 17:50:02 +02:00
];
2019-06-15 15:04:13 +02:00
niveum = {
batteryName = "BAT0";
wirelessInterface = "wlp3s0";
promptColours.success = "cyan";
};
2020-11-01 15:12:22 +01:00
nix.buildCores = 1;
nix.maxJobs = 2;
2021-01-15 14:09:06 +01:00
environment.systemPackages = [ nixpkgs-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;
2021-09-19 09:41:51 +02:00
networking.hostName = "kabsa";
2019-06-15 15:04:13 +02:00
networking.wireless.interfaces = [ "wlp3s0" ];
networking.retiolum = retiolumAddresses.kabsa;
2020-01-24 08:57:39 +01:00
2019-11-05 21:58:49 +01:00
system.stateVersion = "19.03";
2019-06-15 15:04:13 +02:00
}