1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 18:21:07 +01:00
Files
niveum/systems/homeros/configuration.nix

42 lines
982 B
Nix

{ config, pkgs, lib, ... }: {
imports = [
<niveum/configs/default.nix>
<niveum/configs/kdeconnect.nix>
./hardware-configuration.nix
];
environment.systemPackages = [ pkgs.zeroad pkgs.minecraft ];
niveum = {
batteryBlocks.default = "BAT1";
networkInterfaces.wireless = "wlp3s0";
promptColours.success = "green";
fonts.size = lib.mkForce 11;
};
boot.loader.systemd-boot = {
enable = true;
configurationLimit = 5;
};
boot.loader.efi.canTouchEfiVariables = true;
# ref https://askubuntu.com/questions/575020/ubuntu-14-04-brightness-problem-lenovo-z500
boot.kernelParams = [ "acpi_backlight=vendor" ];
services.xserver.deviceSection = ''
Option "Backlight" "ideapad"
BusID "PCI:0:2:0"
'';
services.xserver.videoDrivers = [ "intel" ];
networking.retiolum = {
ipv4 = "10.243.2.1";
ipv6 = "42:0:3c46:53e:e63d:e62a:56ea:c705";
};
networking.hostName = "homeros";
system.stateVersion = "18.09";
}