Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0e81512c68 | ||
|
|
c445f239aa | ||
|
|
735bb46016 | ||
|
|
4d1b53eb42 | ||
|
|
f15d5bb6ac | ||
|
|
be976926f8 |
No files matched your search
+15
@@ -1 +1,16 @@
|
|||||||
result
|
result
|
||||||
|
|
||||||
|
mutable_config/zed/prompts/*
|
||||||
|
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
|
# Devenv
|
||||||
|
.devenv*
|
||||||
|
devenv.local.nix
|
||||||
|
devenv.local.yaml
|
||||||
|
|
||||||
|
# direnv
|
||||||
|
.direnv
|
||||||
|
|
||||||
|
# pre-commit
|
||||||
|
.pre-commit-config.yaml
|
||||||
@@ -16,6 +16,7 @@ Managed via Home Manager (`home.nix`). Applied using `./apply.sh`.
|
|||||||
**CLI Utilities**
|
**CLI Utilities**
|
||||||
- `neovim` - Editor
|
- `neovim` - Editor
|
||||||
- `git`, `lazygit` - Version control
|
- `git`, `lazygit` - Version control
|
||||||
|
- `but` - GitButler CLI (`pkgs/but.nix`, pinned; bump version/hashes by hand)
|
||||||
- `ripgrep` (`rg`), `fd` - Fast search
|
- `ripgrep` (`rg`), `fd` - Fast search
|
||||||
- `pay-respects` - Command correction (`f`)
|
- `pay-respects` - Command correction (`f`)
|
||||||
- `sops`, `age` - Secret management
|
- `sops`, `age` - Secret management
|
||||||
|
|||||||
@@ -1,20 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
set -e
|
|
||||||
|
|
||||||
echo "=> Ensuring local config stubs exist..."
|
|
||||||
touch ~/.local_env.nu ~/.local.nu
|
|
||||||
|
|
||||||
echo "=> Running smoke test on Nushell config..."
|
|
||||||
nu -c "source ~/.dotfiles/config/nushell/env.nu; source ~/.dotfiles/config/nushell/config.nu" || {
|
|
||||||
echo "Smoke test failed! Fix Nushell config errors before applying."
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
echo "=> Smoke test passed. Applying home-manager configuration..."
|
|
||||||
if [[ "$(uname -s)" == "Darwin" ]]; then
|
|
||||||
TARGET="mac"
|
|
||||||
else
|
|
||||||
TARGET="linux"
|
|
||||||
fi
|
|
||||||
home-manager switch --flake .#$TARGET -b "backup-$(date +%s)"
|
|
||||||
echo "=> Done."
|
|
||||||
@@ -75,6 +75,7 @@ alias ag = ast-grep
|
|||||||
alias zdev = zellij --layout yazineo
|
alias zdev = zellij --layout yazineo
|
||||||
alias zterm = zellij --layout terminal
|
alias zterm = zellij --layout terminal
|
||||||
alias bt = but tui
|
alias bt = but tui
|
||||||
|
alias spf = superfile
|
||||||
|
|
||||||
if ( which task | is-empty ) {
|
if ( which task | is-empty ) {
|
||||||
alias task = go tool task
|
alias task = go tool task
|
||||||
@@ -103,7 +104,7 @@ source $"($nu.cache-dir)/starship.nu"
|
|||||||
source $"($nu.cache-dir)/carapace.nu"
|
source $"($nu.cache-dir)/carapace.nu"
|
||||||
source $"($nu.cache-dir)/zoxide.nu"
|
source $"($nu.cache-dir)/zoxide.nu"
|
||||||
source $"($nu.cache-dir)/atuin.nu"
|
source $"($nu.cache-dir)/atuin.nu"
|
||||||
source $"($nu.cache-dir)/mise.nu"
|
source $"($nu.cache-dir)/devenv.nu"
|
||||||
|
|
||||||
#--------
|
#--------
|
||||||
# Scripts
|
# Scripts
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ path add ~/go/bin
|
|||||||
path add ~/.local/share/bob/nvim-bin
|
path add ~/.local/share/bob/nvim-bin
|
||||||
path add ~/.nix-profile/bin
|
path add ~/.nix-profile/bin
|
||||||
|
|
||||||
$env.SHELL = '/usr/bin/nu'
|
$env.SHELL = which nu
|
||||||
$env.ZELLIJ_SOCKET_DIR = '/tmp/zellij'
|
$env.ZELLIJ_SOCKET_DIR = '/tmp/zellij'
|
||||||
$env.RAINFROG_CONFIG = '~/.config/rainfrog'
|
$env.RAINFROG_CONFIG = '~/.config/rainfrog'
|
||||||
|
|
||||||
@@ -32,12 +32,7 @@ if (which zoxide | is-not-empty) { zoxide init nushell | save -f $"($nu.cache-di
|
|||||||
if (which atuin | is-not-empty) { atuin init nu | save -f $"($nu.cache-dir)/atuin.nu" } else { "" | save -f $"($nu.cache-dir)/atuin.nu" }
|
if (which atuin | is-not-empty) { atuin init nu | save -f $"($nu.cache-dir)/atuin.nu" } else { "" | save -f $"($nu.cache-dir)/atuin.nu" }
|
||||||
$env.CARAPACE_BRIDGES = 'zsh,fish,bash,inshellisense'
|
$env.CARAPACE_BRIDGES = 'zsh,fish,bash,inshellisense'
|
||||||
if (which carapace | is-not-empty) { ^carapace _carapace nushell | str replace '$env.config = $current' '$env.config = ($env.config? | default {} | merge $current)' | save -f $"($nu.cache-dir)/carapace.nu" } else { "" | save -f $"($nu.cache-dir)/carapace.nu" }
|
if (which carapace | is-not-empty) { ^carapace _carapace nushell | str replace '$env.config = $current' '$env.config = ($env.config? | default {} | merge $current)' | save -f $"($nu.cache-dir)/carapace.nu" } else { "" | save -f $"($nu.cache-dir)/carapace.nu" }
|
||||||
|
if (which devenv | is-not-empty) { devenv hook nu | save -f $"($nu.cache-dir)/devenv.nu" } else { "" | save -f $"($nu.cache-dir)/devenv.nu" }
|
||||||
if (which mise | is-not-empty) {
|
|
||||||
mise activate nu | save -f $"($nu.cache-dir)/mise.nu"
|
|
||||||
} else {
|
|
||||||
"" | save -f $"($nu.cache-dir)/mise.nu"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Deduplicate PATH at the end
|
# Deduplicate PATH at the end
|
||||||
$env.PATH = ($env.PATH | uniq)
|
$env.PATH = ($env.PATH | uniq)
|
||||||
|
|||||||
@@ -0,0 +1,92 @@
|
|||||||
|
# More details are at https://superfile.netlify.app/configure/superfile-config/
|
||||||
|
#
|
||||||
|
# change your theme
|
||||||
|
theme = 'catppuccin'
|
||||||
|
#
|
||||||
|
# The editor files will be opened with. (Leave blank to use the EDITOR environment variable).
|
||||||
|
editor = "nvim"
|
||||||
|
#
|
||||||
|
# The editor directories will be opened with. (Leave blank to use the default editors).
|
||||||
|
dir_editor = ""
|
||||||
|
#
|
||||||
|
# Auto check for update
|
||||||
|
auto_check_update = true
|
||||||
|
#
|
||||||
|
# Cd on quit (For more details, please check out https://superfile.netlify.app/configure/superfile-config/#cd_on_quit)
|
||||||
|
cd_on_quit = false
|
||||||
|
#
|
||||||
|
# Whether to open file preview automatically every time superfile is opened.
|
||||||
|
default_open_file_preview = true
|
||||||
|
#
|
||||||
|
# Whether to show image preview
|
||||||
|
show_image_preview = true
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Whether to hide additional footer info for file panel.
|
||||||
|
show_panel_footer_info = true
|
||||||
|
#
|
||||||
|
# The path of the first file panel when superfile is opened.
|
||||||
|
default_directory = "."
|
||||||
|
#
|
||||||
|
# Display file sizes using powers of 1000 (kB, MB, GB) instead of powers of 1024 (KiB, MiB, GiB).
|
||||||
|
file_size_use_si = false
|
||||||
|
#
|
||||||
|
# Default sort type (0: Name, 1: Size, 2: Date Modified, 3: Type).
|
||||||
|
default_sort_type = 0
|
||||||
|
#
|
||||||
|
# Default sort order (false: Ascending, true: Descending).
|
||||||
|
sort_order_reversed = false
|
||||||
|
#
|
||||||
|
# Case sensitive sort by name (upper "B" comes before lower "a" if true).
|
||||||
|
case_sensitive_sort = false
|
||||||
|
#
|
||||||
|
# Whether to exit the shell on successful command execution.
|
||||||
|
shell_close_on_success = false
|
||||||
|
#
|
||||||
|
# Whether to enable debug mode.
|
||||||
|
debug = false
|
||||||
|
#
|
||||||
|
# Whether to ignore warnings about missing fields in the config file.
|
||||||
|
ignore_missing_fields = false
|
||||||
|
#
|
||||||
|
# ================ Style =================
|
||||||
|
#
|
||||||
|
# Whether to use the builtin syntax highlighting with chroma or use bat. Values: "" for builtin chroma, "bat" for bat
|
||||||
|
code_previewer = ''
|
||||||
|
#
|
||||||
|
# If you don't have or don't want Nerdfont installed you can turn this off
|
||||||
|
nerdfont = true
|
||||||
|
#
|
||||||
|
# Set transparent background or not (this only work when your terminal background is transparent)
|
||||||
|
transparent_background = false
|
||||||
|
#
|
||||||
|
# File preview width allow '0' (this mean same as file panel),'x' x must be from 2 to 10 (This means that the width of the file preview will be one xth of the total width.)
|
||||||
|
file_preview_width = 0
|
||||||
|
#
|
||||||
|
# The length of the sidebar. If you don't want to display the sidebar, you can input 0 directly. If you want to display the value, please place it in the range of 3-20.
|
||||||
|
sidebar_width = 20
|
||||||
|
#
|
||||||
|
# Border style
|
||||||
|
# Make sure to add strings exactly one character wide. Use ' ' for borderless
|
||||||
|
border_top = '─'
|
||||||
|
border_bottom = '─'
|
||||||
|
border_left = '│'
|
||||||
|
border_right = '│'
|
||||||
|
border_top_left = '╭'
|
||||||
|
border_top_right = '╮'
|
||||||
|
border_bottom_left = '╰'
|
||||||
|
border_bottom_right = '╯'
|
||||||
|
border_middle_left = '├'
|
||||||
|
border_middle_right = '┤'
|
||||||
|
#
|
||||||
|
# ========== PLUGINS ========== #
|
||||||
|
# Plugins means that you need to install some external dependencies to use them.
|
||||||
|
#
|
||||||
|
# Show more detailed metadata, please install exiftool before enabling this plugin!
|
||||||
|
metadata = false
|
||||||
|
#
|
||||||
|
# Enable MD5 checksum generation for files
|
||||||
|
enable_md5_checksum = false
|
||||||
|
#
|
||||||
|
# Zoxide support for the fast navigation
|
||||||
|
zoxide_support = true
|
||||||
+65
@@ -0,0 +1,65 @@
|
|||||||
|
{
|
||||||
|
"nodes": {
|
||||||
|
"devenv": {
|
||||||
|
"locked": {
|
||||||
|
"dir": "src/modules",
|
||||||
|
"lastModified": 1789480904,
|
||||||
|
"narHash": "sha256-anHWHTkxI7423/eUroN9Rc4+H8VIGyIUWq/hV1egBDQ=",
|
||||||
|
"owner": "cachix",
|
||||||
|
"repo": "devenv",
|
||||||
|
"rev": "0fd5e6d3a9b2ae6f10205a3e95e0ca58d526c5a6",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"dir": "src/modules",
|
||||||
|
"owner": "cachix",
|
||||||
|
"repo": "devenv",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs-src": "nixpkgs-src"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1789506231,
|
||||||
|
"narHash": "sha256-vNkJbtmqyBfFhn/HnzQo4ROuoyYWuy/allqTfJb4kMY=",
|
||||||
|
"owner": "cachix",
|
||||||
|
"repo": "devenv-nixpkgs",
|
||||||
|
"rev": "c2f38fe7f9e04d9aadd354d380f2bd40531d9737",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "cachix",
|
||||||
|
"ref": "rolling",
|
||||||
|
"repo": "devenv-nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs-src": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1789370336,
|
||||||
|
"narHash": "sha256-6RSEDHIWQtesQKWSu5qRai8L2h4KgCgMEfJHstW99G4=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "c7def046b9a883d46974757852106483d741586f",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixpkgs-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": {
|
||||||
|
"inputs": {
|
||||||
|
"devenv": "devenv",
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": "root",
|
||||||
|
"version": 7
|
||||||
|
}
|
||||||
+11
@@ -0,0 +1,11 @@
|
|||||||
|
{ pkgs, lib, config, inputs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
packages = [ pkgs.git ];
|
||||||
|
|
||||||
|
# https://devenv.sh/git-hooks/
|
||||||
|
# git-hooks.hooks.shellcheck.enable = true;
|
||||||
|
|
||||||
|
# See full reference at https://devenv.sh/reference/options/
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
# yaml-language-server: $schema=https://devenv.sh/devenv.schema.json
|
||||||
|
inputs:
|
||||||
|
nixpkgs:
|
||||||
|
url: github:cachix/devenv-nixpkgs/rolling
|
||||||
|
|
||||||
|
allow_unfree: true
|
||||||
Generated
+179
-72
@@ -30,11 +30,11 @@
|
|||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1786855262,
|
"lastModified": 1789646089,
|
||||||
"narHash": "sha256-mMgM6dKcrpZ0sBrlnYU4EoV1JzWjIP8faWPllFXhW8g=",
|
"narHash": "sha256-UyDDTYPZCAY188ya/qGFIu6FRRO8nqdUmYHkTkRg2/Y=",
|
||||||
"owner": "chaotic-cx",
|
"owner": "chaotic-cx",
|
||||||
"repo": "nyx",
|
"repo": "nyx",
|
||||||
"rev": "651d55cfb9ae62189ce078ad35161043490c1a96",
|
"rev": "ecc8cad9bbbad5d2eb38f354c90f39daf92626a5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -66,21 +66,19 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-parts": {
|
"flake-compat": {
|
||||||
"inputs": {
|
"flake": false,
|
||||||
"nixpkgs-lib": "nixpkgs-lib"
|
|
||||||
},
|
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1785627969,
|
"lastModified": 1767039857,
|
||||||
"narHash": "sha256-4dtXQk/NMePegK/nWp5NSeuZKLATItOq61lpEvmXqGw=",
|
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
|
||||||
"owner": "hercules-ci",
|
"owner": "edolstra",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-compat",
|
||||||
"rev": "427bf4bd9435fdf21321c8cc628c24efc14c0f7a",
|
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "hercules-ci",
|
"owner": "edolstra",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-compat",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -98,6 +96,49 @@
|
|||||||
"url": "https://flakehub.com/f/DeterminateSystems/flake-schemas/%3D0.5.0.tar.gz"
|
"url": "https://flakehub.com/f/DeterminateSystems/flake-schemas/%3D0.5.0.tar.gz"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"flake-utils": {
|
||||||
|
"inputs": {
|
||||||
|
"systems": "systems_3"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1731533236,
|
||||||
|
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"gomod2nix": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-utils": [
|
||||||
|
"superfile",
|
||||||
|
"flake-utils"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"superfile",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1770585520,
|
||||||
|
"narHash": "sha256-yBz9Ozd5Wb56i3e3cHZ8WcbzCQ9RlVaiW18qDYA/AzA=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "gomod2nix",
|
||||||
|
"rev": "1201ddd1279c35497754f016ef33d5e060f3da8d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "gomod2nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -127,11 +168,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1786719456,
|
"lastModified": 1789482455,
|
||||||
"narHash": "sha256-B74DLQs/VjlqyhnnX3tguWwghqJHWSJX30TKZuAljIg=",
|
"narHash": "sha256-pD3qVlQ4mUCFoTWrYtxecpSitQMsgJvJIN0FUIDZoEU=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "83b7606dcf44abe3a94b86e8bb2b3355d22e8797",
|
"rev": "efa3ccb4c3cc90d832eab232976379058fa75aa3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -147,11 +188,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1784789275,
|
"lastModified": 1789652175,
|
||||||
"narHash": "sha256-cgRTWuG+u1tBPhm01JrId2k0Bni09phVJ1Q0BZlRd7M=",
|
"narHash": "sha256-OVgwnH7e/GlJRscTPXnJ8wwy6Mh+hk0MedEw360o8U8=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "3b0e6bbd65869af1beadf5963a99befc179d209f",
|
"rev": "f2785222a14e90f8c5ad2ff62474ce88453c3421",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -160,6 +201,28 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"home-manager_4": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixcord",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1789267039,
|
||||||
|
"narHash": "sha256-LWiBv9yAYFi2LPbUhDGHPGKYskJQjj2fw12OlyO1uQo=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"rev": "ec172013fa62135f58fb58dd17ae9651e8f39727",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"ref": "release-26.05",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"hyprmod": {
|
"hyprmod": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -167,11 +230,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1787208859,
|
"lastModified": 1787844471,
|
||||||
"narHash": "sha256-f8ygnyOlwXGfM31+GB+B8y7TYDShyzHKuPo1ww+uxtQ=",
|
"narHash": "sha256-AKnBFjkZs4UGZqMT3yIkaCdpvM2fVccU1dVuK5AVZBk=",
|
||||||
"owner": "BlueManCZ",
|
"owner": "BlueManCZ",
|
||||||
"repo": "hyprmod",
|
"repo": "hyprmod",
|
||||||
"rev": "bf5b55a9a89d7eab5a6d6947743de9dcb1cacd4a",
|
"rev": "ffd47d804d8996cf3852dbb7ca1c949c424a57fb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -180,19 +243,42 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nix-darwin": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixcord",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1783744694,
|
||||||
|
"narHash": "sha256-2cp6N3rrwnGYLTx9l6N+NI+kwrCWxvJUbj5WJhvB29A=",
|
||||||
|
"owner": "nix-darwin",
|
||||||
|
"repo": "nix-darwin",
|
||||||
|
"rev": "c3e90c89649b07d1a96e4b9dd6cd0d6e44b91a74",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-darwin",
|
||||||
|
"ref": "nix-darwin-26.05",
|
||||||
|
"repo": "nix-darwin",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixcord": {
|
"nixcord": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-parts": "flake-parts",
|
"home-manager": "home-manager_4",
|
||||||
|
"nix-darwin": "nix-darwin",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"nixpkgs-nixcord": "nixpkgs-nixcord",
|
"nixpkgs-nixcord": "nixpkgs-nixcord",
|
||||||
"treefmt-nix": "treefmt-nix"
|
"treefmt-nix": "treefmt-nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1786878900,
|
"lastModified": 1789635917,
|
||||||
"narHash": "sha256-Q2Ed3e0TvgP6vNp6j6Lw8ReObARjl3TQgMWr1uutOjs=",
|
"narHash": "sha256-o8AQKmjmTE/wWZ1eTTzCSG9ZUzWUq71ChL0nCycW1bI=",
|
||||||
"owner": "kaylorben",
|
"owner": "kaylorben",
|
||||||
"repo": "nixcord",
|
"repo": "nixcord",
|
||||||
"rev": "c2739f4f45543aad98ec0b0bb27975fb2ff55455",
|
"rev": "65485f4b335e9a0e8a77d88a1595c70341919ac3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -203,42 +289,24 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1786599213,
|
"lastModified": 1789426278,
|
||||||
"narHash": "sha256-yNJd40f11EzXBjSByCB7IPpeFFAdeoSKKM67dGkfFoU=",
|
"narHash": "sha256-LMzzTWExGdJ1S8U3IP5egkZEtyMswAwYowTAxIlkEZs=",
|
||||||
"owner": "NixOS",
|
"rev": "efe6f071ede9d21c37462d2d6682d5e670099684",
|
||||||
"repo": "nixpkgs",
|
"type": "tarball",
|
||||||
"rev": "0e251e24a4f24e036a084b6b4b2d2491af4167f4",
|
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1074086.efe6f071ede9/nixexprs.tar.zst"
|
||||||
"type": "github"
|
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"type": "tarball",
|
||||||
"ref": "nixos-unstable",
|
"url": "https://channels.nixos.org/nixos-unstable/nixexprs.tar.zst"
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs-lib": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1785031560,
|
|
||||||
"narHash": "sha256-OmshNvn2vupOFpYinLUu+1Dnpu4n7Q5N3ggGVNHpkUI=",
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "nixpkgs.lib",
|
|
||||||
"rev": "0e79af5e3d4dcfcd676ab5ba3f95d2e3352e078c",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "nixpkgs.lib",
|
|
||||||
"type": "github"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs-nixcord": {
|
"nixpkgs-nixcord": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1786711500,
|
"lastModified": 1789459628,
|
||||||
"narHash": "sha256-QvnceIGTBeDvDd9oCn+GvdsnkquliuwbVgpiRH68qaQ=",
|
"narHash": "sha256-JOaadoI/IC9qEvwlnjwAhwdcWkCDqEeOJ+cOtUH/8RQ=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "02e08985a27c65ffd33d434eeb2e660a2e4dc84d",
|
"rev": "b67c7a60c3732edd4b947a7df8af06215851a614",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -250,11 +318,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1786711500,
|
"lastModified": 1789459628,
|
||||||
"narHash": "sha256-QvnceIGTBeDvDd9oCn+GvdsnkquliuwbVgpiRH68qaQ=",
|
"narHash": "sha256-JOaadoI/IC9qEvwlnjwAhwdcWkCDqEeOJ+cOtUH/8RQ=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "02e08985a27c65ffd33d434eeb2e660a2e4dc84d",
|
"rev": "b67c7a60c3732edd4b947a7df8af06215851a614",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -266,11 +334,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1784497964,
|
"lastModified": 1789546076,
|
||||||
"narHash": "sha256-vlHUuqAcbcH2RKmHbPiuQzbv1pnzzavXnI62RD0bqCU=",
|
"narHash": "sha256-zVxLZiSnmaaPLwnhj7pwmqe3axBg/C6nG5JZsJMh2g4=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "241313f4e8e508cb9b13278c2b0fa25b9ca27163",
|
"rev": "b1b875982b17dabde9b4a37f3e229e74913e6db3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -282,11 +350,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_4": {
|
"nixpkgs_4": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1787360063,
|
"lastModified": 1789149629,
|
||||||
"narHash": "sha256-95aJfHyQTLWslCXFVNB0odgmVkpdmDezQwTg9mhqV1E=",
|
"narHash": "sha256-eQUZVehWLDBbpBR2rq6DnuRee1ULT6Y675RhsYDSjYI=",
|
||||||
"rev": "2c423e03bbafcff28bfadc6781a4a8257f205cb5",
|
"rev": "eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1059570.2c423e03bbaf/nixexprs.tar.xz"
|
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1072397.eaad089433ca/nixexprs.tar.xz"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
@@ -301,7 +369,8 @@
|
|||||||
"hyprmod": "hyprmod",
|
"hyprmod": "hyprmod",
|
||||||
"nixcord": "nixcord",
|
"nixcord": "nixcord",
|
||||||
"nixpkgs": "nixpkgs_3",
|
"nixpkgs": "nixpkgs_3",
|
||||||
"spicetify": "spicetify"
|
"spicetify": "spicetify",
|
||||||
|
"superfile": "superfile"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"spicetify": {
|
"spicetify": {
|
||||||
@@ -310,11 +379,11 @@
|
|||||||
"systems": "systems_2"
|
"systems": "systems_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1787460061,
|
"lastModified": 1789291406,
|
||||||
"narHash": "sha256-r2FJY01jRVhrZIKPdhQ3QFYsAz3wjilWTMSSH7VMOeo=",
|
"narHash": "sha256-lfZ7yAaTZMuAzOSLjJ7ivrKIFk0E11koWTVgkWSXwuE=",
|
||||||
"owner": "Gerg-L",
|
"owner": "Gerg-L",
|
||||||
"repo": "spicetify-nix",
|
"repo": "spicetify-nix",
|
||||||
"rev": "a8adfd6f9f341dd586d5c06dda3bbfa21c6014e7",
|
"rev": "09eed5c95105aada9ffabd4c7eb6b345dc4ba66f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -323,6 +392,29 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"superfile": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-compat": "flake-compat",
|
||||||
|
"flake-utils": "flake-utils",
|
||||||
|
"gomod2nix": "gomod2nix",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1790585942,
|
||||||
|
"narHash": "sha256-SKlHQNsm1i4iVLtQNkaRZrxxey/x82PoVN/Fw7j0UJY=",
|
||||||
|
"owner": "yorukot",
|
||||||
|
"repo": "superfile",
|
||||||
|
"rev": "66fe169b87021f7424522ed5aadd711c5676601e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "yorukot",
|
||||||
|
"repo": "superfile",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"systems": {
|
"systems": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681028828,
|
"lastModified": 1681028828,
|
||||||
@@ -353,6 +445,21 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"systems_3": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681028828,
|
||||||
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"treefmt-nix": {
|
"treefmt-nix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -361,11 +468,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1785945821,
|
"lastModified": 1786901030,
|
||||||
"narHash": "sha256-NLSyTCW4K4ofhNBllt3omPasm6QpralXH1DBZOc91Dw=",
|
"narHash": "sha256-WSFCsDSE5ffgD2MqzkM2CYjeFiKhRF/dJUN8uedb6YE=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "treefmt-nix",
|
"repo": "treefmt-nix",
|
||||||
"rev": "ae7910970dddc408fe6ab1c8e4b277bb21d72dc0",
|
"rev": "27b3b12a8e6375f28ebe122f07d230ca5459bbfa",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -14,26 +14,45 @@
|
|||||||
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
|
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
|
||||||
nixcord.url = "github:kaylorben/nixcord";
|
nixcord.url = "github:kaylorben/nixcord";
|
||||||
hyprmod = {
|
hyprmod = {
|
||||||
url = "github:BlueManCZ/hyprmod";
|
url = "github:BlueManCZ/hyprmod";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
spicetify.url = "github:Gerg-L/spicetify-nix";
|
spicetify.url = "github:Gerg-L/spicetify-nix";
|
||||||
|
superfile = {
|
||||||
|
url = "github:yorukot/superfile";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, home-manager, agenix, chaotic, nixcord, hyprmod, spicetify, ... }:
|
outputs =
|
||||||
|
{
|
||||||
|
self,
|
||||||
|
nixpkgs,
|
||||||
|
home-manager,
|
||||||
|
agenix,
|
||||||
|
chaotic,
|
||||||
|
nixcord,
|
||||||
|
hyprmod,
|
||||||
|
spicetify,
|
||||||
|
superfile,
|
||||||
|
...
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
mkHome = system: home-manager.lib.homeManagerConfiguration {
|
mkHome =
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
system:
|
||||||
extraSpecialArgs = { inherit hyprmod spicetify; };
|
home-manager.lib.homeManagerConfiguration {
|
||||||
modules = [
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
agenix.homeManagerModules.age
|
extraSpecialArgs = { inherit hyprmod spicetify superfile; };
|
||||||
nixcord.homeModules.nixcord
|
modules = [
|
||||||
./home.nix
|
agenix.homeManagerModules.age
|
||||||
chaotic.homeModules.default
|
nixcord.homeModules.nixcord
|
||||||
spicetify.homeManagerModules.default
|
./home.nix
|
||||||
];
|
chaotic.homeModules.default
|
||||||
};
|
spicetify.homeManagerModules.default
|
||||||
in {
|
];
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
homeConfigurations = {
|
homeConfigurations = {
|
||||||
mac = mkHome "aarch64-darwin";
|
mac = mkHome "aarch64-darwin";
|
||||||
linux = mkHome "x86_64-linux";
|
linux = mkHome "x86_64-linux";
|
||||||
|
|||||||
@@ -1,4 +1,12 @@
|
|||||||
{ config, pkgs, lib, hyprmod, spicetify, ... }:
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
hyprmod,
|
||||||
|
spicetify,
|
||||||
|
superfile,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
nix.package = pkgs.nix;
|
nix.package = pkgs.nix;
|
||||||
@@ -6,7 +14,8 @@
|
|||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
home.username = "johannes";
|
home.username = "johannes";
|
||||||
home.homeDirectory = if pkgs.stdenv.hostPlatform.isDarwin then "/Users/johannes" else "/home/johannes";
|
home.homeDirectory =
|
||||||
|
if pkgs.stdenv.hostPlatform.isDarwin then "/Users/johannes" else "/home/johannes";
|
||||||
|
|
||||||
home.stateVersion = "24.05";
|
home.stateVersion = "24.05";
|
||||||
|
|
||||||
@@ -21,64 +30,74 @@
|
|||||||
hyprcursor.size = 24;
|
hyprcursor.size = 24;
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages =
|
||||||
git
|
with pkgs;
|
||||||
curl
|
[
|
||||||
wget
|
git
|
||||||
neovim
|
curl
|
||||||
ripgrep
|
wget
|
||||||
fd
|
neovim
|
||||||
nushell
|
ripgrep
|
||||||
starship
|
fd
|
||||||
zoxide
|
nushell
|
||||||
lazygit
|
starship
|
||||||
fastfetch
|
zoxide
|
||||||
eza
|
lazygit
|
||||||
atuin
|
(callPackage ./pkgs/but.nix { })
|
||||||
zellij
|
fastfetch
|
||||||
herdr
|
eza
|
||||||
unp
|
atuin
|
||||||
carapace
|
zellij
|
||||||
bun
|
herdr
|
||||||
nodejs
|
unp
|
||||||
pipx
|
carapace
|
||||||
python3
|
bun
|
||||||
uv
|
nodejs
|
||||||
rustup
|
pipx
|
||||||
cargo-binstall
|
python3
|
||||||
mise
|
uv
|
||||||
television
|
rustup
|
||||||
pay-respects
|
cargo-binstall
|
||||||
sops
|
television
|
||||||
age
|
pay-respects
|
||||||
devenv
|
sops
|
||||||
pi-coding-agent
|
age
|
||||||
yazi
|
devenv
|
||||||
unzip
|
pi-coding-agent
|
||||||
obsidian
|
unzip
|
||||||
htop
|
obsidian
|
||||||
btop
|
htop
|
||||||
mpv
|
btop
|
||||||
jellytui
|
mpv
|
||||||
] ++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [
|
jellytui
|
||||||
owncloud-client
|
nixd
|
||||||
wl-clipboard
|
nixfmt
|
||||||
cliphist
|
superfile.packages.${stdenv.hostPlatform.system}.default
|
||||||
hyprmod.packages.${pkgs.stdenv.hostPlatform.system}.default
|
tokei
|
||||||
librepods
|
]
|
||||||
];
|
++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [
|
||||||
|
owncloud-client
|
||||||
|
wl-clipboard
|
||||||
|
cliphist
|
||||||
|
hyprmod.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||||
|
librepods
|
||||||
|
];
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
".config" = {
|
".config" = {
|
||||||
source = ./config;
|
source = ./config;
|
||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
".config/yazi".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/yazi";
|
".config/zed".source =
|
||||||
".config/zed".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/zed";
|
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/zed";
|
||||||
".config/btop".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/btop";
|
".config/btop".source =
|
||||||
".config/lazygit".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/lazygit";
|
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/btop";
|
||||||
".config/hypr".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/hypr";
|
".config/lazygit".source =
|
||||||
".config/quickshell".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/quickshell";
|
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/lazygit";
|
||||||
|
".config/hypr".source =
|
||||||
|
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/hypr";
|
||||||
|
".config/quickshell".source =
|
||||||
|
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/mutable_config/quickshell";
|
||||||
".local/share" = {
|
".local/share" = {
|
||||||
source = ./local_share;
|
source = ./local_share;
|
||||||
recursive = true;
|
recursive = true;
|
||||||
@@ -91,8 +110,10 @@
|
|||||||
source = ./agents;
|
source = ./agents;
|
||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
".pi/agent/settings.json".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/pi/agent/settings.json";
|
".pi/agent/settings.json".source =
|
||||||
".pi/extensions".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/pi/extensions";
|
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/pi/agent/settings.json";
|
||||||
|
".pi/extensions".source =
|
||||||
|
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/pi/extensions";
|
||||||
};
|
};
|
||||||
|
|
||||||
age.identityPaths = [ "${config.home.homeDirectory}/.config/age/keys.txt" ];
|
age.identityPaths = [ "${config.home.homeDirectory}/.config/age/keys.txt" ];
|
||||||
@@ -112,15 +133,15 @@
|
|||||||
background-blur = true
|
background-blur = true
|
||||||
auto-update = check
|
auto-update = check
|
||||||
macos-option-as-alt = left
|
macos-option-as-alt = left
|
||||||
shell-integration = nushell
|
|
||||||
shell-integration-features = ssh-env,ssh-terminfo
|
shell-integration-features = ssh-env,ssh-terminfo
|
||||||
'' + lib.optionalString pkgs.stdenv.hostPlatform.isLinux ''
|
''
|
||||||
|
+ lib.optionalString pkgs.stdenv.hostPlatform.isLinux ''
|
||||||
command = nu
|
command = nu
|
||||||
'';
|
'';
|
||||||
|
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
home.activation.cloneNvim = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
home.activation.cloneNvim = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||||
if [ ! -d "$HOME/.config/nvim" ]; then
|
if [ ! -d "$HOME/.config/nvim" ]; then
|
||||||
${pkgs.git}/bin/git clone https://github.com/jokresner/nvim "$HOME/.config/nvim"
|
${pkgs.git}/bin/git clone https://github.com/jokresner/nvim "$HOME/.config/nvim"
|
||||||
fi
|
fi
|
||||||
@@ -137,30 +158,30 @@
|
|||||||
|
|
||||||
plugins = {
|
plugins = {
|
||||||
# --- UI & Experience ---
|
# --- UI & Experience ---
|
||||||
betterFolders.enable = true; # Better folder icons and controls
|
betterFolders.enable = true; # Better folder icons and controls
|
||||||
betterRoleContext.enable = true; # Show roles in more places
|
betterRoleContext.enable = true; # Show roles in more places
|
||||||
clearUrls.enable = true; # Remove tracking parameters from links
|
clearUrls.enable = true; # Remove tracking parameters from links
|
||||||
memberCount.enable = true; # Show server member count next to the server name
|
memberCount.enable = true; # Show server member count next to the server name
|
||||||
showHiddenThings.enable = true; # See hidden channels (read-only)
|
showHiddenThings.enable = true; # See hidden channels (read-only)
|
||||||
showMeYourName.enable = true; # Show original usernames next to nicknames
|
showMeYourName.enable = true; # Show original usernames next to nicknames
|
||||||
alwaysAnimate.enable = true; # Always animate channel icons
|
alwaysAnimate.enable = true; # Always animate channel icons
|
||||||
biggerStreamPreview.enable = true; # Bigger stream previews
|
biggerStreamPreview.enable = true; # Bigger stream previews
|
||||||
|
|
||||||
# --- Media & Embeds ---
|
# --- Media & Embeds ---
|
||||||
fixSpotifyEmbeds.enable = true; # Fix broken Spotify embeds
|
fixSpotifyEmbeds.enable = true; # Fix broken Spotify embeds
|
||||||
fixYoutubeEmbeds.enable = true; # Fix broken YouTube video embeds
|
fixYoutubeEmbeds.enable = true; # Fix broken YouTube video embeds
|
||||||
volumeBooster.enable = true; # Boost user volume past 200%
|
volumeBooster.enable = true; # Boost user volume past 200%
|
||||||
youtubeAdblock.enable = true; # Block ads inside YouTube embeds
|
youtubeAdblock.enable = true; # Block ads inside YouTube embeds
|
||||||
spotifyControls.enable = true; # Show Spotify controls
|
spotifyControls.enable = true; # Show Spotify controls
|
||||||
|
|
||||||
# --- System & Fixes ---
|
# --- System & Fixes ---
|
||||||
crashHandler.enable = true; # Prevent Discord from completely crashing
|
crashHandler.enable = true; # Prevent Discord from completely crashing
|
||||||
webScreenShareFixes.enable = pkgs.stdenv.hostPlatform.isLinux; # Essential for Wayland screen sharing
|
webScreenShareFixes.enable = pkgs.stdenv.hostPlatform.isLinux; # Essential for Wayland screen sharing
|
||||||
|
|
||||||
# --- Utility & Fun ---
|
# --- Utility & Fun ---
|
||||||
fakeNitro.enable = true; # Stream in high quality, use external emojis
|
fakeNitro.enable = true; # Stream in high quality, use external emojis
|
||||||
messageLogger.enable = true; # Keep deleted messages visible in your client locally
|
messageLogger.enable = true; # Keep deleted messages visible in your client locally
|
||||||
whoReacted.enable = true; # Show avatars of users who reacted to a message
|
whoReacted.enable = true; # Show avatars of users who reacted to a message
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
plugins/*
|
|
||||||
flavors/*
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
require("git"):setup()
|
|
||||||
require("starship"):setup()
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
[[plugin.deps]]
|
|
||||||
use = "yazi-rs/plugins:git"
|
|
||||||
rev = "9014ed2"
|
|
||||||
hash = "88e56a64b7ce7c4314427452343fef17"
|
|
||||||
|
|
||||||
[[plugin.deps]]
|
|
||||||
use = "ahkohd/eza-preview"
|
|
||||||
rev = "e8fb6c8"
|
|
||||||
hash = "c238595c801caa4f28553b9af8cf8804"
|
|
||||||
|
|
||||||
[[plugin.deps]]
|
|
||||||
use = "yazi-rs/plugins:smart-filter"
|
|
||||||
rev = "9014ed2"
|
|
||||||
hash = "d6f7351ea25a43c9b5f4315fa1e23935"
|
|
||||||
|
|
||||||
[[plugin.deps]]
|
|
||||||
use = "Rolv-Apneseth/starship"
|
|
||||||
rev = "159eaba"
|
|
||||||
hash = "7de446280b1ba8c49ffd86dbc24bbbe6"
|
|
||||||
|
|
||||||
[[flavor.deps]]
|
|
||||||
use = "yazi-rs/flavors:catppuccin-mocha"
|
|
||||||
rev = "1a5f787"
|
|
||||||
hash = "7dfe41c9c3d9be76da8a844263d0bbed"
|
|
||||||
|
|
||||||
[[flavor.deps]]
|
|
||||||
use = "yazi-rs/flavors:catppuccin-latte"
|
|
||||||
rev = "1a5f787"
|
|
||||||
hash = "b8f46853c27707115f25f3423a47bd38"
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
[flavor]
|
|
||||||
use = "catppuccin-mocha"
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
[mgr]
|
|
||||||
show_hidden = true
|
|
||||||
show_symlink = true
|
|
||||||
|
|
||||||
[preview]
|
|
||||||
wrap = "yes"
|
|
||||||
|
|
||||||
[[plugin.prepend_previewers]]
|
|
||||||
url = "*/"
|
|
||||||
run = "eza-preview"
|
|
||||||
|
|
||||||
[[mgr.prepend_keymap]]
|
|
||||||
on = "F"
|
|
||||||
run = "plugin smart-filter"
|
|
||||||
desc = "Smart filter"
|
|
||||||
@@ -1,12 +1,11 @@
|
|||||||
{
|
{
|
||||||
"lastChangelogVersion": "0.84.0",
|
"lastChangelogVersion": "0.99.1",
|
||||||
"defaultProvider": "antigravity",
|
"defaultProvider": "9Router",
|
||||||
"defaultModel": "gemini-3.1-pro",
|
"defaultModel": "cc/claude-sonnet-5",
|
||||||
"extensions": [
|
"extensions": [
|
||||||
"../extensions"
|
"../extensions"
|
||||||
],
|
],
|
||||||
"packages": [
|
"packages": [
|
||||||
"npm:pi-antigravity",
|
|
||||||
"npm:pi-catppuccin-tui",
|
"npm:pi-catppuccin-tui",
|
||||||
"npm:pi-lens",
|
"npm:pi-lens",
|
||||||
"npm:pi-web-access",
|
"npm:pi-web-access",
|
||||||
@@ -18,7 +17,8 @@
|
|||||||
"npm:@juanibiapina/pi-powerbar",
|
"npm:@juanibiapina/pi-powerbar",
|
||||||
"npm:context-mode",
|
"npm:context-mode",
|
||||||
"npm:@ff-labs/pi-fff",
|
"npm:@ff-labs/pi-fff",
|
||||||
"npm:@juicesharp/rpiv-ask-user-question"
|
"npm:@juicesharp/rpiv-ask-user-question",
|
||||||
|
"npm:@haoyiyin/9router"
|
||||||
],
|
],
|
||||||
"theme": "catppuccin-tui-mocha",
|
"theme": "catppuccin-tui-mocha",
|
||||||
"hideThinkingBlock": true,
|
"hideThinkingBlock": true,
|
||||||
|
|||||||
@@ -0,0 +1,70 @@
|
|||||||
|
# GitButler CLI (`but`). nixpkgs `gitbutler` is GUI-only and builds from source.
|
||||||
|
# ponytail: pinned by hand; bump `version`, `build`, and both hashes (see releases JSON at
|
||||||
|
# https://app.gitbutler.com/releases/version/<version>) to upgrade.
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenvNoCC,
|
||||||
|
fetchurl,
|
||||||
|
autoPatchelfHook,
|
||||||
|
dbus,
|
||||||
|
zlib,
|
||||||
|
stdenv,
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
version = "0.22.3";
|
||||||
|
build = "3234";
|
||||||
|
base = "https://releases.gitbutler.com/releases/release/${version}-${build}";
|
||||||
|
isDarwin = stdenvNoCC.hostPlatform.isDarwin;
|
||||||
|
src =
|
||||||
|
if isDarwin then
|
||||||
|
fetchurl {
|
||||||
|
url = "${base}/macos/aarch64/GitButler.app.tar.gz";
|
||||||
|
hash = "sha256-7fD2gMEC/4b67h2RnqKmFm/L5uOpiYZwbJGjju1mL3Q=";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
fetchurl {
|
||||||
|
url = "${base}/linux/x86_64/but";
|
||||||
|
hash = "sha256-P09UOmzNkxzmyGxIQFjb5eKUOVl9AB9qCpwo2eUz6hg=";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
stdenvNoCC.mkDerivation {
|
||||||
|
pname = "but";
|
||||||
|
inherit version src;
|
||||||
|
|
||||||
|
sourceRoot = ".";
|
||||||
|
unpackPhase = if isDarwin then "tar xzf $src" else "true";
|
||||||
|
|
||||||
|
nativeBuildInputs = lib.optional (!isDarwin) autoPatchelfHook;
|
||||||
|
buildInputs = lib.optionals (!isDarwin) [
|
||||||
|
dbus
|
||||||
|
zlib
|
||||||
|
stdenv.cc.cc.lib
|
||||||
|
];
|
||||||
|
|
||||||
|
# Re-signing/stripping would break the app's code signature on macOS.
|
||||||
|
dontFixup = isDarwin;
|
||||||
|
|
||||||
|
installPhase =
|
||||||
|
if isDarwin then
|
||||||
|
''
|
||||||
|
mkdir -p $out/Applications $out/bin
|
||||||
|
cp -r GitButler.app $out/Applications/
|
||||||
|
# the app binary acts as the CLI when invoked as `but`
|
||||||
|
ln -s $out/Applications/GitButler.app/Contents/MacOS/gitbutler-tauri $out/bin/but
|
||||||
|
''
|
||||||
|
else
|
||||||
|
''
|
||||||
|
install -Dm755 $src $out/bin/but
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "GitButler CLI";
|
||||||
|
homepage = "https://gitbutler.com";
|
||||||
|
license = lib.licenses.fsl11Mit;
|
||||||
|
mainProgram = "but";
|
||||||
|
platforms = [
|
||||||
|
"aarch64-darwin"
|
||||||
|
"x86_64-linux"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in new issue
Block a user