initial commit
This commit is contained in:
commit
95085a0d24
16 changed files with 294 additions and 0 deletions
21
modules/common/default.nix
Normal file
21
modules/common/default.nix
Normal 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
16
modules/common/users.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue