diff --git a/modules/home/primaryUser/home-packages.nix b/modules/home/primaryUser/home-packages.nix index 423a9e3..e779805 100644 --- a/modules/home/primaryUser/home-packages.nix +++ b/modules/home/primaryUser/home-packages.nix @@ -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 ]; }; } diff --git a/modules/home/primaryUser/programs/git.nix b/modules/home/primaryUser/programs/git.nix deleted file mode 100644 index 6c34e8c..0000000 --- a/modules/home/primaryUser/programs/git.nix +++ /dev/null @@ -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"; - } - ]; - }; - }; -} diff --git a/modules/home/primaryUser/programs/lazygit.nix b/modules/home/primaryUser/programs/lazygit.nix deleted file mode 100644 index 0b11cf2..0000000 --- a/modules/home/primaryUser/programs/lazygit.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ - flake.modules.homeManager.primaryUser = {pkgs, ...}: { - programs.lazygit = { - enable = true; - package = pkgs.unstable.lazygit; - settings = { - git = { - overrideGpg = true; - }; - }; - }; - }; -} diff --git a/modules/home/primaryUser/programs/tmux.nix b/modules/home/primaryUser/programs/tmux.nix deleted file mode 100644 index d8f1641..0000000 --- a/modules/home/primaryUser/programs/tmux.nix +++ /dev/null @@ -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 - ''; - }; - }; -} diff --git a/modules/home/primaryUser/programs/yt-dlp.nix b/modules/home/primaryUser/programs/yt-dlp.nix deleted file mode 100644 index 9e624f3..0000000 --- a/modules/home/primaryUser/programs/yt-dlp.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ - flake.modules.homeManager.primaryUser = {pkgs, ...}: { - programs.yt-dlp = { - enable = true; - package = pkgs.unstable.yt-dlp; - }; - }; -} diff --git a/modules/programs/nix-ld.nix b/modules/nixos/nix-ld.nix similarity index 100% rename from modules/programs/nix-ld.nix rename to modules/nixos/nix-ld.nix diff --git a/modules/nixos/system-packages.nix b/modules/nixos/system-packages.nix index faaaf35..ea65dce 100644 --- a/modules/nixos/system-packages.nix +++ b/modules/nixos/system-packages.nix @@ -1,8 +1,13 @@ { flake.modules.nixos.base = {pkgs, ...}: { environment.systemPackages = with pkgs; [ + nh python315 stow + git + lazygit + nano + tmux # system utils file mc diff --git a/modules/programs/fastfetch.nix b/modules/programs/fastfetch.nix deleted file mode 100644 index 8b15b9d..0000000 --- a/modules/programs/fastfetch.nix +++ /dev/null @@ -1,5 +0,0 @@ -{ - flake.modules.nixos.base = {pkgs, ...}: { - environment.systemPackages = [pkgs.fastfetch]; - }; -} diff --git a/modules/programs/git.nix b/modules/programs/git.nix deleted file mode 100644 index 4040e50..0000000 --- a/modules/programs/git.nix +++ /dev/null @@ -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; - }; - }; - }; -} diff --git a/modules/programs/nano.nix b/modules/programs/nano.nix deleted file mode 100644 index 130b5e2..0000000 --- a/modules/programs/nano.nix +++ /dev/null @@ -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 - ''; - }; - }; -} diff --git a/modules/programs/nh.nix b/modules/programs/nh.nix deleted file mode 100644 index 8ace298..0000000 --- a/modules/programs/nh.nix +++ /dev/null @@ -1,5 +0,0 @@ -{ - flake.modules.nixos.base = { - programs.nh.enable = true; - }; -}