summaryrefslogtreecommitdiff
path: root/hosts/kay
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/kay')
-rw-r--r--hosts/kay/configuration.nix10
-rw-r--r--hosts/kay/hardware-configuration.nix32
2 files changed, 42 insertions, 0 deletions
diff --git a/hosts/kay/configuration.nix b/hosts/kay/configuration.nix
new file mode 100644
index 0000000..8ad42c8
--- /dev/null
+++ b/hosts/kay/configuration.nix
@@ -0,0 +1,10 @@
+{ pkgs, ... }:
+
+{
+ imports = [
+ ./hardware-configuration.nix
+ ../common.nix
+ ];
+
+ environment.systemPackages = with pkgs; [ tmux ];
+}
diff --git a/hosts/kay/hardware-configuration.nix b/hosts/kay/hardware-configuration.nix
new file mode 100644
index 0000000..1583736
--- /dev/null
+++ b/hosts/kay/hardware-configuration.nix
@@ -0,0 +1,32 @@
+{ modulesPath, ... }:
+
+{
+ imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
+
+ boot = {
+ kernelModules = [ "kvm-intel" ];
+ initrd.availableKernelModules = [
+ "xhci_pci"
+ "ehci_pci"
+ "ahci"
+ "usb_storage"
+ "usbhid"
+ "sd_mod"
+ ];
+ };
+
+ fileSystems = {
+ "/" = {
+ device = "/dev/disk/by-uuid/2eeacf49-c51e-4229-bd4a-ae437014725f";
+ fsType = "ext4";
+ };
+ "/boot" = {
+ device = "/dev/disk/by-uuid/A902-90BB";
+ fsType = "vfat";
+ };
+ "/hdd" = {
+ device = "/dev/disk/by-uuid/c941edb4-e393-4254-bbef-d1b3728290e9";
+ fsType = "ext4";
+ };
+ };
+}