Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
434f75ddba |
|||
|
9695392358 |
|||
|
294a2b17b1 |
10 changed files with 39 additions and 138 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.
|
||||||
* "were these written by a coding assista-"
|
* "did an AI help write-"
|
||||||
* [No](https://www.sheeeeeeeep.art/software-in-current-era.html).
|
* [No](https://www.sheeeeeeeep.art/software-in-current-era.html).
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -100,13 +100,13 @@
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 315532800,
|
"lastModified": 315532800,
|
||||||
"narHash": "sha256-17eNBI5Khe4JZaRkL5hRGPWf8MZ6qv+bWAr4V8YeKBw=",
|
"narHash": "sha256-JiTUXdoNJNvdD+fjVlftWiLKJfHut3cIi8j2HXL9kT4=",
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1100280.3ec636362e18/nixexprs.tar.zst"
|
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-26.11pre1108556.6dadaf4375be/nixexprs.tar.zst"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1100280.3ec636362e18/nixexprs.tar.zst"
|
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-26.11pre1108556.6dadaf4375be/nixexprs.tar.zst"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
import-tree.url = "github:vic/import-tree";
|
import-tree.url = "github:vic/import-tree";
|
||||||
nixpkgs.url = "https://channels.nixos.org/nixos-26.05/nixexprs.tar.zst";
|
nixpkgs.url = "https://channels.nixos.org/nixos-26.05/nixexprs.tar.zst";
|
||||||
nixpkgs-lib.follows = "nixpkgs-unstable";
|
nixpkgs-lib.follows = "nixpkgs-unstable";
|
||||||
nixpkgs-unstable.url = "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1100280.3ec636362e18/nixexprs.tar.zst";
|
nixpkgs-unstable.url = "https://releases.nixos.org/nixpkgs/nixpkgs-26.11pre1108556.6dadaf4375be/nixexprs.tar.zst";
|
||||||
xcursor-plan9 = {
|
xcursor-plan9 = {
|
||||||
url = "github:wintermute-cell/xcursor-plan9";
|
url = "github:wintermute-cell/xcursor-plan9";
|
||||||
flake = false;
|
flake = false;
|
||||||
|
|
|
||||||
|
|
@ -1,92 +0,0 @@
|
||||||
{
|
|
||||||
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,7 +19,6 @@
|
||||||
homeManagerModule
|
homeManagerModule
|
||||||
|
|
||||||
fish
|
fish
|
||||||
starship
|
|
||||||
primaryUser
|
primaryUser
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,8 @@
|
||||||
in {
|
in {
|
||||||
flake-file.inputs = {
|
flake-file.inputs = {
|
||||||
nixpkgs.url = "https://channels.nixos.org/nixos-${systemConstants.nixpkgsStableVersion}/nixexprs.tar.zst";
|
nixpkgs.url = "https://channels.nixos.org/nixos-${systemConstants.nixpkgsStableVersion}/nixexprs.tar.zst";
|
||||||
nixpkgs-unstable.url = "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1100280.3ec636362e18/nixexprs.tar.zst";
|
# last updated: 2026-11-06 11:00 UTC
|
||||||
|
nixpkgs-unstable.url = "https://releases.nixos.org/nixpkgs/nixpkgs-26.11pre1108556.6dadaf4375be/nixexprs.tar.zst";
|
||||||
nixpkgs-lib.follows = "nixpkgs-unstable";
|
nixpkgs-lib.follows = "nixpkgs-unstable";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
{
|
|
||||||
flake.modules.nixos.base = {
|
|
||||||
programs.atuin = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
sync_address = "https://api.atuin.sh";
|
|
||||||
enter_accept = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
5
modules/programs/fastfetch.nix
Normal file
5
modules/programs/fastfetch.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
flake.modules.nixos.base = {pkgs, ...}: {
|
||||||
|
environment.systemPackages = [pkgs.fastfetch];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
package = pkgs.unstable.nano;
|
package = pkgs.unstable.nano;
|
||||||
syntaxHighlight = true;
|
syntaxHighlight = true;
|
||||||
nanorc = ''
|
nanorc = ''
|
||||||
|
# nano preferences (alphabetical)
|
||||||
set atblanks
|
set atblanks
|
||||||
set autoindent
|
set autoindent
|
||||||
set casesensitive
|
set casesensitive
|
||||||
|
|
@ -13,34 +14,51 @@
|
||||||
set jumpyscrolling
|
set jumpyscrolling
|
||||||
set keycolor normal,normal
|
set keycolor normal,normal
|
||||||
set minibar
|
set minibar
|
||||||
set minicolor normal,lightblack
|
|
||||||
set mouse
|
set mouse
|
||||||
set newbuffer
|
set newbuffer
|
||||||
set nohelp
|
set nohelp
|
||||||
set numbercolor italic,lightblack,normal
|
set numbercolor italic,lightblack,normal
|
||||||
|
set promptcolor black,lightyellow
|
||||||
set stateflags
|
set stateflags
|
||||||
set smarthome
|
set smarthome
|
||||||
set softwrap
|
set softwrap
|
||||||
set tabsize 4
|
set tabsize 4
|
||||||
set tabstospaces
|
set tabstospaces
|
||||||
set trimblanks
|
set trimblanks
|
||||||
|
# search keybinds: editor
|
||||||
bind M-F nextword main
|
|
||||||
bind M-B prevword main
|
|
||||||
|
|
||||||
unbind ^S main
|
unbind ^S main
|
||||||
bind ^S whereis main
|
bind ^S whereis main
|
||||||
bind Sh-M-F findnext main
|
bind Sh-M-F findnext main
|
||||||
bind Sh-M-B findprevious main
|
bind Sh-M-B findprevious main
|
||||||
|
# search keybinds: file browser
|
||||||
bind Sh-M-C "{execute}| wl-copy {enter}{undo}" main
|
unbind ^S browser
|
||||||
|
bind ^S whereis browser
|
||||||
|
bind Sh-M-F findnext browser
|
||||||
|
bind Sh-M-B findprevious browser
|
||||||
|
# text copying (killing) from editor
|
||||||
|
unbind M-K main
|
||||||
|
bind M-K copy main
|
||||||
|
bind Sh-M-K cutfromcursor main
|
||||||
|
# copy from editor into system (Wayland) clipboard
|
||||||
|
bind Sh-M-C "{execute}| wl-copy > /dev/null 2>&1 {enter}{exit}n" main
|
||||||
|
# insert lambda into editor
|
||||||
|
unbind ^\ main
|
||||||
|
bind ^\ "λ" main
|
||||||
|
# center/raise/lower cursor position in editor
|
||||||
|
unbind ^L main
|
||||||
|
bind ^L cycle main
|
||||||
|
# editor cursor navigation by word boundaries (a la Emacs)
|
||||||
|
bind M-F nextword main
|
||||||
|
bind M-B prevword main
|
||||||
|
# editor cursor navigation horizontally
|
||||||
bind ^F forward main
|
bind ^F forward main
|
||||||
bind ^B back main
|
bind ^B back main
|
||||||
|
bind ^F forward browser
|
||||||
|
bind ^B back browser
|
||||||
|
# editor buffer navigation
|
||||||
bind M-< prevbuf main
|
bind M-< prevbuf main
|
||||||
bind M-> nextbuf main
|
bind M-> nextbuf main
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
{
|
|
||||||
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