chore: reformat

This commit is contained in:
Tim Schubert 2025-06-03 20:04:44 +02:00
parent b638c4125b
commit 1402ee13cc
No known key found for this signature in database
57 changed files with 845 additions and 466 deletions

View file

@ -33,8 +33,20 @@ with lib.hm.gvariant;
current = mkUint32 0;
per-window = false;
show-all-sources = true;
sources = [ (mkTuple [ "xkb" "eu" ]) (mkTuple [ "xkb" "de" ]) ];
xkb-options = [ "lv3:ralt_switch" "caps:escape" ];
sources = [
(mkTuple [
"xkb"
"eu"
])
(mkTuple [
"xkb"
"de"
])
];
xkb-options = [
"lv3:ralt_switch"
"caps:escape"
];
};
"org/gnome/desktop/interface" = {
@ -127,7 +139,10 @@ with lib.hm.gvariant;
composer-attribution-language = "de_DE";
composer-reply-start-bottom = false;
composer-signature-in-new-only = true;
composer-spell-languages = [ "de" "en_US" ];
composer-spell-languages = [
"de"
"en_US"
];
composer-top-signature = false;
composer-unicode-smileys = false;
composer-visually-wrap-long-lines = true;

View file

@ -1,8 +1,13 @@
{ lib, ... }:
with lib; let
modules' = dir: filterAttrs (name: type: (hasSuffix ".nix" name) || (type == "directory"))
(builtins.readDir dir);
modules = dir: mapAttrs' (name: _: nameValuePair (removeSuffix ".nix" name) (import (dir + "/${name}")))
(modules' dir);
with lib;
let
modules' =
dir:
filterAttrs (name: type: (hasSuffix ".nix" name) || (type == "directory")) (builtins.readDir dir);
modules =
dir:
mapAttrs' (name: _: nameValuePair (removeSuffix ".nix" name) (import (dir + "/${name}"))) (
modules' dir
);
in
(modules ./modules)

View file

@ -1,9 +1,11 @@
{ pkgs
, lib
, config
, ...
{
pkgs,
lib,
config,
...
}:
with lib; let
with lib;
let
cfg = config.dadada.home.alacritty;
in
{

View file

@ -1,8 +1,10 @@
{ config
, lib
, ...
{
config,
lib,
...
}:
with lib; {
with lib;
{
options.dadada.home.colors = mkOption {
type = types.attrs;
description = "Color scheme";

View file

@ -1,9 +1,11 @@
{ config
, pkgs
, lib
, ...
{
config,
pkgs,
lib,
...
}:
with lib; let
with lib;
let
cfg = config.dadada.home.direnv;
in
{

View file

@ -1,9 +1,11 @@
{ config
, lib
, pkgs
, ...
{
config,
lib,
pkgs,
...
}:
with lib; let
with lib;
let
cfg = config.dadada.home.git;
allowedSigners = pkgs.writeTextFile {
name = "allowed-signers";

View file

@ -1,8 +1,10 @@
{ config
, lib
, ...
{
config,
lib,
...
}:
with lib; let
with lib;
let
cfg = config.dadada.home.gpg;
in
{

View file

@ -1,9 +1,11 @@
{ config
, lib
, pkgs
, ...
{
config,
lib,
pkgs,
...
}:
with lib; let
with lib;
let
cfg = config.dadada.home.gtk;
in
{

View file

@ -1,4 +1,9 @@
{ config, pkgs, lib, ... }:
{
config,
pkgs,
lib,
...
}:
let
cfg = config.dadada.home.helix;
in

View file

@ -1,8 +1,10 @@
{ config
, lib
, ...
{
config,
lib,
...
}:
with lib; let
with lib;
let
cfg = config.dadada.home.keyring;
in
{

View file

@ -1,8 +1,10 @@
{ config
, lib
, ...
{
config,
lib,
...
}:
with lib; let
with lib;
let
cfg = config.dadada.home.session;
in
{

View file

@ -1,8 +1,10 @@
{ config
, lib
, ...
{
config,
lib,
...
}:
with lib; let
with lib;
let
cfg = config.dadada.home.ssh;
in
{

View file

@ -1,9 +1,11 @@
{ config
, pkgs
, lib
, ...
{
config,
pkgs,
lib,
...
}:
with lib; let
with lib;
let
cfg = config.dadada.home.syncthing;
in
{

View file

@ -1,8 +1,10 @@
{ config
, lib
, ...
{
config,
lib,
...
}:
with lib; let
with lib;
let
cfg = config.dadada.home.tmux;
in
{

View file

@ -1,9 +1,11 @@
{ config
, pkgs
, lib
, ...
{
config,
pkgs,
lib,
...
}:
with lib; let
with lib;
let
apps = {
"x-scheme-handler/mailto" = "evolution.desktop";
"message/rfc822" = "evolution.desktop";

View file

@ -1,9 +1,11 @@
{ config
, pkgs
, lib
, ...
{
config,
pkgs,
lib,
...
}:
with lib; let
with lib;
let
cfg = config.dadada.home.zsh;
in
{
@ -45,8 +47,7 @@ in
PROMPT="%F{red}%?%f %F{green}%m%f:%F{blue}%~%f"$'\n'"> "
RPROMPT='$(git_super_status)'
'';
profileExtra = ''
'';
profileExtra = '''';
shellAliases = {
ga = "git add";
gc = "git commit";

View file

@ -1,4 +1,5 @@
{ pkgs }: {
{ pkgs }:
{
allowUnfree = true;
allowUnfreePredicate = pkg: true;
allowBroken = false;

View file

@ -1,5 +1,6 @@
{ pkgs }:
with pkgs; [
with pkgs;
[
anki
aqbanking
aria2
@ -105,7 +106,10 @@ with pkgs; [
prusa-slicer
pv
pwgen
(python3.withPackages (pkgs: [pkgs.pandas pkgs.requests]))
(python3.withPackages (pkgs: [
pkgs.pandas
pkgs.requests
]))
ranger
reptyr
ripgrep