#W# Initial Commit: No Flake Config
This commit is contained in:
commit
c463cec3e2
74 changed files with 14898 additions and 0 deletions
107
home/modules/fastfetch.nix
Executable file
107
home/modules/fastfetch.nix
Executable file
|
|
@ -0,0 +1,107 @@
|
|||
{ config, pkgs, ... }: {
|
||||
programs.fastfetch = {
|
||||
enable = true;
|
||||
settings = {
|
||||
display = {
|
||||
separator = " -> ";
|
||||
};
|
||||
modules = [
|
||||
{
|
||||
type = "custom";
|
||||
format = "{#90}╭─────────────────────────────────────────────────╮";
|
||||
}
|
||||
{ type = "title"; }
|
||||
{
|
||||
type = "custom";
|
||||
format = "{#90}╰─────────────────────────────────────────────────╯";
|
||||
}
|
||||
{
|
||||
type = "custom";
|
||||
format = "{#90}╭─────────────────────────────────────────────────┐";
|
||||
}
|
||||
# OS and Software Info
|
||||
{
|
||||
type = "os";
|
||||
key = " OS";
|
||||
format = "{pretty-name}";
|
||||
keyColor = "36";
|
||||
}
|
||||
{
|
||||
type = "kernel";
|
||||
key = "│ ├ Kernel";
|
||||
keyColor = "36";
|
||||
}
|
||||
{
|
||||
type = "uptime";
|
||||
key = "│ ├ Uptime";
|
||||
keyColor = "36";
|
||||
}
|
||||
{
|
||||
type = "packages";
|
||||
key = "│ ├ Packages";
|
||||
keyColor = "36";
|
||||
}
|
||||
{
|
||||
type = "shell";
|
||||
key = "│ ├ Shell";
|
||||
keyColor = "36";
|
||||
}
|
||||
{
|
||||
type = "wm";
|
||||
key = "│ ├ WM";
|
||||
keyColor = "36";
|
||||
}
|
||||
{
|
||||
type = "terminal";
|
||||
key = "│ └ Terminal";
|
||||
keyColor = "36";
|
||||
}
|
||||
# Hardware Info
|
||||
{
|
||||
type = "host";
|
||||
key = " PC";
|
||||
keyColor = "green";
|
||||
}
|
||||
{
|
||||
type = "cpu";
|
||||
key = "│ ├ CPU";
|
||||
keyColor = "green";
|
||||
}
|
||||
{
|
||||
type = "gpu";
|
||||
key = "│ ├ GPU";
|
||||
keyColor = "green";
|
||||
}
|
||||
{
|
||||
type = "disk";
|
||||
key = "│ ├ Disk";
|
||||
keyColor = "green";
|
||||
}
|
||||
{
|
||||
type = "memory";
|
||||
key = "│ ├ RAM";
|
||||
keyColor = "green";
|
||||
}
|
||||
{
|
||||
type = "swap";
|
||||
key = "│ ├ Swap";
|
||||
keyColor = "green";
|
||||
}
|
||||
{
|
||||
type = "display";
|
||||
key = "│ └ Monitor";
|
||||
keyColor = "green";
|
||||
}
|
||||
{
|
||||
type = "custom";
|
||||
format = "{#90}╰─────────────────────────────────────────────────╯";
|
||||
}
|
||||
"break"
|
||||
{
|
||||
type = "custom";
|
||||
format = "{#90}╰─────────{#90} {#31} {#32} {#33} {#34} {#35} {#36} {#37} {#38} {#39} {#90} ─────────╯";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
27
home/modules/fuzzel.nix
Executable file
27
home/modules/fuzzel.nix
Executable file
|
|
@ -0,0 +1,27 @@
|
|||
{ pkgs, ... }: {
|
||||
programs.fuzzel = {
|
||||
enable = true;
|
||||
settings = {
|
||||
main = {
|
||||
font = "JetBrainsMono Nerd Font:size=16"; # Thin often maps to weight in Nix
|
||||
dpi-aware = "no";
|
||||
terminal = "${pkgs.ghostty}/bin/ghostty";
|
||||
lines = 20;
|
||||
width = 50;
|
||||
icons-enabled = "yes";
|
||||
icon-theme = "Papirus-Nord";
|
||||
};
|
||||
colors = {
|
||||
background = "121212ee";
|
||||
text = "ffffffff";
|
||||
selection = "444444ee";
|
||||
selection-text = "acbeb1ff";
|
||||
border = "3c4541ff";
|
||||
};
|
||||
border = {
|
||||
radius = 5;
|
||||
width = 2; # Added a small width so your border color actually shows
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
18
home/modules/scripts.nix
Executable file
18
home/modules/scripts.nix
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
{ pkgs, ... }:
|
||||
let
|
||||
# This packages your script and its dependencies
|
||||
nerdfont-search = pkgs.writeShellScriptBin "nfPicker" ''
|
||||
# We reference the CSV file.
|
||||
# If you put nerdfont.csv in the same folder as this nix file:
|
||||
CSV_PATH="${../files/nerdfont.csv}"
|
||||
|
||||
# Run the pipeline using packages from the Nix store
|
||||
cat "$CSV_PATH" | ${pkgs.fuzzel}/bin/fuzzel -d | ${pkgs.gawk}/bin/gawk -F, '{printf $3}' | ${pkgs.wl-clipboard}/bin/wl-copy
|
||||
${pkgs.wl-clipboard}/bin/wl-paste
|
||||
'';
|
||||
in
|
||||
{
|
||||
home.packages = [
|
||||
nerdfont-search
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue