mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 00:57:22 +01:00
36 lines
625 B
Nix
36 lines
625 B
Nix
{ config, ... }:
|
|
{
|
|
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
boot = {
|
|
loader.systemd-boot.enable = true;
|
|
loader.efi.canTouchEfiVariables = true;
|
|
};
|
|
|
|
networking = {
|
|
inherit (config.repo.secrets.local) hostId;
|
|
hostName = "winters";
|
|
firewall.enable = true;
|
|
enableIPv6 = false;
|
|
firewall.allowedTCPPorts = [ 80 443 ];
|
|
};
|
|
|
|
|
|
swarselprofiles = {
|
|
server.local = true;
|
|
};
|
|
|
|
swarselsystems = {
|
|
info = "ASRock J4105-ITX, 32GB RAM";
|
|
isImpermanence = false;
|
|
isSecureBoot = true;
|
|
isCrypted = true;
|
|
isBtrfs = false;
|
|
isLinux = true;
|
|
isNixos = true;
|
|
};
|
|
|
|
}
|