Watch
1
0
Fork
You've already forked chitin
0

Compare commits

..
Author SHA1 Message Date
423c4c8755
removed nvf
and in turn, removed Neovim. added nanorc
2026-11-02 19:40:45 +07:00
8 changed files with 127 additions and 30 deletions

View file

@ -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?"
* 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).

View 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";
}
];
};
};
};
}

View file

@ -19,6 +19,7 @@
homeManagerModule
fish
starship
primaryUser
];
};

View file

@ -16,7 +16,6 @@
plocate
traceroute
rlwrap
wl-clipboard
entr
unzip
ffmpeg

View file

@ -0,0 +1,11 @@
{
flake.modules.nixos.base = {
programs.atuin = {
enable = true;
settings = {
sync_address = "https://api.atuin.sh";
enter_accept = true;
};
};
};
}

View file

@ -1,5 +0,0 @@
{
flake.modules.nixos.base = {pkgs, ...}: {
environment.systemPackages = [pkgs.fastfetch];
};
}

View file

@ -3,7 +3,6 @@
programs.nano = {
enable = true;
package = pkgs.unstable.nano;
syntaxHighlight = true;
nanorc = ''
set atblanks
set autoindent
@ -11,36 +10,17 @@
set constantshow
set cutfromcursor
set jumpyscrolling
set keycolor normal,normal
set linenumbers
set minibar
set minicolor normal,lightblack
set mouse
set newbuffer
set nohelp
set numbercolor italic,lightblack,normal
set stateflags
set numbercolor italic,normal,normal
set smarthome
set softwrap
set tabsize 4
set tabstospaces
set trimblanks
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
set titlecolor normal,normal
'';
};
};
}

View 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";
};
};
};
};
}