Add tides config

This commit is contained in:
Nathan McCarty 2025-02-12 01:37:24 -05:00
parent 56dd7b46d0
commit 43288e9d33
4 changed files with 135 additions and 0 deletions

View file

@ -0,0 +1,45 @@
# 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`).
{
config,
lib,
pkgs,
...
}: {
# Use the systemd-boot EFI boot loader.
boot = {
loader = {
systemd-boot.enable = true;
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
};
initrd.systemd.enable = true;
};
networking.hostName = "tides";
networking.domain = "stranger.systems";
networking.networkmanager.enable = true;
time.timeZone = "America/Louisville";
i18n.defaultLocale = "en_US.UTF-8";
# Enable passwordless sudo.
security.sudo.extraRules = [
{
users = ["nathan"];
commands = [
{
command = "ALL";
options = ["NOPASSWD"];
}
];
}
];
services.openssh.enable = true;
system.stateVersion = "24.11"; # Did you read the comment?
}