Initial commit

This commit is contained in:
HotaruBlaze
2026-05-31 09:33:14 +00:00
commit 6bce73c167
12 changed files with 698 additions and 0 deletions

39
common.nix Normal file
View File

@@ -0,0 +1,39 @@
{ config, lib, pkgs, ... }:
{
# Shared users
users.mutableUsers = false;
users.users.phoenix = {
isNormalUser = true;
description = "Phoenix";
extraGroups = [ "wheel" ];
shell = pkgs.bash;
home = "/home/phoenix";
createHome = true;
useDefaultShell = true;
};
# Shared packages
environment.systemPackages = with pkgs; [
nano
vim
git
curl
wget
sops
age
];
# Shared services
services.openssh.enable = true;
services.openssh.permitRootLogin = "no";
# Timezone and locale
time.timeZone = "Europe/London";
i18n.defaultLocale = "en_US.UTF-8";
console.keyMap = "uk";
# Firewall
networking.firewall.enable = true;
networking.firewall.allowedTCPPorts = [ 22 ]; # SSH
}