summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Van Doorn <nick@nvandoorn.com>2025-04-23 15:38:26 -0700
committerNick Van Doorn <nick@nvandoorn.com>2025-04-23 15:38:26 -0700
commit24e6a0f73ff81e7deb4d3f6bf795073bb31fc3b2 (patch)
treebed319fd538facc60e3fc2a80b424cece1d87a36
parent9534ebb5e63246c357d3ba7bcebdf7dddaef86f9 (diff)
Run `nixfmt`
-rw-r--r--configuration.nix35
1 files changed, 19 insertions, 16 deletions
diff --git a/configuration.nix b/configuration.nix
index 5d1dba9..962d81b 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -2,13 +2,18 @@
# 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, ... }:
+{
+ config,
+ lib,
+ pkgs,
+ ...
+}:
{
- imports =
- [ # Include the results of the hardware scan.
- ./hardware-configuration.nix
- ];
+ imports = [
+ # Include the results of the hardware scan.
+ ./hardware-configuration.nix
+ ];
# Use the GRUB 2 boot loader.
boot.loader.grub.enable = true;
@@ -16,7 +21,7 @@
# boot.loader.grub.efiInstallAsRemovable = true;
# boot.loader.efi.efiSysMountPoint = "/boot/efi";
# Define on which hard drive you want to install Grub.
- boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
+ boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
networking.hostName = "nvandoorn"; # Define your hostname.
# Pick only one of the below networking options.
@@ -26,7 +31,6 @@
# Set your time zone.
time.timeZone = "America/Vancouver";
-
services.nginx.enable = true;
security.acme.email = "vandoorn.nick@gmail.com";
security.acme.acceptTerms = true;
@@ -72,9 +76,6 @@
# Enable the X11 windowing system.
# services.xserver.enable = true;
-
-
-
# Configure keymap in X11
# services.xserver.xkb.layout = "us";
# services.xserver.xkb.options = "eurosign:e,caps:escape";
@@ -94,10 +95,10 @@
# services.libinput.enable = true;
# Define a user account. Don't forget to set a password with ‘passwd’.
- users.users.nick = {
- isNormalUser = true;
- extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
- };
+ users.users.nick = {
+ isNormalUser = true;
+ extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
+ };
# programs.firefox.enable = true;
@@ -131,7 +132,10 @@
services.openssh.settings.PasswordAuthentication = false;
# Open ports in the firewall.
- networking.firewall.allowedTCPPorts = [ 443 80 ];
+ networking.firewall.allowedTCPPorts = [
+ 443
+ 80
+ ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
networking.firewall.enable = true;
@@ -161,4 +165,3 @@
system.stateVersion = "24.11"; # Did you read the comment?
}
-