fmt: alejandra

This commit is contained in:
♥ Minnie ♥ 2024-08-08 09:02:42 +08:00
parent 53378cdfc9
commit 3350d19a45
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
79 changed files with 432 additions and 511 deletions

View file

@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
# Our custom power state
environment.etc = {
"default/amdgpu-custom-states.card0" = {
@ -26,6 +24,5 @@
};
# Install our overclocking script.
environment.systemPackages = with pkgs; [ amdgpu-clocks ];
environment.systemPackages = with pkgs; [amdgpu-clocks];
}

View file

@ -1,6 +1,4 @@
{ ... }:
{
{...}: {
imports = [
./amdgpu-clocks.nix
./flatpak.nix

View file

@ -1,11 +1,9 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
# Required to install flatpak
xdg.portal = {
enable = true;
config.common.default = [ "gtk" ];
extraPortals = [ pkgs.xdg-desktop-portal-wlr ];
config.common.default = ["gtk"];
extraPortals = [pkgs.xdg-desktop-portal-wlr];
};
services.flatpak.enable = true;

View file

@ -1,9 +1,7 @@
{ ... }:
{
{...}: {
services.libinput = {
enable = true;
mouse = { accelProfile = "flat"; };
mouse = {accelProfile = "flat";};
};
# DBus daemon to configure input devices.

View file

@ -1,6 +1,4 @@
{ ... }:
{
{...}: {
# Get up and running with large language models locally.
services.ollama = {
enable = true;

View file

@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
# Enable necessary udev rules.
services.udev.packages = with pkgs; [
openrgb

View file

@ -1,11 +1,9 @@
{ ... }:
{
{...}: {
# Setup our display server
services.xserver = {
enable = true;
xkb.layout = "au";
videoDrivers = [ "amdgpu" ];
videoDrivers = ["amdgpu"];
displayManager.startx.enable = true;
};
}