Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
423c4c8755 |
8 changed files with 127 additions and 30 deletions
|
|
@ -32,7 +32,7 @@ only KDE Plasma has been set up so far. (TODO: declaratively configure with [pla
|
||||||
|
|
||||||
* "why `chitin`? why give your configuration files a name at all?"
|
* "why `chitin`? why give your configuration files a name at all?"
|
||||||
* because it's fun. and i wanted to use a distantly related web-like word for it. my affinity for fungi made me randomly one day decide that i'd name it after [chitin](https://en.wikipedia.org/wiki/Chitin), the primary molecule giving strength to mycelium networks.
|
* because it's fun. and i wanted to use a distantly related web-like word for it. my affinity for fungi made me randomly one day decide that i'd name it after [chitin](https://en.wikipedia.org/wiki/Chitin), the primary molecule giving strength to mycelium networks.
|
||||||
* "did an AI help write-"
|
* "were these written by a coding assista-"
|
||||||
* [No](https://www.sheeeeeeeep.art/software-in-current-era.html).
|
* [No](https://www.sheeeeeeeep.art/software-in-current-era.html).
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
92
modules/home/primaryUser/programs/fastfetch.nix
Normal file
92
modules/home/primaryUser/programs/fastfetch.nix
Normal file
|
|
@ -0,0 +1,92 @@
|
||||||
|
{
|
||||||
|
flake.modules.homeManager.primaryUser = {pkgs, ...}: {
|
||||||
|
programs.fastfetch = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
"$schema" = "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json";
|
||||||
|
|
||||||
|
logo = {
|
||||||
|
type = "small";
|
||||||
|
padding.top = 4;
|
||||||
|
padding.left = 3;
|
||||||
|
padding.right = 4;
|
||||||
|
};
|
||||||
|
|
||||||
|
display.separator = " ";
|
||||||
|
|
||||||
|
modules = [
|
||||||
|
{
|
||||||
|
key = "╭─────────╮";
|
||||||
|
type = "custom";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "│ {#31}user {#keys}│";
|
||||||
|
type = "title";
|
||||||
|
format = "{user-name}";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "│ {#32}host {#keys}│";
|
||||||
|
type = "title";
|
||||||
|
format = "{host-name}";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "│ {#33}uptime {#keys}│";
|
||||||
|
type = "uptime";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "│ {#34}distro {#keys}│";
|
||||||
|
type = "os";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "│ {#35}kernel {#keys}│";
|
||||||
|
type = "kernel";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "│ {#36}desktop {#keys}│";
|
||||||
|
type = "de";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "│ {#31}term {#keys}│";
|
||||||
|
type = "terminal";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "│ {#32}shell {#keys}│";
|
||||||
|
type = "shell";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "│ {#33}cpu {#keys}│";
|
||||||
|
type = "cpu";
|
||||||
|
showPeCoreCount = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "│ {#34}disk {#keys}│";
|
||||||
|
type = "disk";
|
||||||
|
folders = "/";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "│ {#35}memory {#keys}│";
|
||||||
|
type = "memory";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "│ {#36}network {#keys}│";
|
||||||
|
type = "localip";
|
||||||
|
format = "{ipv4} ({ifname})";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "├─────────┤";
|
||||||
|
type = "custom";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "│ {#39}colors {#keys}│";
|
||||||
|
type = "colors";
|
||||||
|
symbol = "circle";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "╰─────────╯";
|
||||||
|
type = "custom";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -19,6 +19,7 @@
|
||||||
homeManagerModule
|
homeManagerModule
|
||||||
|
|
||||||
fish
|
fish
|
||||||
|
starship
|
||||||
primaryUser
|
primaryUser
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,6 @@
|
||||||
plocate
|
plocate
|
||||||
traceroute
|
traceroute
|
||||||
rlwrap
|
rlwrap
|
||||||
wl-clipboard
|
|
||||||
entr
|
entr
|
||||||
unzip
|
unzip
|
||||||
ffmpeg
|
ffmpeg
|
||||||
|
|
|
||||||
11
modules/programs/atuin.nix
Normal file
11
modules/programs/atuin.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
flake.modules.nixos.base = {
|
||||||
|
programs.atuin = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
sync_address = "https://api.atuin.sh";
|
||||||
|
enter_accept = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
flake.modules.nixos.base = {pkgs, ...}: {
|
|
||||||
environment.systemPackages = [pkgs.fastfetch];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
programs.nano = {
|
programs.nano = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.unstable.nano;
|
package = pkgs.unstable.nano;
|
||||||
syntaxHighlight = true;
|
|
||||||
nanorc = ''
|
nanorc = ''
|
||||||
set atblanks
|
set atblanks
|
||||||
set autoindent
|
set autoindent
|
||||||
|
|
@ -11,36 +10,17 @@
|
||||||
set constantshow
|
set constantshow
|
||||||
set cutfromcursor
|
set cutfromcursor
|
||||||
set jumpyscrolling
|
set jumpyscrolling
|
||||||
set keycolor normal,normal
|
set linenumbers
|
||||||
set minibar
|
set minibar
|
||||||
set minicolor normal,lightblack
|
|
||||||
set mouse
|
set mouse
|
||||||
set newbuffer
|
set newbuffer
|
||||||
set nohelp
|
set numbercolor italic,normal,normal
|
||||||
set numbercolor italic,lightblack,normal
|
|
||||||
set stateflags
|
|
||||||
set smarthome
|
set smarthome
|
||||||
set softwrap
|
set softwrap
|
||||||
set tabsize 4
|
set tabsize 4
|
||||||
set tabstospaces
|
set tabstospaces
|
||||||
set trimblanks
|
set titlecolor normal,normal
|
||||||
|
|
||||||
bind M-F nextword main
|
|
||||||
bind M-B prevword main
|
|
||||||
|
|
||||||
unbind ^S main
|
|
||||||
bind ^S whereis main
|
|
||||||
bind Sh-M-F findnext main
|
|
||||||
bind Sh-M-B findprevious main
|
|
||||||
|
|
||||||
bind Sh-M-C "{execute}| wl-copy > /dev/null 2>&1 {enter}{undo}" main
|
|
||||||
|
|
||||||
bind ^F forward main
|
|
||||||
bind ^B back main
|
|
||||||
bind M-< prevbuf main
|
|
||||||
bind M-> nextbuf main
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
19
modules/shells/starship.nix
Normal file
19
modules/shells/starship.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
flake.modules.nixos.starship = {pkgs, ...}: {
|
||||||
|
programs.starship = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.unstable.starship;
|
||||||
|
transientPrompt.enable = true;
|
||||||
|
settings = {
|
||||||
|
"$schema" = "https://starship.rs/config-schema.json";
|
||||||
|
git_status = {
|
||||||
|
ahead = ">";
|
||||||
|
behind = "<";
|
||||||
|
diverged = "<>";
|
||||||
|
renamed = "r";
|
||||||
|
deleted = "d";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue