{ pkgs, upkgs, lib, ... }: { imports = [ ./hardware.nix ]; networking = { hostName = "myputer"; firewall = { allowedTCPPorts = [ 22 # SSH 80 # HTTP 443 # HTTPS 5678 # MikroTik WinBox 25565 # Minecraft LAN ]; }; }; # ----- SERVICES ----- services = { flatpak.enable = true; udev = { enable = true; packages = with pkgs; [ via ]; # Microdia AK820 (AJAZZ Keeb) # REF: https://get.vial.today/manual/linux-udev.html # KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{serial}=="*vial:f64c2b3c*", ATTRS{idVendor}=="0c45", ATTRS{idProduct}=="8009", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl" # (AJAZZ Keeb) # REF: https://get.vial.today/manual/linux-udev.html # KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{serial}=="*vial:f64c2b3c*", ATTRS{idVendor}=="d010", ATTRS{idProduct}=="1601", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl" extraRules = '' SUBSYSTEM=="hidraw", ATTRS{idVendor}=="d010", ATTRS{idProduct}=="1601", TAG+="uaccess" SUBSYSTEM=="usb", ATTRS{idVendor}=="d010", ATTRS{idProduct}=="1601", TAG+="uaccess" ''; }; }; security.sudo.wheelNeedsPassword = lib.mkForce false; # ---- SYSTEM PACKAGES ----- environment.systemPackages = with pkgs; [ # User Environment libreoffice via # makes my keek worky :3 [DEBUG] vial # gui for keeb DEBUG # Games prismlauncher # minecraft upkgs.olympus # CELESTE!! <3 :3 discord ]; # DEBUG: configuring xdg portal here instead? # REFERENCE: https://discourse.nixos.org/t/hyprland-screen-sharing/43658 #xdg.portal = { # enable = true; # xdgOpenUsePortal = true; # config = { # common.default = ["gtk"]; # hyprland.default = ["gtk" "hyprland"]; # }; # extraPortals = with pkgs; [ # #xdg-desktop-portal-gtk # #xdg-desktop-portal-wlr # xdg-desktop-portal-hyprland # ]; #}; # DO NOT MODIFY system.stateVersion = "24.05"; # Did you read the comment? }