openspec
This commit is contained in:
@@ -30,6 +30,7 @@
|
|||||||
../../modules/home-manager/nvim
|
../../modules/home-manager/nvim
|
||||||
../../modules/home-manager/pi
|
../../modules/home-manager/pi
|
||||||
../../modules/home-manager/tmux
|
../../modules/home-manager/tmux
|
||||||
|
../../modules/home-manager/openspec
|
||||||
|
|
||||||
inputs.zen-browser.homeModules.beta
|
inputs.zen-browser.homeModules.beta
|
||||||
];
|
];
|
||||||
@@ -85,6 +86,7 @@
|
|||||||
nvim.enable = true;
|
nvim.enable = true;
|
||||||
pi.enable = true;
|
pi.enable = true;
|
||||||
tmux.enable = true;
|
tmux.enable = true;
|
||||||
|
openspec.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages =
|
home.packages =
|
||||||
@@ -101,7 +103,6 @@
|
|||||||
|
|
||||||
eza
|
eza
|
||||||
fastfetch
|
fastfetch
|
||||||
bat-extras.batman
|
|
||||||
nodejs
|
nodejs
|
||||||
firefox
|
firefox
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -25,12 +25,6 @@ in
|
|||||||
which
|
which
|
||||||
entr
|
entr
|
||||||
stow
|
stow
|
||||||
bat-extras.batman
|
|
||||||
bat-extras.batgrep
|
|
||||||
bat-extras.batdiff
|
|
||||||
bat-extras.batpipe
|
|
||||||
bat-extras.batwatch
|
|
||||||
bat-extras.prettybat
|
|
||||||
fastfetch
|
fastfetch
|
||||||
tldr
|
tldr
|
||||||
superfile
|
superfile
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
{ lib, config, ... }:
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
|
|
||||||
options.custom = {
|
options.custom = {
|
||||||
@@ -6,6 +11,9 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.custom.bat.enable {
|
config = lib.mkIf config.custom.bat.enable {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
bat-extras.core
|
||||||
|
];
|
||||||
programs.bat = {
|
programs.bat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config = {
|
config = {
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
"gruvbox.nvim": { "branch": "main", "commit": "154eb5ff5b96d0641307113fa385eaf0d36d9796" },
|
"gruvbox.nvim": { "branch": "main", "commit": "154eb5ff5b96d0641307113fa385eaf0d36d9796" },
|
||||||
"icalendar.vim": { "branch": "master", "commit": "542fff45385b1b5ad9781b0ad4878ba3b7ee9d5f" },
|
"icalendar.vim": { "branch": "master", "commit": "542fff45385b1b5ad9781b0ad4878ba3b7ee9d5f" },
|
||||||
"kanagawa.nvim": { "branch": "master", "commit": "bb85e4bfc8d89b0e62c8fa53ccdd13d12e2f77b3" },
|
"kanagawa.nvim": { "branch": "master", "commit": "bb85e4bfc8d89b0e62c8fa53ccdd13d12e2f77b3" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" },
|
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
||||||
"lazygit.nvim": { "branch": "main", "commit": "a04ad0dbc725134edbee3a5eea29290976695357" },
|
"lazygit.nvim": { "branch": "main", "commit": "a04ad0dbc725134edbee3a5eea29290976695357" },
|
||||||
"leetcode.nvim": { "branch": "master", "commit": "4e8b3683940a8377379ce9398e7f329e3560b42c" },
|
"leetcode.nvim": { "branch": "master", "commit": "4e8b3683940a8377379ce9398e7f329e3560b42c" },
|
||||||
"lspkind.nvim": { "branch": "master", "commit": "c7274c48137396526b59d86232eabcdc7fed8a32" },
|
"lspkind.nvim": { "branch": "master", "commit": "c7274c48137396526b59d86232eabcdc7fed8a32" },
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{ lib, config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
|
||||||
|
options.custom = {
|
||||||
|
openspec.enable = lib.mkEnableOption "enable openspec";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf config.custom.openspec.enable {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
openspec
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -40,7 +40,6 @@
|
|||||||
man = "batman";
|
man = "batman";
|
||||||
":q" = "exit";
|
":q" = "exit";
|
||||||
so = "source ~/.zshrc";
|
so = "source ~/.zshrc";
|
||||||
opencode = "OPENCODE_ENABLE_EXA=1 opencode";
|
|
||||||
zki = "zk edit --interactive --notebook-dir=~/Documents/Notes";
|
zki = "zk edit --interactive --notebook-dir=~/Documents/Notes";
|
||||||
enc = "openssl enc -aes-256-cbc -md sha512 -pbkdf2 -iter 1000000 -salt";
|
enc = "openssl enc -aes-256-cbc -md sha512 -pbkdf2 -iter 1000000 -salt";
|
||||||
backup = "packup && rm ~/Documents/packup* && mv ~/packup* ~/Documents/ && rsync --archive --update --copy-links ~/Documents 192.168.3.200:/home/jpporta/ --info=progress2";
|
backup = "packup && rm ~/Documents/packup* && mv ~/packup* ~/Documents/ && rsync --archive --update --copy-links ~/Documents 192.168.3.200:/home/jpporta/ --info=progress2";
|
||||||
@@ -51,7 +50,6 @@
|
|||||||
nix-update = "sudo nix-channel --update && sudo nixos-rebuild switch";
|
nix-update = "sudo nix-channel --update && sudo nixos-rebuild switch";
|
||||||
hms = "cd ~/nixos-config && git add . && home-manager switch --flake . ";
|
hms = "cd ~/nixos-config && git add . && home-manager switch --flake . ";
|
||||||
s = "sesh connect $(sesh list | fzf)";
|
s = "sesh connect $(sesh list | fzf)";
|
||||||
openspec = "npx @fission-ai/openspec@latest";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
initContent = lib.mkIf config.custom.zsh.fastfetch ''
|
initContent = lib.mkIf config.custom.zsh.fastfetch ''
|
||||||
|
|||||||
Reference in New Issue
Block a user