Added skaftafell host

This commit is contained in:
marc
2026-05-10 18:36:48 +02:00
parent f60368ae30
commit c4a468cdc7
17 changed files with 131 additions and 19 deletions

View File

@@ -0,0 +1,61 @@
{ config, pkgs, lib, inputs, ... }:
with lib;
{
imports = [
./hardware.nix
./secrets.nix
];
# - Basic --------------------------------------
user.name = "marc";
user.shell = pkgs.zsh;
networking = {
hostName = "skaftafell";
firewall = {
enable = false;
# allowedUDPPorts = [
# 53 # DNS (pihole + unbound)
# 8600 # Consul DNS
# ];
};
};
# - Bootloader ---------------------------------
boot.loader.grub = {
enable = true;
device = "/dev/vda";
};
# - Agenix ---------------------------------
age.identityPaths = [
"/home/marc/.ssh/id_ed25519"
];
# - Modules ------------------------------------
samfelag.modules = {
# - Common -----------------------------------
# See modules/common.nix for common packages installed
# - System -----------------------------------
system.utils.enable = true;
system.gpg.enable = true;
system.pass.enable = true;
system.ssh.enable = true;
system.sshfs.enable = true;
# - Server ----------------------------------
# server.vatnajokull.enable = true;
# - Editors and development ------------------
dev.git.userName = "marc";
dev.git.userEmail = "marc@sastre.cat";
dev.docker.enable = true;
dev.docker.users = ["marc"];
};
}