nixfiles/hosts/hermes/configuration.nix
Callum Leslie 3c48de49f6
finally on flake parts
just need to remove fup now
2024-09-05 09:50:37 +01:00

44 lines
771 B
Nix

{
config,
lib,
pkgs,
inputs,
self,
...
}: let
#inherit (self.nixosModules) keys;
in {
nixpkgs.hostPlatform = "x86_64-linux";
c.services.mesh = {
enable = true;
exitNode = true;
keyFile = config.age.secrets.mesh-conf-infra.path;
};
c.services.remote-deploy = {
enable = true;
host = "media.cleslie.uk";
port = 62480;
keys = config.keys.c;
buildOn = "local";
};
time.timeZone = "Europe/London";
users.users.media = {
isNormalUser = true;
extraGroups = ["wheel" "multimedia"];
openssh.authorizedKeys.keys = config.keys.c;
packages = with pkgs; [
tree
nixvim
];
};
nix.settings.trusted-users = ["media"];
environment.systemPackages = with pkgs; [
wget
tree
];
}