NixOS-Config/nixos/hosts/EDI/configuration.nix

52 lines
1.2 KiB
Nix
Raw Normal View History

2023-10-23 17:15:54 +02:00
# This is your system's configuration file.
# Use this to configure your system environment (it replaces /etc/nixos/configuration.nix)
{
2024-12-23 19:22:28 +01:00
outputs,
2023-10-23 17:15:54 +02:00
lib,
pkgs,
...
}: {
# You can import other NixOS modules here
imports = [
# If you want to use modules your own flake exports (from modules/nixos):
# outputs.nixosModules.example
# Or modules from other flakes (such as nixos-hardware):
# inputs.hardware.nixosModules.common-cpu-amd
# inputs.hardware.nixosModules.common-ssd
# You can also split up your configuration and import pieces of it here:
# ./users.nix
2024-12-23 19:22:28 +01:00
outputs.nixosModules.vpn-ip
2024-12-23 19:22:28 +01:00
../../../disko/EDI
2023-10-23 17:15:54 +02:00
];
2024-02-06 13:31:04 +01:00
environment.systemPackages = with pkgs; [
];
2024-12-23 19:22:28 +01:00
services.vpn-ip = {
ip = "3";
};
2024-12-23 19:22:28 +01:00
networking.hostName = "EDI";
2024-12-22 22:48:13 +01:00
boot = {
# Lanzaboote currently replaces the systemd-boot module.
# This setting is usually set to true in configuration.nix
# generated at installation time. So we force it to false
# for now.
loader.systemd-boot.enable = lib.mkForce false;
initrd.systemd.enable = true;
2024-12-22 22:48:13 +01:00
lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
};
};
2023-10-23 17:15:54 +02:00
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "24.11";
2023-10-23 17:15:54 +02:00
}