1
Fork 0
mirror of https://github.com/thegeneralist01/config.git synced 2026-03-07 10:59:55 +01:00

chore: add a new host and make a few adjustments

This commit is contained in:
TheGeneralist 2025-06-23 09:09:26 +02:00
parent d084d841ce
commit 688acfe889
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4
16 changed files with 195 additions and 65 deletions

View file

@ -0,0 +1,33 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ self, config, pkgs, lib, inputs, ... }:
{
imports = [ ./hardware-configuration.nix ./jellyfin.nix ];
users.knownUsers = [
"central"
];
users.users.central = {
name = "central";
home = "/Users/central";
shell = pkgs.zsh;
uid = 502;
openssh.authorizedKeys.keys = let
inherit (import ../../keys.nix) thegeneralist;
in [ thegeneralist ];
};
home-manager = {
backupFileExtension = "home.bak";
users.central.home = {
stateVersion = "25.11";
homeDirectory = "/Users/central";
};
};
system.stateVersion = 6;
}