nixos/hosts/alpha/default.nix

41 lines
1.3 KiB
Nix
Raw Normal View History

2024-03-05 22:57:41 +01:00
{...}: {
2024-02-24 02:33:59 +01:00
imports = [
../../overlays
../../modules/base
../../modules/server
2024-04-10 01:52:08 +02:00
./acme.nix
2024-04-16 01:26:43 +02:00
./caddy.nix
2024-02-24 02:33:59 +01:00
./hardware.nix
2024-03-31 04:28:48 +02:00
./knot-dns.nix
2024-04-10 01:52:08 +02:00
./mumble.nix
./network.nix
2024-02-24 02:33:59 +01:00
];
networking.hostName = "alpha";
boot = {
loader = {
efi.canTouchEfiVariables = true;
systemd-boot.enable = true;
};
initrd.luks.devices.crypted.device = "/dev/disk/by-label/crypted";
};
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It's perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
2024-06-02 22:56:02 +02:00
system.stateVersion = "24.05"; # Did you read the comment?
2024-02-24 02:33:59 +01:00
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
2024-06-02 22:56:02 +02:00
home-manager.users.caspervk.home.stateVersion = "24.05"; # Did you read the comment?
2024-02-24 02:33:59 +01:00
}