mirror of
https://github.com/callumio/nixfiles.git
synced 2025-12-17 03:29:20 +00:00
initial commit
This commit is contained in:
commit
c45c7f26a4
28 changed files with 1531 additions and 0 deletions
34
hosts/hermes/configuration.nix
Normal file
34
hosts/hermes/configuration.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
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
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue