Files
old-nixos-dotfiles/machines/workstation/configuration.nix
2024-08-13 19:42:30 +09:00

32 lines
870 B
Nix

{ config, lib, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
../base.nix
../../system/services/cups.nix
../../system/services/ssh.nix
../../system/services/polkit.nix
../../system/hardware/kernel.nix
../../system/hardware/nvidia.nix
../../system/hardware/opengl.nix
../../system/hardware/bluetooth.nix
../../system/wm/sddm.nix
];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
system.stateVersion = "24.05"; # Did you read the changelog?
}