Refactored repo layout
This commit is contained in:
12
hosts/Heracles/configuration.nix
Normal file
12
hosts/Heracles/configuration.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
../../modules/common.nix
|
||||
];
|
||||
|
||||
networking.hostName = "Heracles";
|
||||
services.power-profiles-daemon.enable = true;
|
||||
}
|
||||
12
hosts/Prometheus/configuration.nix
Normal file
12
hosts/Prometheus/configuration.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
../../modules/common.nix
|
||||
../../modules/nvidia.nix
|
||||
];
|
||||
|
||||
networking.hostName = "Prometheus";
|
||||
}
|
||||
41
hosts/Prometheus/hardware-configuration.nix
Normal file
41
hosts/Prometheus/hardware-configuration.nix
Normal file
@@ -0,0 +1,41 @@
|
||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/22fd3daf-8df7-4f72-a259-f064e4779ee5";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/home" =
|
||||
{ device = "/dev/disk/by-uuid/fbd8d4f2-03e9-4e9c-a179-e5ab7586e012";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/home/typo/Extended" =
|
||||
{ device = "/dev/disk/by-uuid/a4595c60-5c61-41cd-ac26-9a9316fe688a";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/C490-3554";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
Reference in New Issue
Block a user