fix disko arguments, intial changes kubemaster
This commit is contained in:
parent
040593e28f
commit
e433d2ec3f
@ -13,7 +13,7 @@
|
|||||||
content = {
|
content = {
|
||||||
type = "filesystem";
|
type = "filesystem";
|
||||||
format = "vfat";
|
format = "vfat";
|
||||||
extraArgs = [ "-n NIXBOOT" ];
|
extraArgs = [ "-n" "NIXBOOT" ];
|
||||||
mountpoint = "/boot";
|
mountpoint = "/boot";
|
||||||
mountOptions = [
|
mountOptions = [
|
||||||
"defaults"
|
"defaults"
|
||||||
@ -24,7 +24,7 @@
|
|||||||
size = "100%";
|
size = "100%";
|
||||||
content = {
|
content = {
|
||||||
type = "btrfs";
|
type = "btrfs";
|
||||||
extraArgs = [ "-f -L NIXROOT" ];
|
extraArgs = [ "-f" "-L" "NIXROOT" ];
|
||||||
subvolumes = {
|
subvolumes = {
|
||||||
"@" = {
|
"@" = {
|
||||||
mountpoint = "/";
|
mountpoint = "/";
|
||||||
|
@ -14,10 +14,10 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[ (modulesPath + "/profiles/qemu-guest.nix")
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
|
||||||
boot.initrd.kernelModules = [ "vfio_pci" "vfio" "vfio_iommu_type1" ];
|
boot.initrd.kernelModules = [ "vfio_pci" "vfio" "vfio_iommu_type1" ];
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
@ -104,4 +104,5 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
}
|
}
|
||||||
|
19
modules/services/kubemaster/default.nix
Normal file
19
modules/services/kubemaster/default.nix
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#
|
||||||
|
# Services
|
||||||
|
#
|
||||||
|
# flake.nix
|
||||||
|
# ├─ ./hosts
|
||||||
|
# │ └─ home.nix
|
||||||
|
# └─ ./modules
|
||||||
|
# └─ ./services
|
||||||
|
# └─ default.nix *
|
||||||
|
# └─ ...
|
||||||
|
#
|
||||||
|
|
||||||
|
[
|
||||||
|
# ./microvm.nix
|
||||||
|
# ./hydra.nix
|
||||||
|
]
|
||||||
|
|
||||||
|
# picom, polybar and sxhkd are pulled from desktop module
|
||||||
|
# redshift temporarely disables
|
Loading…
Reference in New Issue
Block a user