task sync changes to all <host>/default.nix
This commit is contained in:
parent
4b20ed8394
commit
4364fb17f1
17 changed files with 81 additions and 195 deletions
|
|
@ -1,32 +1,23 @@
|
|||
{
|
||||
inputs,
|
||||
outputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
{ inputs, outputs, lib, config, pkgs, ... }: {
|
||||
imports = [
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
../templates/server.nix
|
||||
./hardware-configuration.nix
|
||||
./network.nix
|
||||
../server
|
||||
./podman.nix
|
||||
# ../server/searxng.nix
|
||||
];
|
||||
|
||||
networking.hostName = "w1";
|
||||
variables.address = "100.72.16.240";
|
||||
boot = {
|
||||
initrd = {
|
||||
availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi"];
|
||||
kernelModules = ["nvme"];
|
||||
};
|
||||
loader = {
|
||||
grub = {
|
||||
enable = true;
|
||||
device = "/dev/sda";
|
||||
efiSupport = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
# boot = {
|
||||
# initrd = {
|
||||
# availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi"];
|
||||
# kernelModules = ["nvme"];
|
||||
# };
|
||||
# loader = {
|
||||
# grub = {
|
||||
# enable = true;
|
||||
# device = "/dev/sda";
|
||||
# efiSupport = false;
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue