updates
This commit is contained in:
parent
e4da7e87fe
commit
ed77ae6e6b
18 changed files with 800 additions and 583 deletions
|
|
@ -1 +0,0 @@
|
|||
Ptmux;_Gd=a,a=d,q=2\\
|
||||
1113
flake.lock
generated
1113
flake.lock
generated
File diff suppressed because it is too large
Load diff
20
flake.nix
20
flake.nix
|
|
@ -21,10 +21,10 @@
|
|||
|
||||
emacs-overlay.url = "github:nix-community/emacs-overlay";
|
||||
|
||||
nixpkgs-wayland.url = "github:nix-community/nixpkgs-wayland";
|
||||
awsvpnclient.url = "github:ymatsiuk/awsvpnclient";
|
||||
|
||||
resume.url = "git+https://git.zoeys.cloud/zoey/resume";
|
||||
anyrun.url = "github:anyrun-org/anyrun/a808e6d801d9e216a0c077a003fba22cfc3a1990";
|
||||
anyrun.url = "github:anyrun-org/anyrun";
|
||||
anyrun.inputs.nixpkgs.follows = "nixpkgs";
|
||||
ags.url = "github:Aylur/ags/v1";
|
||||
ags.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
blog.url = "git+https://git.zoeys.cloud/zoey/web";
|
||||
|
||||
lanzaboote = {
|
||||
url = "github:nix-community/lanzaboote/v0.3.0";
|
||||
url = "github:nix-community/lanzaboote/v0.4.1";
|
||||
|
||||
# Optional but recommended to limit the size of your system closure.
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
@ -120,6 +120,8 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
g2claude.url = "git+https://git.zoeys.cloud/zoey/g2claude.git";
|
||||
|
||||
rust-overlay = {
|
||||
url = "github:oxalica/rust-overlay";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
@ -135,7 +137,17 @@
|
|||
inherit inputs;
|
||||
src = ./.;
|
||||
|
||||
overlays = [inputs.rust-overlay.overlays.default];
|
||||
overlays = [
|
||||
inputs.rust-overlay.overlays.default
|
||||
(final: prev: {
|
||||
awsvpnclient =
|
||||
inputs
|
||||
.awsvpnclient
|
||||
.packages
|
||||
."x86_64-linux"
|
||||
.awsvpnclient;
|
||||
})
|
||||
];
|
||||
|
||||
snowfall = {
|
||||
namespace = "custom";
|
||||
|
|
|
|||
|
|
@ -83,11 +83,15 @@
|
|||
pkgs.obs-studio
|
||||
|
||||
pkgs.ungoogled-chromium
|
||||
pkgs.uutils-coreutils-noprefix
|
||||
pkgs.yazi
|
||||
|
||||
pkgs.thunderbird
|
||||
|
||||
pkgs.custom.enc
|
||||
|
||||
pkgs.nix-tree
|
||||
|
||||
pkgs.mongodb-compass
|
||||
pkgs.postman
|
||||
pkgs.mosh
|
||||
|
|
@ -108,6 +112,8 @@
|
|||
pkgs.nix-output-monitor
|
||||
pkgs.fastfetch
|
||||
|
||||
# inputs.g2claude.packages.${pkgs.system}.default
|
||||
|
||||
pkgs.signal-desktop
|
||||
|
||||
pkgs.nh
|
||||
|
|
@ -125,7 +131,6 @@
|
|||
lib.custom.pkgs-unstable.rmpc
|
||||
|
||||
pkgs.custom.zen-browser
|
||||
|
||||
pkgs.mpc-cli
|
||||
|
||||
pkgs.openvpn
|
||||
|
|
@ -196,7 +201,7 @@
|
|||
WantedBy = ["default.target"];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${inputs.kb-gui.packages.${pkgs.system}.kb}/bin/kb";
|
||||
ExecStart = "${inputs.kb-gui.packages.${pkgs.system}.default}/bin/kb";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,19 +21,19 @@ with lib.custom; let
|
|||
ripgrep
|
||||
util-linux
|
||||
gtksourceview
|
||||
webkitgtk
|
||||
webkitgtk_4_1
|
||||
brightnessctl
|
||||
gvfs
|
||||
accountsservice
|
||||
swww
|
||||
gnome.gnome-control-center
|
||||
gnome.nautilus
|
||||
gnome.totem
|
||||
gnome-control-center
|
||||
nautilus
|
||||
totem
|
||||
loupe
|
||||
];
|
||||
|
||||
guiDeps = with pkgs; [
|
||||
gnome.gnome-control-center
|
||||
gnome-control-center
|
||||
overskride
|
||||
wlogout
|
||||
];
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
"lazyvim.plugins.extras.lang.java",
|
||||
"lazyvim.plugins.extras.lang.toml",
|
||||
"lazyvim.plugins.extras.lang.json",
|
||||
"lazyvim.plugins.extras.lang.clangd",
|
||||
"lazyvim.plugins.extras.lang.markdown",
|
||||
"lazyvim.plugins.extras.lang.nix",
|
||||
"lazyvim.plugins.extras.lang.sql",
|
||||
|
|
@ -26,8 +27,7 @@
|
|||
"lazyvim.plugins.extras.util.dot",
|
||||
"lazyvim.plugins.extras.util.mini-hipatterns",
|
||||
"lazyvim.plugins.extras.coding.luasnip",
|
||||
"lazyvim.plugins.extras.coding.blink",
|
||||
"lazyvim.plugins.extras.ai.supermaven"
|
||||
"lazyvim.plugins.extras.coding.blink"
|
||||
],
|
||||
"news": {
|
||||
"NEWS.md": "6520"
|
||||
|
|
|
|||
|
|
@ -6,3 +6,6 @@ if vim.g.neovide then
|
|||
-- Put anything you want to happen only in Neovide here
|
||||
vim.o.guifont = "Iosevka,Noto_Color_Emoji:h14:b"
|
||||
end
|
||||
|
||||
-- in this case.
|
||||
-- vim.g.lazyvim_blink_main = true
|
||||
|
|
|
|||
|
|
@ -6,6 +6,12 @@ return {
|
|||
news = { lazyvim = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
"catppuccin",
|
||||
opts = { transparent_background = true, integrations = {
|
||||
blink_cmp = true,
|
||||
} },
|
||||
},
|
||||
"f-person/git-blame.nvim",
|
||||
{ "nvim-lualine/lualine.nvim", enabled = false },
|
||||
{ "echasnovski/mini.statusline", opts = {} },
|
||||
|
|
@ -25,7 +31,7 @@ return {
|
|||
{
|
||||
"saghen/blink.cmp",
|
||||
opts = {
|
||||
nerd_font_variant = "normal",
|
||||
nerd_font_variant = "mono",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -38,6 +44,20 @@ return {
|
|||
"sphamba/smear-cursor.nvim",
|
||||
opts = {},
|
||||
},
|
||||
{
|
||||
"folke/snacks.nvim",
|
||||
priority = 1000,
|
||||
lazy = false,
|
||||
keys = {
|
||||
{
|
||||
"<leader>z",
|
||||
function()
|
||||
Snacks.zen()
|
||||
end,
|
||||
desc = "Toggle Zen Mode",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"lukas-reineke/indent-blankline.nvim",
|
||||
main = "ibl",
|
||||
|
|
|
|||
|
|
@ -0,0 +1,43 @@
|
|||
return {
|
||||
"sethen/line-number-change-mode.nvim",
|
||||
config = function()
|
||||
require("catppuccin").setup({
|
||||
flavour = "mocha",
|
||||
})
|
||||
local palette = require("catppuccin.palettes").get_palette("mocha")
|
||||
|
||||
if palette == nil then
|
||||
return nil
|
||||
end
|
||||
|
||||
require("line-number-change-mode").setup({
|
||||
mode = {
|
||||
i = {
|
||||
bg = palette.green,
|
||||
fg = palette.mantle,
|
||||
bold = true,
|
||||
},
|
||||
n = {
|
||||
bg = palette.blue,
|
||||
fg = palette.mantle,
|
||||
bold = true,
|
||||
},
|
||||
R = {
|
||||
bg = palette.maroon,
|
||||
fg = palette.mantle,
|
||||
bold = true,
|
||||
},
|
||||
v = {
|
||||
bg = palette.mauve,
|
||||
fg = palette.mantle,
|
||||
bold = true,
|
||||
},
|
||||
V = {
|
||||
bg = palette.mauve,
|
||||
fg = palette.mantle,
|
||||
bold = true,
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
return {
|
||||
"echasnovski/mini.ai",
|
||||
version = false,
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
return {
|
||||
"marcussimonsen/let-it-snow.nvim",
|
||||
cmd = "LetItSnow", -- Wait with loading until command is run
|
||||
opts = {},
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
return {
|
||||
"gbprod/substitute.nvim",
|
||||
opts = {
|
||||
-- your configuration comes here
|
||||
-- or leave it empty to use the default settings
|
||||
-- refer to the configuration section below
|
||||
},
|
||||
}
|
||||
|
|
@ -56,7 +56,7 @@ in {
|
|||
lua-language-server
|
||||
nixd
|
||||
(pkgs.rust-bin.selectLatestNightlyWith
|
||||
(toolchain: toolchain.minimal))
|
||||
(toolchain: toolchain.default))
|
||||
rust-analyzer
|
||||
vscode-langservers-extracted
|
||||
nodePackages.vscode-json-languageserver
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ in {
|
|||
SSH_AUTH_SOCK = "/run/user/1000/keyring/ssh";
|
||||
FLAKE = "/home/zoey/nixos/";
|
||||
};
|
||||
enableAutosuggestions = true;
|
||||
# zprof.enable = true;
|
||||
history = {
|
||||
save = 2137;
|
||||
size = 2137;
|
||||
|
|
@ -39,10 +39,9 @@ in {
|
|||
"${zsh-history}/share/zsh/init.zsh"
|
||||
"${zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh"
|
||||
"${zsh-f-sy-h}/share/zsh/site-functions/F-Sy-H.plugin.zsh"
|
||||
# "${zsh-autocomplete}/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh"
|
||||
"${zsh-you-should-use}/share/zsh/plugins/you-should-use/you-should-use.plugin.zsh"
|
||||
"${zsh-navigation-tools}/share/zsh/site-functions/zsh-navigation-tools.plugin.zsh"
|
||||
"${oh-my-zsh}/share/oh-my-zsh/plugins/colored-man-pages/colored-man-pages.plugin.zsh"
|
||||
"${zsh-autosuggestions}/share/zsh-autosuggestions/zsh-autosuggestions.zsh"
|
||||
];
|
||||
|
||||
source = map (source: "source ${source}") sources;
|
||||
|
|
@ -52,6 +51,7 @@ in {
|
|||
]
|
||||
++ source);
|
||||
in ''
|
||||
|
||||
${plugins}
|
||||
|
||||
export NIX_LD=$(nix eval --impure --raw --expr 'let pkgs = import <nixpkgs> {}; NIX_LD = pkgs.lib.fileContents "${pkgs.stdenv.cc}/nix-support/dynamic-linker"; in NIX_LD')
|
||||
|
|
@ -60,28 +60,13 @@ in {
|
|||
bindkey "^[[1;5D" backward-word
|
||||
'';
|
||||
|
||||
plugins = [
|
||||
{
|
||||
name = "zsh-tmux";
|
||||
file = "zsh-tmux.plugin.zsh";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "laggardkernel";
|
||||
repo = "zsh-tmux";
|
||||
rev = "v1.1.0";
|
||||
sha256 = "sha256-BB9L84HjUnV1OUIp2U2lHYHEg5q4p/TgqLcsCvInkC8=";
|
||||
};
|
||||
}
|
||||
{
|
||||
name = "zsh-autocomplete";
|
||||
file = "zsh-autocomplete.plugin.zsh";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "marlonrichert";
|
||||
repo = "zsh-autocomplete";
|
||||
rev = "008caaea55780dd2b55f119d6880c5b89e5e4bb2";
|
||||
sha256 = "sha256-jibIHwT/oVQUSxVrT0SGFSMu1N05szPyHZ4Qc7v6Ntc=";
|
||||
};
|
||||
}
|
||||
];
|
||||
# oh my zsh
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [
|
||||
"colored-man-pages"
|
||||
];
|
||||
};
|
||||
|
||||
dirHashes = {
|
||||
music = "$HOME/Music";
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ in {
|
|||
|
||||
"${mod},X,exec, ags --toggle-window \"dashboard\""
|
||||
"${mod},Print,exec,${lib.getExe pkgs.custom.sc}"
|
||||
"${mod},Shift&Print,exec,${lib.getExe pkgs.wf-recorder} -g \"$(${lib.getExe pkgs.slurp})\" -f out.mp4"
|
||||
"${mod},Shift&Print,exec,\"${lib.getExe pkgs.grim} -g ${lib.getExe pkgs.slurp} | wl-copy\""
|
||||
"${modshift},O,exec,wl-ocr"
|
||||
|
||||
"${mod},Period,exec, tofi-emoji"
|
||||
|
|
|
|||
|
|
@ -48,7 +48,9 @@ in {
|
|||
noto-fonts-cjk-sans
|
||||
noto-fonts-emoji
|
||||
jetbrains-mono
|
||||
(nerdfonts.override {fonts = ["Iosevka" "JetBrainsMono"];})
|
||||
nerd-fonts.iosevka
|
||||
nerd-fonts.zed-mono
|
||||
# (nerdfonts.override {fonts = ["ZedMono" "Iosevka"];})
|
||||
];
|
||||
|
||||
enableDefaultPackages = false;
|
||||
|
|
@ -57,11 +59,12 @@ in {
|
|||
fontconfig = {
|
||||
defaultFonts = {
|
||||
monospace = [
|
||||
"Iosevka Font Mono"
|
||||
# "ZedMono Nerd Font Mono"
|
||||
"Iosevka Nerd Font Mono"
|
||||
"Iosevka"
|
||||
"Noto Color Emoji"
|
||||
];
|
||||
sansSerif = ["Iosevka" "Noto Color Emoji"];
|
||||
sansSerif = ["Inter" "Noto Color Emoji"];
|
||||
serif = ["Noto Serif" "Noto Color Emoji"];
|
||||
emoji = ["Noto Color Emoji"];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,20 +1,3 @@
|
|||
# pname = "zen-browser-unwrapped";
|
||||
# version = "715b6df2fb8171336adc8712668a5e8458f7749b";
|
||||
#
|
||||
# src = fetchFromGitHub {
|
||||
# owner = "zen-browser";
|
||||
# repo = "desktop";
|
||||
# rev = "${version}";
|
||||
# leaveDotGit = true;
|
||||
# fetchSubmodules = true;
|
||||
# hash = "sha256-0+x2XoZyMdzP1beJvUSeM/QnFyQ+FSuGIatHh1mtBaw=";
|
||||
# };
|
||||
#
|
||||
# firefoxVersion = (lib.importJSON "${src}/surfer.json").version.version;
|
||||
# firefoxSrc = fetchurl {
|
||||
# url = "mirror://mozilla/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.xz";
|
||||
# hash = "sha256-XAMbVywdpyZnfi/5e2rVp+OyM4em/DljORy1YvgKXkg=";
|
||||
# };
|
||||
{
|
||||
buildNpmPackage,
|
||||
buildPackages,
|
||||
|
|
@ -170,13 +153,13 @@
|
|||
in
|
||||
buildStdenv.mkDerivation (finalAttrs: {
|
||||
pname = "zen-browser-unwrapped";
|
||||
version = "1.0.1-t.20";
|
||||
version = "1.0.2-b.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zen-browser";
|
||||
repo = "desktop";
|
||||
rev = "113a349b56e039a9a98e53a29f38b70c3a6a3ff6";
|
||||
hash = "sha256-XBncRNX28hiq953yr7j6seD/HLluzmqbtTncE6fDa30=";
|
||||
rev = "df4ea8794f957c8e409adef9b2c3325be710c626";
|
||||
hash = "sha256-vPe/hTJozJdCbq5GK87MGBh+Nybs8et+6ukm0Fdz3uA=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
|
@ -186,10 +169,10 @@ in
|
|||
# The Firefox version is specified by `zen-browser` in the `surfer.json` file.
|
||||
#
|
||||
# We need to manually set the version here to avoid IFD.
|
||||
firefoxVersion = "132.0.2";
|
||||
firefoxVersion = "133.0.3";
|
||||
firefoxSrc = fetchurl {
|
||||
url = "mirror://mozilla/firefox/releases/${finalAttrs.firefoxVersion}/source/firefox-${finalAttrs.firefoxVersion}.source.tar.xz";
|
||||
hash = "sha256-Mp4XZPS04T8R3PH9ezxtj4DlEui37Vv2X75EdJwmEOk=";
|
||||
hash = "sha256-8TSlQgIAuwOrRg+dKGdQfA7bIiznP69AZM2+oCoKyhs=";
|
||||
};
|
||||
|
||||
SURFER_COMPAT = generic;
|
||||
|
|
@ -305,8 +288,6 @@ in
|
|||
"--with-wasi-sysroot=${wasiSysRoot}"
|
||||
"--host=${buildStdenv.buildPlatform.config}"
|
||||
"--target=${buildStdenv.hostPlatform.config}"
|
||||
]
|
||||
++ [
|
||||
(lib.enableFeature alsaSupport "alsa")
|
||||
(lib.enableFeature ffmpegSupport "ffmpeg")
|
||||
(lib.enableFeature geolocationSupport "necko-wifi")
|
||||
|
|
@ -320,13 +301,39 @@ in
|
|||
# of RAM, and the 32-bit memory space cannot handle that linking
|
||||
(lib.enableFeature (!debugBuild && !stdenv.hostPlatform.is32bit) "release")
|
||||
(lib.enableFeature enableDebugSymbols "debug-symbols")
|
||||
];
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.isAarch "--disable-wasm-avx";
|
||||
|
||||
configureScript = writeShellScript "configureMozconfig" ''
|
||||
for flag in $@; do
|
||||
echo "ac_add_options $flag" >> mozconfig
|
||||
done
|
||||
'';
|
||||
configureScript = writeShellScript "configureMozconfig" (
|
||||
(lib.optionalString stdenv.hostPlatform.isAarch ''
|
||||
echo "ac_add_options --with-libclang-path=/usr/lib64" >> ./configs/linux/mozconfig
|
||||
|
||||
# linux mozconfig
|
||||
sed -i 's/x86-\(64\|64-v3\)/native/g' ./configs/linux/mozconfig
|
||||
sed -i 's/x86_64-pc-linux/aarch64-linux-gnu/g' ./configs/linux/mozconfig
|
||||
|
||||
# eme/widevine must be disabled on arm64 (thx google)
|
||||
sed -i '/--enable-eme/s/^/# /' ./configs/common/mozconfig
|
||||
sed -i 's/-msse3//g' ./configs/linux/mozconfig
|
||||
sed -i 's/-mssse3//g' ./configs/linux/mozconfig
|
||||
sed -i 's/-msse4.1//g' ./configs/linux/mozconfig
|
||||
sed -i 's/-msse4.2//g' ./configs/linux/mozconfig
|
||||
sed -i 's/-mavx2//g' ./configs/linux/mozconfig
|
||||
sed -i 's/-mavx//g' ./configs/linux/mozconfig
|
||||
sed -i 's/-mfma//g' ./configs/linux/mozconfig
|
||||
sed -i 's/-maes//g' ./configs/linux/mozconfig
|
||||
sed -i 's/-mpopcnt//g' ./configs/linux/mozconfig
|
||||
sed -i 's/-mpclmul//g' ./configs/linux/mozconfig
|
||||
sed -i 's/+avx2//g' ./configs/linux/mozconfig
|
||||
sed -i 's/+sse4.1//g' ./configs/linux/mozconfig
|
||||
|
||||
'')
|
||||
+ ''
|
||||
for flag in $@; do
|
||||
echo "ac_add_options $flag" >> mozconfig
|
||||
done
|
||||
''
|
||||
);
|
||||
|
||||
# To the person reading this wondering what is going on here, this is what
|
||||
# happens when a build process relies on Git. Normally you would use `fetchgit`
|
||||
|
|
@ -339,22 +346,9 @@ in
|
|||
export HOME="$TMPDIR"
|
||||
git config --global user.email "nixbld@localhost"
|
||||
git config --global user.name "nixbld"
|
||||
|
||||
# Initialize git repo and handle submodules properly
|
||||
git init
|
||||
git config --global init.defaultBranch main
|
||||
|
||||
# Force add all files including submodules
|
||||
git add -A -f
|
||||
|
||||
# Initialize and update submodules if they exist
|
||||
if [ -f .gitmodules ]; then
|
||||
git submodule init
|
||||
git submodule update --init --recursive
|
||||
fi
|
||||
|
||||
# Commit all changes including submodule state
|
||||
git commit -m 'nixpkgs' -a --allow-empty
|
||||
git add --all
|
||||
git commit -m 'nixpkgs'
|
||||
|
||||
export LLVM_PROFDATA=llvm-profdata
|
||||
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system
|
||||
|
|
@ -362,7 +356,7 @@ in
|
|||
export WASM_CXX=${wasi32.stdenv.cc}/bin/${wasi32.stdenv.cc.targetPrefix}c++
|
||||
|
||||
export ZEN_RELEASE=1
|
||||
surfer ci --brand alpha --display-version ${finalAttrs.version}
|
||||
surfer ci --brand beta --display-version ${finalAttrs.version}
|
||||
|
||||
install -D ${finalAttrs.firefoxSrc} .surfer/engine/firefox-${finalAttrs.firefoxVersion}.source.tar.xz
|
||||
surfer download
|
||||
|
|
@ -408,7 +402,10 @@ in
|
|||
matthewpi
|
||||
titaniumtown
|
||||
];
|
||||
platforms = ["x86_64-linux"];
|
||||
platforms = [
|
||||
"aarch64-linux"
|
||||
"x86_64-linux"
|
||||
];
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@
|
|||
hardware.audio.enable = true;
|
||||
hardware.nvidia.enable = true;
|
||||
hardware.keyboard.qmk.enable = true;
|
||||
|
||||
programs.nix-ld.enable = true;
|
||||
|
||||
programs.steam.enable = true;
|
||||
|
|
@ -94,7 +93,6 @@
|
|||
time.timeZone = "America/Detroit";
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.BeatSaberModManager
|
||||
pkgs.sbctl
|
||||
pkgs.vesktop
|
||||
pkgs.mangohud
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue