Add agares configuration
This commit is contained in:
parent
98eb4e7327
commit
a24fb237a9
3 changed files with 81 additions and 0 deletions
39
nixos/agares/configuration.nix
Normal file
39
nixos/agares/configuration.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
dadada = {
|
||||
admin.enable = true;
|
||||
networking.localResolver.enable = true;
|
||||
};
|
||||
|
||||
networking.hostName = "agares";
|
||||
networking.domain = "dadada.li";
|
||||
|
||||
# Use the GRUB 2 boot loader.
|
||||
boot.loader.grub.enable = true;
|
||||
boot.loader.grub.version = 2;
|
||||
boot.loader.grub.device = "/dev/sda";
|
||||
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
console = {
|
||||
font = "Lat2-Terminus16";
|
||||
keyMap = "us";
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowPing = true;
|
||||
allowedTCPPorts = [
|
||||
22 # SSH
|
||||
];
|
||||
};
|
||||
|
||||
virtualisation.libvirtd.enable = true;
|
||||
|
||||
environment.systemPackages = [ pkgs.curl ];
|
||||
|
||||
system.stateVersion = "22.05";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue