This commit is contained in:
arouzing 2023-02-01 03:11:48 -05:00
parent 076814d4b9
commit 3c4acde325
8 changed files with 104 additions and 21 deletions

View file

@ -1,12 +1,13 @@
{config, lib, pkgs, modulesPath, ... }:
{
system.stateVersion = "22.11";
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ahci" "usbhid" "sd_mod" "sdhci_pci" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-intel" "wl" ];
# boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
# boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ahci" "usbhid" "sd_mod" "sdhci_pci" ];
# boot.initrd.kernelModules = [ "dm-snapshot" ];
# boot.kernelModules = [ "kvm-intel" "wl" ];
# boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
# hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -1,4 +1,4 @@
_: { config, pkgs, lib, ... }:
{ config, pkgs, lib, ... }:
{
virtualisation.docker = {
enable = true;

View file

@ -1,7 +1,7 @@
_: { config, pkgs, lib, ... }:
{
services.openssh = lib.mkDefault{
services.openssh = {
enable = true;
openFirewall = true;
startWhenNeeded = true;

View file

@ -1,4 +1,4 @@
_: { config, pkgs, lib, ... }:
{ config, pkgs, lib, ... }:
{
users.users.arouzing = {
isNormalUser = true;