diff options
author | Profpatsch <mail@profpatsch.de> | 2018-05-23 15:24:05 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2018-05-23 15:24:05 +0200 |
commit | 7f09f19953c430f2e98091438cdc33bc67679674 (patch) | |
tree | 99274fb1e29512c10523bbef831b601c8a95d6e6 /machines/profpatsch/mikiya.nix | |
parent | ad57deb1314d71a08dbdea487de488583220758c (diff) |
machines/mikiya: add hardware-config.nix
Diffstat (limited to 'machines/profpatsch/mikiya.nix')
-rw-r--r-- | machines/profpatsch/mikiya.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/machines/profpatsch/mikiya.nix b/machines/profpatsch/mikiya.nix index d0a4c267..a6229f02 100644 --- a/machines/profpatsch/mikiya.nix +++ b/machines/profpatsch/mikiya.nix @@ -27,19 +27,24 @@ in { config = { - vuizvui.user.profpatsch.server.sshPort = 22; boot = { loader.grub.device = systemDevice; + kernelModules = [ "kvm-intel" ]; + initrd = { network = { enable = true; ssh.enable = true; ssh.authorizedKeys = myLib.authKeys; + availableKernelModules = [ + "ahci" "xhci_pci" "usb_storage" "usbhid" "sd_mod" + ]; }; # decrypt root device luks.devices = [systemPartition]; }; + }; fileSystems."/" = { @@ -48,6 +53,10 @@ in { options = [ "ssd" ]; }; + nix.maxJobs = 4; + + vuizvui.user.profpatsch.server.sshPort = 22; + /* # decrypt RAID with key from root environment.etc.crypttab.text = |