more stow-ing
This commit is contained in:
parent
c20115520a
commit
26965dce7e
11 changed files with 8 additions and 175 deletions
|
|
@ -15,6 +15,7 @@
|
|||
haruna
|
||||
subtitlecomposer
|
||||
kid3
|
||||
unstable.yt-dlp
|
||||
# music
|
||||
furnace
|
||||
corrscope
|
||||
|
|
@ -29,6 +30,8 @@
|
|||
(bottles.override {removeWarningPopup = true;})
|
||||
# development
|
||||
unstable.guile
|
||||
# misc.
|
||||
fastfetch
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,23 +0,0 @@
|
|||
{systemConstants, ...}: {
|
||||
flake.modules.homeManager.primaryUser = {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
settings = {
|
||||
user.name = systemConstants.repositoryOwnerUsername;
|
||||
user.email = systemConstants.repositoryOwnerEmail;
|
||||
};
|
||||
|
||||
signing = {
|
||||
key = "${systemConstants.primaryUserHomeDirectory}/.ssh/id_ed25519.pub";
|
||||
format = "ssh";
|
||||
};
|
||||
|
||||
includes = [
|
||||
{
|
||||
condition = "gitdir:${systemConstants.primaryUserInfraDirectory}";
|
||||
contents.core.sshCommand = "ssh -i ${systemConstants.primaryUserHomeDirectory}/.ssh/id_ed25519";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
{
|
||||
flake.modules.homeManager.primaryUser = {pkgs, ...}: {
|
||||
programs.lazygit = {
|
||||
enable = true;
|
||||
package = pkgs.unstable.lazygit;
|
||||
settings = {
|
||||
git = {
|
||||
overrideGpg = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
{
|
||||
flake.modules.homeManager.primaryUser = {
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
clock24 = true;
|
||||
baseIndex = 1;
|
||||
keyMode = "vi";
|
||||
terminal = "tmux-256color";
|
||||
escapeTime = 10;
|
||||
extraConfig = ''
|
||||
set -g pane-base-index 1
|
||||
set-window-option -g pane-base-index 1
|
||||
set-option -g renumber-windows on
|
||||
set-option -g status-right "\"#W\""
|
||||
set -ga terminal-overrides ",*:RGB"
|
||||
set -g mouse on
|
||||
set -g set-clipboard on
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
flake.modules.homeManager.primaryUser = {pkgs, ...}: {
|
||||
programs.yt-dlp = {
|
||||
enable = true;
|
||||
package = pkgs.unstable.yt-dlp;
|
||||
};
|
||||
};
|
||||
}
|
||||
15
modules/nixos/nix-ld.nix
Normal file
15
modules/nixos/nix-ld.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
flake.modules.nixos.base = {pkgs, ...}: {
|
||||
programs.nix-ld = {
|
||||
enable = true;
|
||||
libraries = with pkgs; [
|
||||
fuse
|
||||
e2fsprogs
|
||||
stdenv.cc.cc
|
||||
zlib
|
||||
alsa-lib
|
||||
expat
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,8 +1,13 @@
|
|||
{
|
||||
flake.modules.nixos.base = {pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
nh
|
||||
python315
|
||||
stow
|
||||
git
|
||||
lazygit
|
||||
nano
|
||||
tmux
|
||||
# system utils
|
||||
file
|
||||
mc
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
flake.modules.nixos.base = {pkgs, ...}: {
|
||||
environment.systemPackages = [pkgs.fastfetch];
|
||||
};
|
||||
}
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
{
|
||||
flake.modules.nixos.base = {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
config = {
|
||||
init.defaultBranch = "main";
|
||||
advice.defaultBranchName = false;
|
||||
gpg.format = "ssh";
|
||||
commit.gpgSign = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,87 +0,0 @@
|
|||
{
|
||||
flake.modules.nixos.base = {pkgs, ...}: {
|
||||
programs.nano = {
|
||||
enable = true;
|
||||
package = pkgs.unstable.nano;
|
||||
syntaxHighlight = true;
|
||||
nanorc = ''
|
||||
# nano preferences (alphabetical)
|
||||
set atblanks
|
||||
set autoindent
|
||||
set casesensitive
|
||||
set constantshow
|
||||
set cutfromcursor
|
||||
set jumpyscrolling
|
||||
set keycolor normal,normal
|
||||
set minibar
|
||||
set mouse
|
||||
set newbuffer
|
||||
set nohelp
|
||||
set numbercolor italic,lightblack,normal
|
||||
set promptcolor black,lightyellow
|
||||
set stateflags
|
||||
set smarthome
|
||||
set softwrap
|
||||
set tabsize 4
|
||||
set tabstospaces
|
||||
set trimblanks
|
||||
|
||||
# search keybinds: editor
|
||||
unbind ^S main
|
||||
bind ^S whereis main
|
||||
bind Sh-M-F findnext main
|
||||
bind Sh-M-B findprevious main
|
||||
|
||||
# search keybinds: file browser
|
||||
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
|
||||
|
||||
# redo keybind
|
||||
bind Sh-M-U redo main
|
||||
|
||||
# editor cursor navigation by block
|
||||
unbind M-A main
|
||||
unbind M-E main
|
||||
bind M-A beginpara main
|
||||
bind M-E endpara main
|
||||
bind M-( beginpara main
|
||||
bind M-) endpara main
|
||||
|
||||
# text marking keybind
|
||||
bind ^Space mark 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 ^B back main
|
||||
bind ^F forward browser
|
||||
bind ^B back browser
|
||||
|
||||
# editor buffer navigation
|
||||
bind M-< prevbuf main
|
||||
bind M-> nextbuf main
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
flake.modules.nixos.base = {
|
||||
programs.nh.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue