mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-29 10:40:43 +00:00
Run alejandra
This commit is contained in:
parent
286920def4
commit
c00134da1c
152 changed files with 827 additions and 721 deletions
|
@ -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; [
|
||||
|
|
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{pkgs, ...}:
|
||||
(pkgs.writeShellApplication {
|
||||
{pkgs, ...}: (pkgs.writeShellApplication {
|
||||
name = "bitcoin";
|
||||
runtimeInputs = with pkgs; [coreutils curl jq];
|
||||
text = ''
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{pkgs, ...}:
|
||||
(pkgs.writeShellApplication {
|
||||
{pkgs, ...}: (pkgs.writeShellApplication {
|
||||
name = "cheat.sh";
|
||||
runtimeInputs = with pkgs; [coreutils curl jq gnugrep fzf];
|
||||
text = ''
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
{pkgs, ...}:
|
||||
(pkgs.writeShellApplication {
|
||||
{pkgs, ...}: (pkgs.writeShellApplication {
|
||||
name = "colors-256";
|
||||
runtimeInputs = with pkgs; [coreutils];
|
||||
text = ''
|
||||
${builtins.readFile ./colors-256.sh}
|
||||
'';
|
||||
})
|
||||
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
{pkgs, ...}: let
|
||||
packages = {
|
||||
bitcoin = pkgs.callPackage ./bitcoin.nix {};
|
||||
cheatsh = pkgs.callPackage ./cheatsh {};
|
||||
|
@ -11,4 +8,3 @@
|
|||
};
|
||||
in
|
||||
packages
|
||||
|
||||
|
|
|
@ -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}
|
||||
'';
|
||||
})
|
||||
|
||||
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
{pkgs, ...}:
|
||||
(pkgs.writeShellApplication {
|
||||
{pkgs, ...}: (pkgs.writeShellApplication {
|
||||
name = "unix";
|
||||
runtimeInputs = with pkgs; [coreutils];
|
||||
text = ''
|
||||
${builtins.readFile ./unix.sh}
|
||||
'';
|
||||
})
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue