dotfiles/systems/x86_64-linux/gospel/default.nix

129 lines
3 KiB
Nix
Raw Normal View History

2022-09-18 19:42:30 +00:00
{
2022-09-18 22:41:17 +00:00
config,
pkgs,
...
}: {
imports = [
./hardware-configuration.nix
./zfs.nix
];
2022-09-18 19:42:30 +00:00
age.secrets.cf_dns_kilonull.file = ../../../secrets/cf_dns_kilonull.age;
2023-03-20 01:10:43 +00:00
aa = {
nix.enable = true;
archetypes = {
workstation.enable = true;
};
2023-09-10 21:47:09 +00:00
desktop.addons.waybar.thermal-zone = 1;
2023-03-20 01:10:43 +00:00
suites.gaming.enable = true;
apps.yubikey.enable = true;
2023-03-20 01:37:46 +00:00
security.acme = {
enable = true;
# useStaging = true;
domainName = "kilonull.com";
dnsCredentialsFile = config.age.secrets.cf_dns_kilonull.path;
};
2023-03-20 01:37:46 +00:00
services.openssh.enable = true;
services.nix-serve = {
enable = true;
domain_name = "kilonull.com";
subdomain_name = "cache";
acmeCertName = "kilonull.com";
};
2023-03-25 16:17:58 +00:00
services.printing.enable = true;
2023-03-25 16:58:31 +00:00
services.tailscale = {
enable = true;
configureClientRouting = true;
configureServerRouting = true;
};
services.syncoid = {
enable = true;
commands = {
"rpool" = {
target = "backups@192.168.113.13:tank/backups/gospel/rpool";
recursive = true;
sshKey = "/var/lib/syncoid/.ssh/id_ed25519";
};
};
};
2023-09-10 16:20:11 +00:00
services.prometheus.enable = true;
services.promtail.enable = true;
2024-03-06 04:03:34 +00:00
services.hydra = {
enable = true;
acmeCertName = "kilonull.com";
2024-03-10 21:28:44 +00:00
secretKeyPath = "/var/gospelCache";
s3Bucket = "nix-store";
s3Endpoint = "minio.kilonull.com";
2024-03-06 04:03:34 +00:00
};
2023-03-25 16:28:53 +00:00
hardware.audio.enable = true;
2023-07-14 01:36:01 +00:00
hardware.bluetooth.enable = true;
2023-07-14 01:24:18 +00:00
hardware.logitech.enable = true;
system.zfs.enable = true;
system.monitoring.enable = true;
2023-03-20 01:10:43 +00:00
};
2023-06-06 01:25:59 +00:00
virtualisation.docker = {
enable = true;
2023-11-26 17:54:34 +00:00
storageDriver = "overlay2";
2023-06-06 01:25:59 +00:00
rootless = {
enable = true;
setSocketVariable = true;
};
};
2023-09-03 00:12:21 +00:00
# boot.binfmt.emulatedSystems = ["aarch64-linux" "armv6l-linux"];
2023-04-09 02:07:34 +00:00
networking = {
hostName = "gospel";
useDHCP = false;
defaultGateway = "192.168.113.1";
2023-08-25 00:29:32 +00:00
nameservers = ["192.168.113.13" "1.1.1.1"];
2023-04-09 02:07:34 +00:00
interfaces.eno1.ipv4.addresses = [
{
address = "192.168.113.69"; # nice
prefixLength = 24;
}
];
};
2022-09-18 19:42:30 +00:00
time.timeZone = "America/Los_Angeles";
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
pavucontrol
2022-09-18 21:34:41 +00:00
cachix
nixos-generators
2023-03-12 03:59:11 +00:00
# config.nur.repos.mic92.yubikey-touch-detector
cryptsetup
paperkey
unzip
p7zip
nix-index
2022-11-27 16:06:17 +00:00
vlc
xfce.thunar
prusa-slicer
esptool
minicom
2023-03-26 05:05:37 +00:00
signal-desktop
2022-09-18 19:42:30 +00:00
];
# 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. Its 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).
system.stateVersion = "22.05"; # Did you read the comment?
}