nixfiles/hosts/hermes/configuration.nix
2024-08-30 13:15:37 +01:00

34 lines
546 B
Nix

{
config,
lib,
pkgs,
inputs,
...
}: let
inherit (inputs.self.nixosModules) keys;
in {
services.remote-deploy = {
enable = true;
host = "media.cleslie.uk";
port = 62480;
keys = keys.c;
buildOn = "local";
};
time.timeZone = "Europe/London";
users.users.media = {
isNormalUser = true;
extraGroups = ["wheel" "multimedia"];
openssh.authorizedKeys.keys = keys.c;
packages = with pkgs; [
tree
nixvim
];
};
environment.systemPackages = with pkgs; [
wget
tree
];
}