40 lines
672 B
Nix
40 lines
672 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./matrix.nix
|
|
];
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
networking.hostName = "nixos-matrix";
|
|
networking.networkmanager.enable = true;
|
|
|
|
time.timeZone = "America/Los_Angeles";
|
|
|
|
users.users.tony = {
|
|
isNormalUser = true;
|
|
extraGroups = ["wheel"];
|
|
};
|
|
|
|
services.openssh.enable = true;
|
|
services.nginx.enable = true;
|
|
|
|
security.acme = {
|
|
acceptTerms = true;
|
|
defaults.email = "your-email@example.com";
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
vim
|
|
git
|
|
];
|
|
|
|
system.stateVersion = "25.11";
|
|
}
|