feat: added hledger and restructured some home stuff

This commit is contained in:
Nick 2025-01-22 02:13:08 -06:00
parent 4db6929078
commit f642608281
13 changed files with 23 additions and 4 deletions

View file

@ -0,0 +1,11 @@
{
pkgs,
...
}:
{
home.packages = builtins.attrValues {
inherit (pkgs)
ani-cli
;
};
}

View file

@ -0,0 +1,10 @@
let
content = builtins.readDir ./.;
dirContent = builtins.filter (n: content.${n} == "directory") (builtins.attrNames content);
importList = map (name: ./. + "/${name}") dirContent;
in
{
imports = importList;
}

View file

@ -0,0 +1,76 @@
{
logo = {
source = "nixos_large";
padding = {
right = 2;
top = 3;
};
};
display = {
size = {
binaryPrefix = "si";
};
color = "magenta";
separator = " ";
};
modules = [
{
type = "separator";
string = "SYSTEM: ";
}
{
type = "os";
key = "NixOS Version";
}
{
type = "kernel";
key = "Kernel Version";
}
"shell"
"terminal"
"packages"
"locale"
{
type = "wm";
key = "Window Manager";
}
{
type = "separator";
string = "HARDWARE: ";
}
{
type = "board";
key = "Motherboard";
}
{
type = "cpu";
key = "Processor";
}
{
type = "gpu";
key = "Graphics";
}
"memory"
"disk"
"display"
"gamepad"
{
type = "sound";
key = "Audio Interface";
}
{
type = "separator";
string = "INTERFACE: ";
}
"theme"
"cursor"
"icons"
"font"
"editor"
"player"
{
type = "media";
key = "Song";
}
];
}

View file

@ -0,0 +1,10 @@
let
configPath = ./config;
settingsPath = import (configPath + /settings.nix);
in
{
programs.fastfetch = {
enable = true;
settings = settingsPath;
};
}

View file

@ -0,0 +1,11 @@
{
pkgs,
...
}:
{
home.packages = builtins.attrValues {
inherit (pkgs)
libgen-cli
;
};
}

View file

@ -0,0 +1,11 @@
{
pkgs,
...
}:
{
home.packages = builtins.attrValues {
inherit (pkgs)
nyancat
;
};
}

View file

@ -0,0 +1,11 @@
{
pkgs,
...
}:
{
home.packages = builtins.attrValues {
inherit (pkgs)
yabridge
;
};
}

View file

@ -0,0 +1,4 @@
''
--embed-chapters
--audio-quality 0
''

View file

@ -0,0 +1,7 @@
{
embed-thumbnail = true;
embed-subs = true;
sub-langs = "english";
downloader = "aria2c";
downloader-args = "aria2c:'-c -x8 -s8 -k1M'";
}

View file

@ -0,0 +1,13 @@
{
programs.yt-dlp =
let
configPath = ./config;
extraConfigPath = import (configPath + /extraConfig.nix);
settingsPath = import (configPath + /settings.nix);
in
{
enable = true;
extraConfig = extraConfigPath;
settings = settingsPath;
};
}