nixfiles/hosts/artemis/configuration.nix
2026-06-29 16:17:26 +01:00

66 lines
1.1 KiB
Nix

{
config,
pkgs,
...
}:
{
nixpkgs.hostPlatform = "x86_64-linux";
c.services.mesh = {
enable = true;
exitNode = false;
keyFile = config.age.secrets.mesh-conf-cleslie.path;
};
time.timeZone = "Europe/London";
i18n.defaultLocale = "en_GB.UTF-8";
users.users.c = {
isNormalUser = true;
extraGroups = [
"wheel"
"networkmanager"
"libvirtd"
"dialout"
"wireshark"
];
openssh.authorizedKeys.keys = config.keys.c;
shell = pkgs.fish;
packages = with pkgs; [ ];
};
nix.settings.trusted-users = [ "c" ];
environment.systemPackages = with pkgs; [
vim
adwaita-icon-theme
apple-cursor
wget
pinentry-gnome3
fzf
nil
killall
gcc
pkg-config
sbctl
nish
];
environment = {
variables = {
EDITOR = "nvim";
};
sessionVariables = {
NIXOS_OZONE_WL = "1";
};
shells = with pkgs; [ fish ];
};
fonts.packages =
with pkgs;
[ meslo-lgs-nf ] ++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts);
services.udev.packages = [
pkgs.platformio-core.udev
pkgs.openocd
];
}