This commit is contained in:
jopejoe1 2023-05-19 12:08:06 +02:00
parent c682dfaa71
commit fd09df161e
12 changed files with 33 additions and 1346 deletions

View file

@ -1,27 +0,0 @@
{ pkgs, config, ... }:
{
imports = [ ./hardware.nix ];
networking.networkmanager.enable = true;
networking.hostName = "yokai";
time.timeZone = "Europe/Berlin";
hardware.opengl.enable = true;
programs = {
dconf.enable = true;
droidcam.enable = true;
xwayland.enable = true;
};
boot = {
# Boot loader configutation
loader = {
# Use the extlinux boot loader. (NixOS wants to enable GRUB by default)
grub.enable = false;
# Enables the generation of /boot/extlinux/extlinux.conf
generic-extlinux-compatible.enable = true;
systemd-boot.configurationLimit = 10;
};
}

View file

@ -1,36 +0,0 @@
{ config, pkgs, modulesPath, ... }:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot = {
kernelPackages = pkgs.linuxPackages_zen;
initrd = {
availableKernelModules = [ "usbhid" ];
};
extraModulePackages = [ ];
};
fileSystems = {
"/" = {
device = "/dev/disk/by-label/NIXROOT";
fsType = "ext4";
};
"/boot" = {
device = "/dev/disk/by-label/NIXBOOT";
fsType = "vfat";
};
};
swapDevices = [ {
device = "/var/lib/swapfile";
size = (4*1024)+(2*1024);
} ];
hardware.enableRedistributableFirmware = true;
}