Reformat with alejandra

This commit is contained in:
2026-03-23 21:24:20 +01:00
parent 463ce1c6f9
commit a4c34f9857
48 changed files with 193 additions and 246 deletions

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
{
}: {
imports = [
./modules
./hardware-configuration.nix
@@ -130,7 +129,9 @@
bluetooth = {
enable = true;
package = pkgs.bluez.overrideAttrs (old: {
configureFlags = old.configureFlags ++ [
configureFlags =
old.configureFlags
++ [
"--enable-sixaxis"
];
});

View File

@@ -14,14 +14,12 @@
};
};
outputs =
{
outputs = {
self,
nixpkgs,
czkawka-src,
naersk,
}:
let
}: let
system = "x86_64-linux";
pkgs = import nixpkgs {inherit system;};
naersk-lib = pkgs.callPackage naersk {};
@@ -44,8 +42,7 @@
libXrandr
wayland
];
in
{
in {
packages.${system}.default = naersk-lib.buildPackage {
pname = "krokiet";
version = "master";
@@ -54,8 +51,7 @@
nativeBuildInputs = nativeBuildInputs;
buildInputs = runtimeLibs;
cargoBuildOptions =
x:
cargoBuildOptions = x:
x
++ [
"-p"

View File

@@ -6,18 +6,15 @@
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{
outputs = {
self,
nixpkgs,
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
system: let
pkgs = nixpkgs.legacyPackages.${system};
in
{
in {
packages.default = pkgs.stdenv.mkDerivation rec {
pname = "fet";
version = "7.8.0";

View File

@@ -1,5 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
boot = {
kernelPackages = pkgs.linuxKernel.packages.linux_xanmod_latest;

View File

@@ -1,5 +1,4 @@
{ ... }:
{
{...}: {
nix.settings = {
substituters = [
"https://attic.awroo.fun/my-config"

View File

@@ -1,5 +1,4 @@
{ ... }:
{
{...}: {
imports = [
./attic.nix
./flatpak.nix

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
{
}: {
services.flatpak = {
enable = true;
update.auto.enable = true;

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
{
}: {
environment = {
gnome.excludePackages = with pkgs; [
decibels

View File

@@ -1,5 +1,4 @@
{ lib, ... }:
{
{lib, ...}: {
dconf.settings = {
"org/virt-manager/virt-manager/connections" = {
autoconnect = ["qemu:///system"];

View File

@@ -1,5 +1,4 @@
{ ... }:
{
{...}: {
imports = [
./apps.nix
./extensions.nix

View File

@@ -1,5 +1,4 @@
{ lib, ... }:
{
{lib, ...}: {
dconf.settings = {
"org/gnome/shell/extensions/user-theme" = {
name = "Flat-Remix-Darkest-fullPanel";

View File

@@ -1,5 +1,4 @@
{ lib, ... }:
{
{lib, ...}: {
dconf.settings = {
"org/gnome/desktop/interface" = {
accent-color = "red";

View File

@@ -1,5 +1,4 @@
{ ... }:
{
{...}: {
imports = [
./dconf
./desktop-files.nix

View File

@@ -2,8 +2,7 @@
config,
pkgs,
...
}:
{
}: {
xdg.dataFile."applications/clion.desktop".text = ''
[Desktop Entry]
Type=Application

View File

@@ -1,5 +1,4 @@
{ lib, ... }:
{
{lib, ...}: {
programs.starship = {
enable = true;
settings = {

View File

@@ -1,5 +1,4 @@
{ config, ... }:
{
{config, ...}: {
programs.zsh = {
enable = true;
enableCompletion = true;

View File

@@ -6,8 +6,7 @@
solaar-master,
fet,
...
}:
{
}: {
nixpkgs = {
config = {
allowUnfree = true;
@@ -153,7 +152,8 @@
vkbasalt
vlc
(vscode.fhsWithPackages (
ps: with ps; [
ps:
with ps; [
python3
zlib
gcc

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
{
}: {
programs = {
dconf.profiles.gdm.databases = [
{

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
{
}: {
services = {
sshd.enable = true;
displayManager.gdm.enable = true;

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
{
}: {
imports = [
./hardware-configuration.nix
./modules

View File

@@ -7,8 +7,7 @@
pkgs,
modulesPath,
...
}:
{
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];

View File

@@ -1,5 +1,4 @@
{ ... }:
{
{...}: {
imports = [
./flatpak.nix
./gdm-monitors.nix

View File

@@ -3,6 +3,5 @@
pkgs,
lib,
...
}:
{
}: {
}

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
let
}: let
gdmMonitorsXml = pkgs.writeText "gdm-monitor.xml" ''
<monitors version="2">
<configuration>
@@ -291,8 +290,7 @@ let
</configuration>
</monitors>
'';
in
{
in {
systemd.tmpfiles.rules = [
"L+ /run/gdm/.config/monitors.xml - - - - ${gdmMonitorsXml}"
];

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
{
}: {
environment = {
systemPackages = with pkgs.gnomeExtensions; [
control-monitor-brightness-and-volume-with-ddcutil

View File

@@ -1,4 +1,3 @@
{ ... }:
{
{...}: {
dconf.settings = {};
}

View File

@@ -1,5 +1,4 @@
{ ... }:
{
{...}: {
imports = [
./apps.nix
./extensions.nix

View File

@@ -1,4 +1,3 @@
{ ... }:
{
{...}: {
dconf.settings = {};
}

View File

@@ -1,5 +1,4 @@
{ lib, ... }:
{
{lib, ...}: {
dconf.settings = {
"org/gnome/settings-daemon/plugins/media-keys" = {
custom-keybindings = lib.mkAfter [

View File

@@ -1,5 +1,4 @@
{ ... }:
{
{...}: {
imports = [
./dconf
];

View File

@@ -4,8 +4,7 @@
lib,
czkawka-master,
...
}:
{
}: {
environment.systemPackages = with pkgs; [
amdgpu_top
arch-install-scripts

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
{
}: {
programs = {
ccache = {
enable = true;

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
{
}: {
environment.systemPackages = with pkgs; [
zram-generator
];

View File

@@ -1,5 +1,4 @@
{ lib, ... }:
{
{lib, ...}: {
virtualisation.vmVariant = {
virtualisation = {
memorySize = 8192;

View File

@@ -11,18 +11,15 @@
fet.url = "path:./common/flakes/fet";
};
outputs =
{
outputs = {
self,
nixpkgs,
nix-flatpak,
home-manager,
...
}@inputs:
let
} @ inputs: let
specialArgs = {inherit (inputs) czkawka-master fet;};
in
{
in {
nixosConfigurations = {
epiquev2 = nixpkgs.lib.nixosSystem {
inherit specialArgs;

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
{
}: {
imports = [
./hardware-configuration.nix
./modules

View File

@@ -7,8 +7,7 @@
pkgs,
modulesPath,
...
}:
{
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];

View File

@@ -1,5 +1,4 @@
{ ... }:
{
{...}: {
imports = [
./flatpak.nix
./gnome.nix

View File

@@ -3,6 +3,5 @@
pkgs,
lib,
...
}:
{
}: {
}

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
{
}: {
environment = {
systemPackages = with pkgs.gnomeExtensions; [
];

View File

@@ -1,5 +1,4 @@
{ ... }:
{
{...}: {
dconf.settings = {
"org/gnome/Console" = {
custom-font = "FiraCode Nerd Font Mono 11";

View File

@@ -1,5 +1,4 @@
{ ... }:
{
{...}: {
imports = [
./apps.nix
./extensions.nix

View File

@@ -1,4 +1,3 @@
{ ... }:
{
{...}: {
dconf.settings = {};
}

View File

@@ -1,5 +1,4 @@
{ ... }:
{
{...}: {
dconf.settings = {
"org/gnome/desktop/peripherals/touchpad" = {
click-method = "areas";

View File

@@ -1,5 +1,4 @@
{ ... }:
{
{...}: {
imports = [
./dconf
];

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
{
}: {
environment.systemPackages = with pkgs; [
btop
gnome-power-manager

View File

@@ -1,3 +1,2 @@
{ ... }:
{
{...}: {
}

View File

@@ -1,5 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
services.thermald.enable = true;
services.power-profiles-daemon.enable = false;
services.tlp = {