From c636397e6062b4d9471a4b5f4e9cf7d34a257131 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sat, 2 Sep 2023 22:05:18 +0530 Subject: flake: init --- hosts/kay/configuration.nix | 10 ++++++++++ hosts/kay/hardware-configuration.nix | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 hosts/kay/configuration.nix create mode 100644 hosts/kay/hardware-configuration.nix (limited to 'hosts/kay') 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"; + }; + }; +} -- cgit v1.2.3