1
0
Fork 0
pvv-nixos-config/hosts/ildkule/configuration.nix

36 lines
918 B
Nix
Raw Normal View History

{ config, pkgs, values, ... }:
2022-12-17 21:51:43 +01:00
{
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
../../base.nix
2022-12-19 22:56:42 +01:00
../../misc/metrics-exporters.nix
2022-12-20 00:26:29 +01:00
./services/monitoring
2022-12-20 00:26:29 +01:00
./services/nginx
2022-12-17 21:51:43 +01:00
];
sops.defaultSopsFile = ../../secrets/ildkule/ildkule.yaml;
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
sops.age.keyFile = "/var/lib/sops-nix/key.txt";
sops.age.generateKey = true;
boot.loader.grub.device = "/dev/vda";
boot.tmp.cleanOnBoot = true;
zramSwap.enable = true;
2022-12-17 21:51:43 +01:00
networking.hostName = "ildkule"; # Define your hostname.
systemd.network.networks."30-all" = values.defaultNetworkConfig // {
matchConfig.Name = "en*";
DHCP = "yes";
gateway = [ ];
2022-12-17 21:51:43 +01:00
};
# List packages installed in system profile
environment.systemPackages = with pkgs; [
];
system.stateVersion = "23.11"; # Did you read the comment?
2022-12-17 21:51:43 +01:00
}