Define boot options for more machines
This commit is contained in:
parent
11a93bb2c3
commit
d4f132616e
|
@ -24,9 +24,7 @@
|
|||
};
|
||||
swraid = {
|
||||
enable = true;
|
||||
mdadmConf = ''
|
||||
MAILADDR jimbo@jimbosfiles.com
|
||||
'';
|
||||
mdadmConf = "MAILADDR jimbo@jimbosfiles.com";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
{ ... }:
|
||||
{
|
||||
boot.initrd = {
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernel.sysctl."vm.max_map_count" = 2147483642;
|
||||
initrd = {
|
||||
systemd.enable = true;
|
||||
luks.devices = {
|
||||
crypt-mmc = {
|
||||
|
@ -10,4 +13,5 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
7
hosts/redmond/system/boot/default.nix
Normal file
7
hosts/redmond/system/boot/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernel.sysctl."vm.max_map_count" = 2147483642;
|
||||
};
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
{
|
||||
imports = [
|
||||
./hardware
|
||||
./boot
|
||||
|
||||
# Apps and programs
|
||||
../../../modules/system
|
||||
|
|
7
hosts/shuttleworth/system/boot/default.nix
Normal file
7
hosts/shuttleworth/system/boot/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernel.sysctl."vm.max_map_count" = 2147483642;
|
||||
};
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
{
|
||||
imports = [
|
||||
./hardware
|
||||
./boot
|
||||
|
||||
# Apps and programs
|
||||
../../../modules/system
|
||||
|
|
Loading…
Reference in a new issue