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, ... }: {
|
{ inputs, config, ... }: {
|
||||||
flake.nixosModules.computer-mo = { ... }: {
|
flake.nixosConfigurations."computer-mo" = inputs.self.lib.mkHost {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
host = "computer-mo";
|
||||||
|
};
|
||||||
|
|
||||||
|
flake.nixosModules.computer-mo = { system, ... }: {
|
||||||
imports = with inputs.self.nixosModules; [
|
imports = with inputs.self.nixosModules; [
|
||||||
apps-sys-brave
|
apps-sys-brave
|
||||||
apps-sys-onepassword
|
apps-sys-onepassword
|
||||||
@@ -30,5 +35,10 @@
|
|||||||
gnome-usr-gnome-mo
|
gnome-usr-gnome-mo
|
||||||
security-usr-sopsnix
|
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-mo = { 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-mo" = inputs.self.lib.mkHost {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
host = "computer-mo";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user