1
0
mirror of https://github.com/kmein/niveum synced 2026-03-17 02:31:09 +01:00

chore: RIP homeros

This commit is contained in:
2020-11-09 09:39:37 +01:00
parent 43fc9ebba2
commit db61bc4b91
8 changed files with 2 additions and 91 deletions

View File

@@ -1,40 +0,0 @@
{ config, pkgs, lib, ... }: {
imports = [
<niveum/configs/default.nix>
<niveum/configs/kdeconnect.nix>
./hardware-configuration.nix
];
environment.systemPackages = [ pkgs.zeroad pkgs.minecraft ];
niveum = {
batteryName = "BAT1";
wirelessInterface = "wlp3s0";
promptColours.success = "green";
};
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";
}

View File

@@ -1,34 +0,0 @@
{ config, lib, pkgs, ... }: {
imports = [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> ];
boot.initrd.availableKernelModules = [
"xhci_pci"
"ehci_pci"
"ahci"
"usbhid"
"usb_storage"
"sd_mod"
"sr_mod"
"rtsx_usb_sdmmc"
];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/83544ad3-1d23-4c2d-82bc-fafef13a996f";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/8F9E-7556";
fsType = "vfat";
};
swapDevices =
[{ device = "/dev/disk/by-uuid/5ea3a65e-8fdb-45fb-ad32-3759d991a83a"; }];
# services.xserver.videoDrivers = [ "nvidia" ];
nix.maxJobs = lib.mkDefault 4;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}