init: macmini nixos configuration.
This commit is contained in:
16
modules/system/boot.nix
Normal file
16
modules/system/boot.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
boot.loader = {
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
efiSysMountPoint = "/boot";
|
||||
};
|
||||
grub = {
|
||||
enable = true;
|
||||
device = "nodev";
|
||||
|
||||
efiSupport = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
10
modules/system/networking.nix
Normal file
10
modules/system/networking.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{ ... }:
|
||||
{
|
||||
services.openssh.enable = true;
|
||||
|
||||
networking = {
|
||||
hostName = "macmini";
|
||||
firewall.enable = false;
|
||||
networkmanager.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user