Updated nixpkgs and added Docker

This commit is contained in:
Andrea Ciceri 2021-10-24 23:20:20 +02:00
parent 8f2faaead9
commit 9d9c65a835
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654
7 changed files with 15 additions and 11 deletions

View file

@ -1,11 +1,11 @@
{ config, lib, pkgs, profiles, ... }:
{
imports = with profiles; [ mount-nas sshd dbus avahi printing xdg ];
imports = with profiles; [ mount-nas sshd dbus avahi printing xdg docker ];
boot = {
initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
initrd.kernelModules = [];
initrd.kernelModules = [ ];
kernelModules = [ "kvm-intel" ];
extraModulePackages = with config.boot.kernelPackages; [
v4l2loopback
@ -41,7 +41,7 @@
};
swapDevices =
[ { device = "/dev/disk/by-label/swap"; } ];
[{ device = "/dev/disk/by-label/swap"; }];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}