46 lines
1,011 B
Nix
46 lines
1,011 B
Nix
|
# 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?
|
||
|
}
|