mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 15:59:06 +02:00
combine
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
{ inputs, config, ... }: {
|
||||
flake.nixosModules.computer-nadine = { ... }: {
|
||||
flake.nixosConfigurations."computer-nadine" = inputs.self.lib.mkHost {
|
||||
system = "x86_64-linux";
|
||||
host = "computer-nadine";
|
||||
};
|
||||
|
||||
flake.nixosModules.computer-nadine = { system, ... }: {
|
||||
imports = with inputs.self.nixosModules; [
|
||||
apps-sys-chrome
|
||||
apps-sys-vesktop
|
||||
@@ -23,5 +28,10 @@
|
||||
kde-usr-plasma-nadine
|
||||
security-usr-sopsnix
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
||||
boot.kernelParams = [ "quiet" "splash" "boot.shell_on_fail" "loglevel=3" "rd.systemd.show_status=false" "rd.udev.log_level=3" "udev.log_priority=3" ];
|
||||
nixpkgs.hostPlatform = system;
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
};
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.computer-nadine = { system, ... }: {
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
||||
boot.kernelParams = [ "quiet" "splash" "boot.shell_on_fail" "loglevel=3" "rd.systemd.show_status=false" "rd.udev.log_level=3" "udev.log_priority=3" ];
|
||||
nixpkgs.hostPlatform = system;
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
};
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{ inputs, ... }: {
|
||||
flake.nixosConfigurations."computer-nadine" = inputs.self.lib.mkHost {
|
||||
system = "x86_64-linux";
|
||||
host = "computer-nadine";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user