Run alejandra

This commit is contained in:
ItsDrike 2024-07-27 01:07:07 +02:00
parent 286920def4
commit c00134da1c
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
152 changed files with 827 additions and 721 deletions

View file

@ -7,7 +7,7 @@
inherit (lib) mkIf;
devType = osConfig.myOptions.device.roles.type;
acceptedTypes = [ "laptop" "desktop" ];
acceptedTypes = ["laptop" "desktop"];
in {
config = mkIf (builtins.elem devType acceptedTypes) {
home.packages = with pkgs; [

View file

@ -1,15 +1,11 @@
{
pkgs,
...
}: let
scriptPkgs = (import ./packages {inherit pkgs;});
{pkgs, ...}: let
scriptPkgs = import ./packages {inherit pkgs;};
in {
home.packages = with scriptPkgs; [
bitcoin
cheatsh
colors256
unix
gh-notify
];
home.packages = with scriptPkgs; [
bitcoin
cheatsh
colors256
unix
gh-notify
];
}

View file

@ -1,5 +1,4 @@
{pkgs, ...}:
(pkgs.writeShellApplication {
{pkgs, ...}: (pkgs.writeShellApplication {
name = "bitcoin";
runtimeInputs = with pkgs; [coreutils curl jq];
text = ''

View file

@ -1,5 +1,4 @@
{pkgs, ...}:
(pkgs.writeShellApplication {
{pkgs, ...}: (pkgs.writeShellApplication {
name = "cheat.sh";
runtimeInputs = with pkgs; [coreutils curl jq gnugrep fzf];
text = ''

View file

@ -1,9 +1,7 @@
{pkgs, ...}:
(pkgs.writeShellApplication {
{pkgs, ...}: (pkgs.writeShellApplication {
name = "colors-256";
runtimeInputs = with pkgs; [coreutils];
text = ''
${builtins.readFile ./colors-256.sh}
'';
})

View file

@ -1,7 +1,4 @@
{
pkgs,
...
}: let
{pkgs, ...}: let
packages = {
bitcoin = pkgs.callPackage ./bitcoin.nix {};
cheatsh = pkgs.callPackage ./cheatsh {};
@ -11,4 +8,3 @@
};
in
packages

View file

@ -1,5 +1,4 @@
{pkgs, ...}:
(pkgs.writeShellApplication {
{pkgs, ...}: (pkgs.writeShellApplication {
name = "gh-notify";
runtimeInputs = with pkgs; [
coreutils
@ -12,5 +11,3 @@
${builtins.readFile ./gh-notify.sh}
'';
})

View file

@ -1,10 +1,7 @@
{pkgs, ...}:
(pkgs.writeShellApplication {
{pkgs, ...}: (pkgs.writeShellApplication {
name = "unix";
runtimeInputs = with pkgs; [coreutils];
text = ''
${builtins.readFile ./unix.sh}
'';
})