2024-07-30 20:42:59 +02:00
|
|
|
{ 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;
|
2024-07-30 20:42:59 +02:00
|
|
|
# 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 = {
|
2024-07-30 20:42:59 +02:00
|
|
|
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 = { };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|