nixos-config/configurations/okeanos/default.nix

39 lines
732 B
Nix
Raw Normal View History

{ pkgs, lib, ... }:
{
imports = [
./hardware.nix
./unbound.nix
./wireguard.nix
];
# Use the extlinux boot loader. (NixOS wants to enable GRUB by default)
boot.loader.grub.enable = false;
2024-08-01 21:40:51 +02:00
my.systemd-boot.enable = false;
# Enables the generation of /boot/extlinux/extlinux.conf
boot.loader.generic-extlinux-compatible.enable = true;
2024-08-01 21:40:51 +02:00
my.users = {
dala = {
description = "Dala";
groups = [ "wheel" ];
uid = 1000;
shell = pkgs.bash;
};
};
sops = {
gnupg.sshKeyPaths = [ ];
age = {
sshKeyPaths = [ ];
keyFile = "/var/lib/sops-nix/key.txt";
};
defaultSopsFile = ./secrets/secrets.yaml;
secrets = {
wg0_private = { };
};
};
}