chore: nix fmt
This commit is contained in:
parent
38767905af
commit
f74928ce5f
21 changed files with 60 additions and 71 deletions
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
{
|
||||
_: {
|
||||
defaultSSHKeys = [
|
||||
"sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIDsb/Tr69YN5MQLweWPuJaRGm+h2kOyxfD6sqKEDTIwoAAAABHNzaDo= harald@fedora.fritz.box"
|
||||
"sk-ecdsa-sha2-nistp256@openssh.com AAAAInNrLWVjZHNhLXNoYTItbmlzdHAyNTZAb3BlbnNzaC5jb20AAAAIbmlzdHAyNTYAAABBBACLgT81iB1iWWVuXq6PdQ5GAAGhaZhSKnveQCvcNnAOZ5WKH80bZShKHyAYzrzbp8IGwLWJcZQ7TqRK+qZdfagAAAAEc3NoOg== harald@hoyer.xyz"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
{ config
|
||||
, lib
|
||||
, pkgs
|
||||
, ...
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.metacfg;
|
||||
|
|
|
|||
|
|
@ -70,8 +70,7 @@ in
|
|||
hardware.graphics = {
|
||||
enable = true;
|
||||
|
||||
extraPackages =
|
||||
lib.optionals pkgs.stdenv.targetPlatform.isx86_64 (
|
||||
extraPackages = lib.optionals pkgs.stdenv.targetPlatform.isx86_64 (
|
||||
with pkgs;
|
||||
[
|
||||
vpl-gpu-rt
|
||||
|
|
@ -88,8 +87,7 @@ in
|
|||
let
|
||||
rocmEnv = pkgs.symlinkJoin {
|
||||
name = "rocm-combined";
|
||||
paths =
|
||||
lib.optionals pkgs.stdenv.targetPlatform.isx86_64 (
|
||||
paths = lib.optionals pkgs.stdenv.targetPlatform.isx86_64 (
|
||||
with pkgs.rocmPackages;
|
||||
[
|
||||
rocblas
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
final: prev: {
|
||||
_: final: prev: {
|
||||
inetutils = prev.inetutils.overrideAttrs (old: {
|
||||
# Fix gnulib variadic macro error on Darwin with newer Clang
|
||||
# The error.h macro __gl_error_call1 has issues with __VA_ARGS__
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
final: prev: {
|
||||
_: final: prev: {
|
||||
gnome-console = prev.gnome-console.overrideAttrs (prevAttrs: {
|
||||
patches = (prevAttrs.patches or [ ]) ++ [
|
||||
./gnome-console-Add-image-and-file-path-pasting-support-for.patch
|
||||
|
|
|
|||
|
|
@ -36,8 +36,7 @@ final: prev: {
|
|||
hash = "sha256-GCAOKYyijaQPVBgAixoZRPHIdiUfV8mPeeflE7aX8Ac=";
|
||||
};
|
||||
}
|
||||
.${prev.stdenv.system}
|
||||
or (throw "unsupported system ${prev.stdenv.hostPlatform.system}")
|
||||
.${prev.stdenv.system} or (throw "unsupported system ${prev.stdenv.hostPlatform.system}")
|
||||
);
|
||||
});
|
||||
# gemini-cli = channels.unstable.callPackage ./gemini-cli/package.nix { };
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
{
|
||||
_: {
|
||||
nix.distributedBuilds = true;
|
||||
|
||||
nix.buildMachines = [
|
||||
|
|
|
|||
|
|
@ -26,7 +26,10 @@
|
|||
"sd_mod"
|
||||
];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" "ryzen_smu" ];
|
||||
boot.kernelModules = [
|
||||
"kvm-amd"
|
||||
"ryzen_smu"
|
||||
];
|
||||
boot.extraModulePackages = [ config.boot.kernelPackages.ryzen-smu ];
|
||||
|
||||
boot.kernelParams = [
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
{
|
||||
_: {
|
||||
services.pipewire.wireplumber.extraConfig."51-audio-priorities" = {
|
||||
"monitor.alsa.rules" = [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
{
|
||||
_: {
|
||||
metacfg.services.xremap = {
|
||||
enable = true;
|
||||
deviceNames = [
|
||||
|
|
|
|||
|
|
@ -8,10 +8,12 @@
|
|||
services.postgresql = {
|
||||
enable = true;
|
||||
ensureDatabases = [ "atticd" ];
|
||||
ensureUsers = [{
|
||||
ensureUsers = [
|
||||
{
|
||||
name = "atticd";
|
||||
ensureDBOwnership = true;
|
||||
}];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [ attic-client ];
|
||||
|
|
|
|||
|
|
@ -44,7 +44,10 @@
|
|||
address = [ "2a01:4f9:c014:619::1/64" ];
|
||||
routes = [ { Gateway = "fe80::1"; } ];
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80
|
||||
443
|
||||
];
|
||||
networking.firewall.allowPing = true;
|
||||
|
||||
security.acme = {
|
||||
|
|
|
|||
|
|
@ -26,8 +26,7 @@ with lib.metacfg;
|
|||
hardware.graphics = {
|
||||
enable = true;
|
||||
|
||||
extraPackages =
|
||||
lib.optionals pkgs.stdenv.targetPlatform.isx86_64 (
|
||||
extraPackages = lib.optionals pkgs.stdenv.targetPlatform.isx86_64 (
|
||||
with pkgs;
|
||||
[
|
||||
rocmPackages.clr.icd
|
||||
|
|
@ -123,13 +122,11 @@ with lib.metacfg;
|
|||
python313Packages.huggingface-hub
|
||||
];
|
||||
|
||||
|
||||
virtualisation = {
|
||||
docker.enable = true;
|
||||
podman.dockerCompat = false;
|
||||
};
|
||||
|
||||
|
||||
# zram swap with zstd compression for better performance
|
||||
zramSwap = {
|
||||
algorithm = "zstd";
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
{
|
||||
_: {
|
||||
services.pipewire.wireplumber.extraConfig."51-audio-priorities" = {
|
||||
"monitor.alsa.rules" = [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
{
|
||||
_: {
|
||||
metacfg.services.xremap = {
|
||||
enable = true;
|
||||
deviceNames = [
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
{
|
||||
_: {
|
||||
services.nginx.virtualHosts = {
|
||||
"00000" = {
|
||||
useACMEHost = "hoyer.xyz";
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
{
|
||||
_: {
|
||||
systemd.services.netatalk.requires = [
|
||||
"mnt-backup.mount"
|
||||
"mnt-raid.mount"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
{
|
||||
_: {
|
||||
services.open-webui = {
|
||||
enable = true;
|
||||
port = 8080;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
{
|
||||
_: {
|
||||
services.uptime-kuma = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
{
|
||||
_: {
|
||||
services.wyoming = {
|
||||
faster-whisper.servers."main" = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
{
|
||||
_: {
|
||||
metacfg.services.xremap = {
|
||||
enable = true;
|
||||
deviceNames = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue