{ config, pkgs, ... }: { imports = [ ./hardware-configuration.nix ./nginx.nix ]; boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; networking.hostName = "lily-server"; networking.networkmanager.enable = true; services.displayManager.sddm.enable = true; services.desktopManager.plasma6.enable = true; services.openssh = { enable = true; settings = { PasswordAuthentication = false; PermitRootLogin = "no"; X11Forwarding = false; }; }; nixpkgs.config.allowUnfree = true; networking.firewall.allowedTCPPorts = [ 22 80 443 9001 9002 ]; users.users.lily = { isNormalUser = true; description = "Lily Luna"; extraGroups = [ "networkmanager" "wheel" "lily" "input" "uinput" ]; }; users.groups.lily = { }; programs.nh = { enable = true; flake = "/home/lily/Programming/LiNix26"; }; environment.systemPackages = with pkgs; [ vim firefox ]; nix.settings.experimental-features = [ "nix-command" "flakes" ]; system.stateVersion = "24.11"; }