mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-06-07 13:29:22 +02:00
Test
This commit is contained in:
parent
c682dfaa71
commit
fd09df161e
12 changed files with 33 additions and 1346 deletions
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue