initial commit

This commit is contained in:
Lzebulon 2025-08-06 00:18:58 +02:00
commit 95085a0d24
Signed by: lzebulon
GPG key ID: D6CDAB8050CBBE7D
16 changed files with 294 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{ pkgs, ... }:
{
imports = [
./users.nix
];
services.openssh = {
enable = true;
};
programs.htop.enable = true;
networking.domain = "v2.bytestall.info";
environment.systemPackages = with pkgs; [
vim
dig
powertop
];
}

16
modules/common/users.nix Normal file
View file

@ -0,0 +1,16 @@
{ ... }:
{
users = {
mutableUsers = false;
users.lzebulon = {
isNormalUser = true;
hashedPassword = "$y$j9T$l3Sr.4rBoWPTNx9AQNd6n0$rHprSWYdDIv0sjrMz1/47fZSboNL95/v43HZCbsuSM3";
extraGroups = [ "wheel" ];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKCR6uatrqbCViftPwQ17JNVN8KBC02sPAOu+uRKGhLR lzebulon"
];
};
};
}