nix fmt rcf-style

This commit is contained in:
Vinzenz Schroeter 2024-10-27 12:33:35 +01:00
parent b78e40ad6a
commit b9adba3225
35 changed files with 270 additions and 238 deletions

View file

@ -1,22 +1,14 @@
{ pkgs, ... }:
{
pkgs,
...
}: {
config = {
boot.kernelModules = ["amdgpu"];
services.xserver.videoDrivers = ["amdgpu"];
boot.kernelModules = [ "amdgpu" ];
services.xserver.videoDrivers = [ "amdgpu" ];
hardware.opengl = {
extraPackages = with pkgs; [
amdvlk
];
extraPackages32 = with pkgs; [
driversi686Linux.amdvlk
];
extraPackages = with pkgs; [ amdvlk ];
extraPackages32 = with pkgs; [ driversi686Linux.amdvlk ];
};
environment.systemPackages = with pkgs; [
nvtopPackages.amd
];
environment.systemPackages = with pkgs; [ nvtopPackages.amd ];
};
}

View file

@ -1,8 +1,5 @@
{ config, pkgs, ... }:
{
config,
pkgs,
...
}: {
config = {
services = {
xserver.enable = true;
@ -31,7 +28,10 @@
kdeconnect.enable = true;
firefox = {
enable = true;
languagePacks = ["en-US" "de"];
languagePacks = [
"en-US"
"de"
];
};
nix-ld = {
enable = true;
@ -101,10 +101,8 @@
fonts = {
enableDefaultPackages = true;
fontconfig.defaultFonts.monospace = ["FiraCode Nerd Font"];
packages = with pkgs; [
(nerdfonts.override {fonts = ["FiraCode"];})
];
fontconfig.defaultFonts.monospace = [ "FiraCode Nerd Font" ];
packages = with pkgs; [ (nerdfonts.override { fonts = [ "FiraCode" ]; }) ];
};
hardware.logitech.wireless = {

View file

@ -3,13 +3,17 @@
pkgs,
config,
...
}: {
}:
{
config = {
boot = {
kernelPackages = pkgs.linuxPackages_zen;
kernelParams = ["quiet" "udev.log_level=3"];
supportedFilesystems = ["btrfs"];
initrd.supportedFilesystems = ["btrfs"];
kernelParams = [
"quiet"
"udev.log_level=3"
];
supportedFilesystems = [ "btrfs" ];
initrd.supportedFilesystems = [ "btrfs" ];
consoleLogLevel = 0;
initrd.verbose = false;
plymouth.enable = true;

View file

@ -1,15 +1,12 @@
{ config, pkgs, ... }:
{
config,
pkgs,
...
}: {
config = {
hardware = {
opengl = {
driSupport = true;
driSupport32Bit = true;
extraPackages = with pkgs; [mangohud];
extraPackages32 = with pkgs; [mangohud];
extraPackages = with pkgs; [ mangohud ];
extraPackages32 = with pkgs; [ mangohud ];
};
steam-hardware.enable = true;

View file

@ -1,8 +1,5 @@
{ config, pkgs, ... }:
{
config,
pkgs,
...
}: {
config = {
services = {
xserver = {
@ -41,9 +38,12 @@
pkgs.gnome-tour
];
environment.systemPackages = with pkgs; [gnome.ghex impression];
environment.systemPackages = with pkgs; [
gnome.ghex
impression
];
# RDP connections
networking.firewall.allowedTCPPorts = [3389];
networking.firewall.allowedTCPPorts = [ 3389 ];
};
}

View file

@ -1,8 +1,5 @@
{ config, pkgs, ... }:
{
config,
pkgs,
...
}: {
config = {
hardware.opengl = {
extraPackages = with pkgs; [
@ -19,9 +16,7 @@
libvdpau-va-gl
];
};
environment.systemPackages = with pkgs; [
nvtopPackages.intel
];
allowedUnfreePackages = ["intel-ocl"];
environment.systemPackages = with pkgs; [ nvtopPackages.intel ];
allowedUnfreePackages = [ "intel-ocl" ];
};
}

View file

@ -1,4 +1,5 @@
{pkgs, ...}: {
{ pkgs, ... }:
{
config = {
environment.systemPackages = with pkgs; [
fontconfig

View file

@ -1,4 +1,5 @@
{...}: {
{ ... }:
{
virtualisation = {
containers.enable = true;
podman = {

View file

@ -1,4 +1,5 @@
{...}: {
{ ... }:
{
config = {
services = {
# Enable CUPS to print documents.