m 3 server-config: init
This commit is contained in:
parent
140cd53473
commit
3756ac532c
27
1systems/fileleech.nix
Normal file
27
1systems/fileleech.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
../.
|
||||
# configure your hw:
|
||||
# ../2configs/hw/CAC.nix
|
||||
# ../2configs/fs/CAC-CentOS-7-64bit.nix
|
||||
../2configs/save-diskspace.nix
|
||||
../2configs/tinc/retiolum.nix
|
||||
|
||||
];
|
||||
krebs = {
|
||||
enable = true;
|
||||
build.host = config.krebs.hosts.fileleech;
|
||||
};
|
||||
|
||||
boot.loader.grub.enable = true;
|
||||
boot.loader.grub.version = 2;
|
||||
boot.loader.grub.device = "/dev/disk/by-id/ata-INTEL_SSDSA2M080G2GC_CVPO003402PB080BGN";
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-id/ata-INTEL_SSDSA2M080G2GC_CVPO003402PB080BGN";
|
||||
};
|
||||
|
||||
boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ahci" "aacraid" "usb_storage" "usbhid" ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
}
|
|
@ -8,6 +8,7 @@ _:
|
|||
./forward-journal.nix
|
||||
./opentracker.nix
|
||||
./ps3netsrv.nix
|
||||
./server-config.nix
|
||||
./snapraid.nix
|
||||
./taskserver.nix
|
||||
./udpt.nix
|
||||
|
|
10
3modules/server-config.nix
Normal file
10
3modules/server-config.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{config, lib, pkgs, ... }:
|
||||
|
||||
with import <stockholm/lib>;
|
||||
{
|
||||
options.makefu.server.primary-itf = lib.mkOption {
|
||||
type = types.str;
|
||||
description = "Primary interface of the server";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in a new issue