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:
parent
d084d841ce
commit
688acfe889
16 changed files with 195 additions and 65 deletions
33
hosts/thegeneralist-central-mbp/configuration.nix
Normal file
33
hosts/thegeneralist-central-mbp/configuration.nix
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue